Warning: Permanently added '54.81.202.50' (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/8362687 Version: 1.2 PID: 10225 Logging PID: 10226 Task: {'appstream': False, 'background': False, 'build_id': 8362687, 'chroot': None, 'package_name': None, 'project_dirname': 's-service-stack', 'project_name': 's-service-stack', 'project_owner': 'sidhe', 'repos': [], 'sandbox': 'sidhe/s-service-stack--sidhe', 'source_json': {'pkg': 'mongodb-2.6.12-6.el9.src.rpm', 'tmp': 'tmp3bzfwddp', 'url': 'https://copr.fedorainfracloud.org/tmp/tmp3bzfwddp/mongodb-2.6.12-6.el9.src.rpm'}, 'source_type': 2, 'submitter': 'sidhe', 'task_id': '8362687'} Output: ['mongodb-2.6.12-6.el9.src.rpm'] Running SRPMResults tool Exception appeared during handling spec file: /var/lib/copr-rpmbuild/results/mongodb.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 80, 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): %patch9 -p1 Querying NEVRA from SRPM header: /var/lib/copr-rpmbuild/results/mongodb-2.6.12-6.el9.src.rpm Package info: { "name": "mongodb", "epoch": null, "version": "2.6.12", "release": "6.el9", "exclusivearch": [], "excludearch": [ "ppc", "ppc64", "ppc64le", "sparc", "sparcv8", "sparcv9", "sparcv9v", "sparc64", "sparc64v", "s390", "s390x", "aarch64" ] } SRPMResults finished