Warning: Permanently added '18.232.57.189' (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/9211375 Version: 1.3 PID: 8769 Logging PID: 8770 Task: {'appstream': False, 'background': False, 'build_id': 9211375, 'chroot': None, 'package_name': None, 'project_dirname': 'ceph-el10-junkyard', 'project_name': 'ceph-el10-junkyard', 'project_owner': 'phlogistonjohn', 'repos': [], 'sandbox': 'phlogistonjohn/ceph-el10-junkyard--phlogistonjohn', 'source_json': {'url': 'https://kojipkgs.fedoraproject.org//packages/golang-github-prometheus/2.32.1/9.fc38/src/golang-github-prometheus-2.32.1-9.fc38.src.rpm'}, 'source_type': 1, 'submitter': 'phlogistonjohn', 'task_id': '9211375'} Output: ['golang-github-prometheus-2.32.1-9.fc38.src.rpm'] Running SRPMResults tool Exception appeared during handling spec file: /var/lib/copr-rpmbuild/results/golang-github-prometheus.spec Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 233, 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.13/site-packages/copr_rpmbuild/automation/srpm_results.py", line 50, in get_package_info spec = Spec(path, macros) File "/usr/lib/python3.13/site-packages/copr_rpmbuild/helpers.py", line 404, in __init__ self.spec = Specfile(path, macros=macros) ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/specfile/specfile.py", line 120, in __init__ self._parser.parse(str(self)) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 387, in parse self.spec, self.tainted = self._do_parse(content, extra_macros) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 301, in _do_parse spec = get_rpm_spec(content, rpm.RPMSPEC_ANYARCH | rpm.RPMSPEC_FORCE) File "/usr/lib/python3.13/site-packages/specfile/spec_parser.py", line 235, in get_rpm_spec raise RPMException(stderr=stderr) from e specfile.exceptions.RPMException: %patchN is obsolete, use %patch N (or %patch -P N): %patch0 -p1 Querying NEVRA from SRPM header: /var/lib/copr-rpmbuild/results/golang-github-prometheus-2.32.1-9.fc38.src.rpm Package info: { "name": "golang-github-prometheus", "epoch": null, "version": "2.32.1", "release": "9.fc38", "exclusivearch": [ "i386", "i486", "i586", "i686", "pentium3", "pentium4", "athlon", "geode", "x86_64", "armv3l", "armv4b", "armv4l", "armv4tl", "armv5tl", "armv5tel", "armv5tejl", "armv6l", "armv6hl", "armv7l", "armv7hl", "armv7hnl", "armv8l", "armv8hl", "armv8hnl", "armv8hcnl", "aarch64", "ppc64le", "s390x" ], "excludearch": [] } SRPMResults finished