Bug 1009507

Summary: Missing run requires for perl516-perl-IPC-Cmd - needs perl516-perl(Module::Load::Conditional)
Product: Red Hat Software Collections Reporter: jcpunk
Component: perl-IPC-CmdAssignee: perl-maint-list
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: perl516CC: csieh, jkejda, jplesnik, riehecky
Target Milestone: ---   
Target Release: 1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl516-perl-IPC-Cmd-0.80-2.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-04 07:20:40 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:

Description jcpunk 2013-09-18 14:49:20 UTC
Description of problem: %build requires Module/Load/Conditional.pm which is provided by perl516-perl-Module-Load-Conditional-0.46-12.el6

Version-Release number of selected component (if applicable):perl516-perl-Socket-2.009-1.el6


How reproducible: 100%


Steps to Reproduce:
1. build with mock, populating only what is required by the rpm
2. %build fails

Actual results:
Can't locate Module/Load/Conditional.pm in @INC (@INC contains: /opt/rh/perl516/root/usr/local/lib64/perl5 /opt/rh/perl516/root/usr/local/share/perl5 /opt/rh/perl516/root/usr/lib64/perl5/vendor_perl /opt/rh/perl516/root/usr/share/perl5/vendor_perl /opt/rh/perl516/root/usr/lib64/perl5 /opt/rh/perl516/root/usr/share/perl5 .) at /opt/rh/perl516/root/usr/share/perl5/vendor_perl/IPC/Cmd.pm line 50.
BEGIN failed--compilation aborted at /opt/rh/perl516/root/usr/share/perl5/vendor_perl/IPC/Cmd.pm line 50.
Compilation failed in require at /opt/rh/perl516/root/usr/share/perl5/ExtUtils/CBuilder/Base.pm line 11.
BEGIN failed--compilation aborted at /opt/rh/perl516/root/usr/share/perl5/ExtUtils/CBuilder/Base.pm line 11.
Compilation failed in require at /opt/rh/perl516/root/usr/share/perl5/ExtUtils/CBuilder/Platform/Unix.pm line 4.
BEGIN failed--compilation aborted at /opt/rh/perl516/root/usr/share/perl5/ExtUtils/CBuilder/Platform/Unix.pm line 4.
Compilation failed in require at (eval 6) line 2.
BEGIN failed--compilation aborted at (eval 6) line 2.
Compilation failed in require at Makefile.PL line 19.
error: Bad exit status from /var/tmp/rpm-tmp.dkJ9WP (%build)

Expected results:
Required RPMs for building should be required
BuildRequires: perl516-perl(Module::Load::Conditional) 
should be added

Additional info:

Comment 2 Jitka Plesnikova 2013-09-24 11:47:47 UTC
Bug is related to missing run-requires of perl-IPC-Cmd.

Comment 6 errata-xmlrpc 2014-06-04 07:20:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0613.html