https://bugzilla.redhat.com/show_bug.cgi?id=2229872
Bug ID: 2229872 Summary: perl-Test-File-1.99.3-3.fc39 FTBFS: perl-Test-File.spec: line 3: Macro %rpmversion is a built-in Product: Fedora Version: rawhide URL: https://koschei.fedoraproject.org/package/perl-Test-Fi le Status: NEW Component: perl-Test-File Assignee: spotrh@gmail.com Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: paul@city-fan.org, perl-devel@lists.fedoraproject.org, spotrh@gmail.com Blocks: 2168842 (F39FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
perl-Test-File-1.99.3-3.fc39 fails to build in Fedora 39:
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '783d41a0fa1541348a89720a7346f877', '-D', '/var/lib/mock/fedorarebuild-x86_64-pmfgj9xmiw/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tvv1tpkm:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"', '--setenv=PS1=<mock-chroot> \s-\v\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Test-File.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\033]0;<mock-chroot>\007"', 'PS1': '<mock-chroot> \s-\v\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False error: /builddir/build/SPECS/perl-Test-File.spec: line 3: Macro %rpmversion is a built-in (%global) 0< (%global) Building target platforms: x86_64 Building for target x86_64 Child return code was: 1
This is triggered by upgrading rpm from 4.18.91-8.fc39 to 4.18.92-1.fc39. The new rpm made rpmversion macro a builtin and spec files cannot redefine it any longer.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2168842 [Bug 2168842] Fedora 39 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2229872
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #1 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-0b03635bd8 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-0b03635bd8
https://bugzilla.redhat.com/show_bug.cgi?id=2229872
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |perl-Test-File-1.99.3-4.fc3 | |9 Resolution|--- |ERRATA Status|MODIFIED |CLOSED Last Closed| |2023-08-08 08:41:59
--- Comment #2 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-0b03635bd8 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org