Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1792997 - vim fails to build in Fedora rawhide: could not configure perl: cc1: fatal error: inaccessible plugin file plugin/annobin.so expanded from short plugin name annobin: No such file or directory
Summary: vim fails to build in Fedora rawhide: could not configure perl: cc1: fatal er...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Festi
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F32FTBFS PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-20 13:28 UTC by Miro Hrončok
Modified: 2020-01-20 15:01 UTC (History)
23 users (show)

Fixed In Version: redhat-rpm-config-148-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-20 14:49:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-20 13:28:35 UTC
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.

Comment 1 Petr Pisar 2020-01-20 13:53:34 UTC
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.

Comment 2 Petr Pisar 2020-01-20 14:28:28 UTC
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.

Comment 3 Petr Pisar 2020-01-20 14:33:21 UTC
s/do not lost/lost/ (I should not rewrite my comments from a middle of a sentence.)

Comment 4 Petr Pisar 2020-01-20 14:43:08 UTC
Now I got message that annobin is back. Checking.

Comment 5 Petr Pisar 2020-01-20 14:49:13 UTC
# 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.

Comment 6 Miro Hrončok 2020-01-20 15:01:44 UTC
Thanks.


Note You need to log in before you can comment on or make changes to this bug.