Warning: Permanently added '13.218.234.54' (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/9955765 Version: 1.6 PID: 8671 Logging PID: 8673 Task: {'appstream': False, 'background': False, 'build_id': 9955765, 'chroot': None, 'package_name': None, 'project_dirname': 'rpmsoftwarecollection', 'project_name': 'rpmsoftwarecollection', 'project_owner': 'amidevous', 'repos': [], 'sandbox': 'amidevous/rpmsoftwarecollection--amidevous', 'source_json': {'url': 'https://pkgs.sysadmins.ws/el9/modular/SRPMS/php-remi/php56-php-5.6.40-38.el9.src.rpm'}, 'source_type': 1, 'submitter': 'amidevous', 'task_id': '9955765'} Output: ['php56-php-5.6.40-38.el9.src.rpm'] Running SRPMResults tool Exception appeared during handling spec file: /var/lib/copr-rpmbuild/results/php.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 418, 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): %patch1 -p1 -b .mpmcheck Querying NEVRA from SRPM header: /var/lib/copr-rpmbuild/results/php56-php-5.6.40-38.el9.src.rpm Package info: { "name": "php56-php", "epoch": null, "version": "5.6.40", "release": "38.el9", "exclusivearch": [], "excludearch": [] } SRPMResults finished