You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --build-id 97997 Version: 0.68 PID: 2162 Logging PID: 2163 Task: {'appstream': False, 'background': False, 'build_id': 97997, 'chroot': None, 'package_name': None, 'project_dirname': 'test', 'project_name': 'test', 'project_owner': 'ying2021', 'repos': [], 'sandbox': 'ying2021/test--ying2021', 'source_json': {'clone_url': 'https://atomgit.com/openeuler123/shitou.git', 'committish': 'd6309b916ac9ed5000d1d5aff5156c39a723c186', 'spec': '', 'srpm_build_method': 'rpkg', 'subdirectory': 'FileSorter.spec', 'type': 'git'}, 'source_type': 8, 'submitter': 'ying2021', 'task_id': '97997'} Running: git clone https://atomgit.com/openeuler123/shitou.git /var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/shitou --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://atomgit.com/openeuler123/shitou.git', '/var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/shitou', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/shitou'... Running: git checkout d6309b916ac9ed5000d1d5aff5156c39a723c186 -- cmd: ['git', 'checkout', 'd6309b916ac9ed5000d1d5aff5156c39a723c186', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/shitou rc: 0 stdout: stderr: Note: switching to 'd6309b916ac9ed5000d1d5aff5156c39a723c186'. 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 d6309b9 init Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = [lookaside] download_url = Writing config into /var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/shitou/FileSorter.spec Copr build error: [Errno 20] Not a directory: '/var/lib/copr-rpmbuild/workspace/workdir-xojjv0qm/shitou/FileSorter.spec' Shared connection to 192.168.0.4 closed.