You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --build-id 89759 --chroot openeuler-22.03_LTS_SP1-x86_64 Version: 0.68 PID: 14 Logging PID: 15 Task: {'appstream': False, 'background': True, 'build_id': 89759, 'buildroot_pkgs': [], 'chroot': 'openeuler-22.03_LTS_SP1-x86_64', 'enable_net': True, 'fedora_review': False, 'git_hash': '23223046b1b7235f76d52b8865bdd30f12fc7404', 'git_repo': 'http://copr-distgit:5001/git/mywaaagh_admin/pypi/python-afmparser', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-afmparser', 'package_version': '1.0.0-1', 'project_dirname': 'pypi', 'project_name': 'pypi', 'project_owner': 'mywaaagh_admin', 'repos': [{'baseurl': 'https://eur.openeuler.openatom.cn/results/mywaaagh_admin/pypi/openeuler-22.03_LTS_SP1-x86_64/', 'id': 'copr_base', 'name': 'Copr repository'}], 'sandbox': 'mywaaagh_admin/pypi--mywaaagh_admin', 'source_json': {}, 'source_type': None, 'submitter': 'mywaaagh_admin', 'tags': [], 'task_id': '89759-openeuler-22.03_LTS_SP1-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone http://copr-distgit:5001/git/mywaaagh_admin/pypi/python-afmparser /var/lib/copr-rpmbuild/workspace/workdir-qr9gqu7a/python-afmparser --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'http://copr-distgit:5001/git/mywaaagh_admin/pypi/python-afmparser', '/var/lib/copr-rpmbuild/workspace/workdir-qr9gqu7a/python-afmparser', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-qr9gqu7a/python-afmparser'... Running: git checkout 23223046b1b7235f76d52b8865bdd30f12fc7404 -- cmd: ['git', 'checkout', '23223046b1b7235f76d52b8865bdd30f12fc7404', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-qr9gqu7a/python-afmparser rc: 0 stdout: stderr: Note: switching to '23223046b1b7235f76d52b8865bdd30f12fc7404'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 2322304 automatic import of python-afmparser Running: copr-distgit-client sources cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-qr9gqu7a/python-afmparser 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-qr9gqu7a/python-afmparser/. directory, 0 found Traceback (most recent call last): File "/usr/bin/copr-rpmbuild", line 265, in build_rpm distgit.produce_sources() File "/usr/lib/python3.9/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.9/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-qr9gqu7a/python-afmparser/. directory, 0 found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/copr-rpmbuild", line 137, in main action(args, config) File "/usr/bin/copr-rpmbuild", line 272, in build_rpm builder.archive_configs() UnboundLocalError: local variable 'builder' referenced before assignment Shared connection to 10.0.1.38 closed.