Warning: Permanently added '13.220.232.123' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9439999 Version: 1.3 PID: 8864 Logging PID: 8865 Task: {'appstream': False, 'background': True, 'build_id': 9439999, 'chroot': None, 'package_name': 'llvm', 'project_dirname': 'python-sphinx', 'project_name': 'python-sphinx', 'project_owner': 'thrnciar', 'repos': [], 'sandbox': 'thrnciar/python-sphinx--https://src.fedoraproject.org/user/nikic', 'source_json': {'clone_url': 'https://src.fedoraproject.org/rpms/llvm', 'committish': 'ecb2a6a6726c080895ecb2ddeaa9ff276c1eb19b', 'distgit': 'fedora'}, 'source_type': 10, 'submitter': 'https://src.fedoraproject.org/user/nikic', 'task_id': '9439999'} Running: git clone https://src.fedoraproject.org/rpms/llvm /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://src.fedoraproject.org/rpms/llvm', '/var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm'... Running: git checkout ecb2a6a6726c080895ecb2ddeaa9ff276c1eb19b -- cmd: ['git', 'checkout', 'ecb2a6a6726c080895ecb2ddeaa9ff276c1eb19b', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm rc: 0 stdout: stderr: Note: switching to 'ecb2a6a6726c080895ecb2ddeaa9ff276c1eb19b'. 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 ecb2a6a Disable lit timeout on RHEL 8 Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading llvm-project-20.1.8.src.tar.xz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o llvm-project-20.1.8.src.tar.xz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://src.fedoraproject.org/repo/pkgs/rpms/llvm/llvm-project-20.1.8.src.tar.xz/sha512/f330e72e6a1da468569049437cc0ba7a41abb816ccece7367189344f7ebfef730f4788ac7af2bef0aa8a49341c15ab1d31e941ffa782f264d11fe0dc05470773/llvm-project-20.1.8.src.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 140M 100 140M 0 0 195M 0 --:--:-- --:--:-- --:--:-- 195M INFO: Reading stdout from command: sha512sum llvm-project-20.1.8.src.tar.xz INFO: Downloading llvm-project-20.1.8.src.tar.xz.sig INFO: Calling: curl -H Pragma: -o llvm-project-20.1.8.src.tar.xz.sig --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://src.fedoraproject.org/repo/pkgs/rpms/llvm/llvm-project-20.1.8.src.tar.xz.sig/sha512/d74369bdb4d1b82775161ea53c9c5f3a23ce810f4df5ff617123023f9d8ce720e7d6ecc9e17f8ebd39fd9e7a9de79560abdf2ffe73bcb907a43148d43665d619/llvm-project-20.1.8.src.tar.xz.sig % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 566 100 566 0 0 12678 0 --:--:-- --:--:-- --:--:-- 12863 INFO: Reading stdout from command: sha512sum llvm-project-20.1.8.src.tar.xz.sig Running: dist-git-client srpm --outputdir /var/lib/copr-rpmbuild/results cmd: ['dist-git-client', 'srpm', '--outputdir', '/var/lib/copr-rpmbuild/results'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm rc: 1 stdout: stderr: INFO: Reading stdout from command: git rev-parse --git-dir INFO: Checked call: rpmbuild -bs /var/lib/copr-rpmbuild/results/llvm.spec --define 'dist %nil' --define '_sourcedir /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm/.' --define '_srcrpmdir /var/lib/copr-rpmbuild/results' --define '_disable_source_fetch 1' error: parse error in expression: 1 || 0%{rhel} > 8 error: ^ error: /var/lib/copr-rpmbuild/results/llvm.spec:2225: bad %if condition: 1 || 0%{rhel} > 8 Traceback (most recent call last): File "/usr/bin/dist-git-client", line 10, in main() ~~~~^^ File "/usr/lib/python3.13/site-packages/dist_git_client.py", line 522, in main srpm(args, config) ~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/dist_git_client.py", line 376, in srpm check_call(command) ~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/dist_git_client.py", line 51, in check_call subprocess.check_call(cmd) ~~~~~~~~~~~~~~~~~~~~~^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['rpmbuild', '-bs', '/var/lib/copr-rpmbuild/results/llvm.spec', '--define', 'dist %nil', '--define', '_sourcedir /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm/.', '--define', '_srcrpmdir /var/lib/copr-rpmbuild/results', '--define', '_disable_source_fetch 1']' returned non-zero exit status 1. Copr build error: INFO: Reading stdout from command: git rev-parse --git-dir INFO: Checked call: rpmbuild -bs /var/lib/copr-rpmbuild/results/llvm.spec --define 'dist %nil' --define '_sourcedir /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm/.' --define '_srcrpmdir /var/lib/copr-rpmbuild/results' --define '_disable_source_fetch 1' error: parse error in expression: 1 || 0%{rhel} > 8 error: ^ error: /var/lib/copr-rpmbuild/results/llvm.spec:2225: bad %if condition: 1 || 0%{rhel} > 8 Traceback (most recent call last): File "/usr/bin/dist-git-client", line 10, in main() ~~~~^^ File "/usr/lib/python3.13/site-packages/dist_git_client.py", line 522, in main srpm(args, config) ~~~~^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/dist_git_client.py", line 376, in srpm check_call(command) ~~~~~~~~~~^^^^^^^^^ File "/usr/lib/python3.13/site-packages/dist_git_client.py", line 51, in check_call subprocess.check_call(cmd) ~~~~~~~~~~~~~~~~~~~~~^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['rpmbuild', '-bs', '/var/lib/copr-rpmbuild/results/llvm.spec', '--define', 'dist %nil', '--define', '_sourcedir /var/lib/copr-rpmbuild/workspace/workdir-zx1pl1cn/llvm/.', '--define', '_srcrpmdir /var/lib/copr-rpmbuild/results', '--define', '_disable_source_fetch 1']' returned non-zero exit status 1.