Warning: Permanently added '54.226.158.210' (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/8240837 Version: 1.1 PID: 7351 Logging PID: 7352 Task: {'appstream': False, 'background': False, 'build_id': 8240837, 'chroot': None, 'package_name': None, 'project_dirname': 'foreman-nightly-staging-scratch-19f75b13-9867-54bb-b7d8-a005ddb1b69d', 'project_name': 'foreman-nightly-staging-scratch-19f75b13-9867-54bb-b7d8-a005ddb1b69d', 'project_owner': '@theforeman', 'repos': [], 'sandbox': '@theforeman/foreman-nightly-staging-scratch-19f75b13-9867-54bb-b7d8-a005ddb1b69d--theforeman-bot', 'source_json': {'pkg': 'foreman-bootloaders-redhat-202102220000-4.src.rpm', 'tmp': 'tmpq1w8m41k', 'url': 'https://copr.fedorainfracloud.org/tmp/tmpq1w8m41k/foreman-bootloaders-redhat-202102220000-4.src.rpm'}, 'source_type': 2, 'submitter': 'theforeman-bot', 'task_id': '8240837'} Output: ['foreman-bootloaders-redhat-202102220000-4.src.rpm'] Running SRPMResults tool Exception appeared during handling spec file: /var/lib/copr-rpmbuild/results/foreman-bootloaders-redhat.spec Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/specfile/spec_parser.py", line 226, in get_rpm_spec return rpm.spec(tmp.name, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: can't parse specfile The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/copr_rpmbuild/automation/srpm_results.py", line 50, in get_package_info spec = Spec(path, macros) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/copr_rpmbuild/helpers.py", line 404, in __init__ self.spec = Specfile(path, macros=macros) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/specfile/specfile.py", line 72, in __init__ self._parser.parse(str(self)) File "/usr/lib/python3.12/site-packages/specfile/spec_parser.py", line 380, in parse self.spec, self.tainted = self._do_parse(content, extra_macros) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/specfile/spec_parser.py", line 294, in _do_parse spec = get_rpm_spec(content, rpm.RPMSPEC_ANYARCH | rpm.RPMSPEC_FORCE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/specfile/spec_parser.py", line 228, in get_rpm_spec raise RPMException(stderr=stderr) from e specfile.exceptions.RPMException: parse error in expression: 0%{rhel} < 9 Querying NEVRA from SRPM header: /var/lib/copr-rpmbuild/results/foreman-bootloaders-redhat-202102220000-4.src.rpm Package info: { "name": "foreman-bootloaders-redhat", "epoch": null, "version": "202102220000", "release": "4", "exclusivearch": [], "excludearch": [] } SRPMResults finished