Description of problem: Package vim fails to build from source in Fedora rawhide. checking Perl version... OK checking if compile and link flags for Perl are sane... no: PERL DISABLED configure: error: could not configure perl Version-Release number of selected component (if applicable): 8.2.109-1.fc32 Steps to Reproduce: koji build --scratch f32 vim-8.2.109-1.fc32.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/vim Koschei says this was updated (among others): https://koschei.fedoraproject.org/build/7735249 gcc 9.2.1-1.fc32.3 10.0.1-0.3.fc32 perl-Exporter 5.73-440.fc31 5.74-1.fc32 redhat-rpm-config 146-1.fc32 147-1.fc32 This blocks the Python 3.9 rebuild.
This could be caused by toolchain people that "disabled annobin temporarily". Perl executable supplies it's own CFLAGS and LDFLAGS (from the time when it was was built) and there is probably no annobin plugin in F32, thus the configure fails. But we would need to see what's under "checking if compile and link flags for Perl are sane" in config.log to confirm it.
I confirm that current rpm-build CFLAGS do not lost -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 option. It seems they also removed a dependency on (annobin if gcc) from redhat-rpm-config. Thus when building against Perl, Perl adds that build option, but no annobin plugin is found on the system. I will rebuild perl. That should fix it.
s/do not lost/lost/ (I should not rewrite my comments from a middle of a sentence.)
Now I got message that annobin is back. Checking.
# rpm -q --changelog redhat-rpm-config | head * Po led 20 2020 Florian Weimer <fweimer> - 148-1 - Reenable annobin after GCC 10 integration (#1792892) * Po led 20 2020 Florian Weimer <fweimer> - 147-1 - Temporarily disable annobin for GCC 10 (#1792892) I confirm that vim builds again with redhat-rpm-config-148-1 without any changes in Perl. Perl won't be rebuilt.
Thanks.