Bug 927010

Summary: autoconf-2.69-10.fc19 is missing a Requires: perl(Carp)
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: autoconfAssignee: Pavel Raiskup <praiskup>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: phracek, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-02 09:05:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans de Goede 2013-03-24 19:10:20 UTC
Summary says it all, likely has something todo with rpm's auto-requires generation for perl modules.

This results in build failures of packages using autoreconf, ie:
http://koji.fedoraproject.org/koji/getfile?taskID=5166523&name=build.log

+ autoreconf -i -f
Can't locate Carp.pm in @INC (@INC contains: /usr/share/autoconf /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/autoconf/Autom4te/Channels.pm line 72.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/Channels.pm line 72.
Compilation failed in require at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
BEGIN failed--compilation aborted at /usr/share/autoconf/Autom4te/ChannelDefs.pm line 19.
Compilation failed in require at /usr/bin/autoreconf line 39.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 39.
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.jwM5Va (%prep)

Comment 1 Hans de Goede 2013-03-24 20:38:21 UTC
Also see bug 927014 which in the mean time has been dupped to bug 924938.

Comment 2 Pavel Raiskup 2013-03-25 08:29:06 UTC
(In reply to comment #1)
> Also see bug 927014 which in the mean time has been dupped to bug 924938.

Are you sure I should add the Requires in autoconf?  It is the second time I
must do similar change in last 14 days :) because of perl and I don't think
that this is a bug in autoconf.  This is probably the reason the bug 927014 was
marked duplicate, or why it was marked duplicate?

Are you sure that the dependency on perl(Carp) is not intended to be automatic?

Thanks,
Pavel

Comment 3 Hans de Goede 2013-03-25 09:49:10 UTC
(In reply to comment #2)
> Are you sure that the dependency on perl(Carp) is not intended to be
> automatic?

It should be automatic, but for some reason atm it is not. Lets wait for bug 924938 to be resolved and once it is, see if a rebuild causes the automatic dependency to show up again.

Comment 4 Pavel Raiskup 2013-04-02 09:05:02 UTC
In rawhide mock:

 $ rpm -qR perl | grep Carp
 perl(Carp)

 $ rpm -qR autoconf | grep Carp
 perl(Carp)

~> closing