Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c181' (ED25519) to the list of known hosts. Running: /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.stg.fedoraproject.org/backend/get-build-task/2913758-fedora-36-x86_64 --chroot fedora-36-x86_64 --detached Version: 0.66 PID: 40283 Logging PID: 40284 Task: {'appstream': False, 'background': False, 'build_id': 2913758, 'buildroot_pkgs': [], 'chroot': 'fedora-36-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': '230209b08d332ac3ca93170b4e217f3d02b9bb79', 'git_repo': 'https://copr-dist-git-dev.fedorainfracloud.org/git/frostyx/module-testmodulev2-beakertest-20230516203928/perl-List-Compare', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'perl-List-Compare', 'package_version': '0.55-8', 'project_dirname': 'module-testmodulev2-beakertest-20230516203928', 'project_name': 'module-testmodulev2-beakertest-20230516203928', 'project_owner': 'frostyx', 'repos': [{'baseurl': 'https://download.copr-dev.fedorainfracloud.org/results/frostyx/module-testmodulev2-beakertest-20230516203928/fedora-36-x86_64/', 'id': 'copr_base', 'name': 'Copr repository'}], 'sandbox': 'frostyx/module-testmodulev2-beakertest-20230516203928--frostyx', 'source_json': {}, 'source_type': None, 'submitter': 'frostyx', 'tags': [], 'task_id': '2913758-fedora-36-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git-dev.fedorainfracloud.org/git/frostyx/module-testmodulev2-beakertest-20230516203928/perl-List-Compare /var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git-dev.fedorainfracloud.org/git/frostyx/module-testmodulev2-beakertest-20230516203928/perl-List-Compare', '/var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare'... Running: git switch --detach 230209b08d332ac3ca93170b4e217f3d02b9bb79 cmd: ['git', 'switch', '--detach', '230209b08d332ac3ca93170b4e217f3d02b9bb79'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare rc: 0 stdout: stderr: HEAD is now at 230209b Initial setup of the repo Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare rc: 1 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD ERROR: Exactly one spec file expected in /var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare/. directory, 0 found Traceback (most recent call last): File "/usr/bin/copr-rpmbuild", line 262, in build_rpm distgit.produce_sources() File "/usr/lib/python3.11/site-packages/copr_rpmbuild/providers/distgit.py", line 36, in produce_sources helpers.run_cmd(["copr-distgit-client", "sources"], cwd=self.clone_to) File "/usr/lib/python3.11/site-packages/copr_rpmbuild/helpers.py", line 76, in run_cmd raise RuntimeError(result.stderr) RuntimeError: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD ERROR: Exactly one spec file expected in /var/lib/copr-rpmbuild/workspace/workdir-hatpgafq/perl-List-Compare/. directory, 0 found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/copr-rpmbuild", line 134, in main action(args, config) File "/usr/bin/copr-rpmbuild", line 269, in build_rpm builder.archive_configs() ^^^^^^^ UnboundLocalError: cannot access local variable 'builder' where it is not associated with a value