Warning: Permanently added '3.94.160.224' (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/9687546 Version: 1.6 PID: 8508 Logging PID: 8510 Task: {'appstream': False, 'background': True, 'build_id': 9687546, 'chroot': None, 'package_name': 'emacs', 'project_dirname': 'emacs-latest', 'project_name': 'emacs-latest', 'project_owner': 'xuhdev', 'repos': [], 'sandbox': 'xuhdev/emacs-latest--https://src.fedoraproject.org/user/mavit', 'source_json': {'clone_url': 'https://src.fedoraproject.org/rpms/emacs', 'committish': '3b2d62a20fdf74256caee7f696a8999aca16441e', 'spec': '', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://src.fedoraproject.org/user/mavit', 'task_id': '9687546'} Running: git clone https://src.fedoraproject.org/rpms/emacs /var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://src.fedoraproject.org/rpms/emacs', '/var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs'... Running: git checkout 3b2d62a20fdf74256caee7f696a8999aca16441e -- cmd: ['git', 'checkout', '3b2d62a20fdf74256caee7f696a8999aca16441e', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs rc: 0 stdout: stderr: Note: switching to '3b2d62a20fdf74256caee7f696a8999aca16441e'. 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 3b2d62a Enable lexical binding in `site-start.el` and `default.el` Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://src.fedoraproject.org/%(repo_path)s [lookaside] download_url = https://src.fedoraproject.org/repo/pkgs/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-96x4e7cw/emacs rc: 0 stdout: Downloading emacs-30.2.tar.xz from rpms/emacs at src.fedoraproject.org: Downloading emacs-30.2.tar.xz.sig from rpms/emacs at src.fedoraproject.org: Wrote: /var/lib/copr-rpmbuild/results/emacs.spec setting SOURCE_DATE_EPOCH=1760400000 Wrote: /var/lib/copr-rpmbuild/results/emacs-30.2-1.src.rpm stderr: Output: ['emacs-30.2.tar.xz', 'emacs-30.2-1.src.rpm', '12BB9B400EE3F77282864D18272B5C54E015416A', 'emacs-pgtk-on-x-error-message.patch', '0001-Don-t-specify-StartupWMClass-in-emacs.desktop.patch', 'emacs-libdir-vs-systemd.patch', '17E90D521672C04631B1183EE78DAE0F3115E06B', 'emacs_lisp.attr', 'emacs-desktop.sh', '0002-Fall-back-to-the-terminal-from-pure-GTK-when-no-disp.patch', 'emacs_lisp.rec', 'emacs-spellchecker.patch', 'site-start.el', 'CEA1DE21AB108493CC9C65742E82323B8F4353EE', '0001-Pong-and-Tetris-are-excluded.patch', 'emacs-30.2.tar.xz.sig', 'emacs-system-crypto-policies.patch', 'emacs.spec', 'dotemacs.el', 'default.el'] Running SRPMResults tool Exception appeared during handling spec file: /var/lib/copr-rpmbuild/results/emacs.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: /tmp/tmph62ckwes: line 288: failed to load macro file /var/lib/copr-rpmbuild/results/emacs_lisp.attr Querying NEVRA from SRPM header: /var/lib/copr-rpmbuild/results/emacs-30.2-1.src.rpm Package info: { "name": "emacs", "epoch": 1, "version": "30.2", "release": "1", "exclusivearch": [], "excludearch": [] } SRPMResults finished