Bug 750145

Summary: Missing dependency (perl-ExtUtils-MakeMaker) in perl-IPC-Cmd
Product: Red Hat Enterprise Linux 6 Reporter: Iain Arnell <iarnell>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: cweyl, dan, iarnell, kasal, lkundrak, lzachar, mmaslano, ppisar, psabata, rc040203, tcallawa
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-5.10.1-122.el6 Doc Type: Bug Fix
Doc Text:
Cause Running `cpanp' executable from perl-CPANPLUS RPM package without having installed perl-ExtUtils-MakeMaker. Consequence Perl interpreter aborts the cpanp program with "Can't locate ExtUtils/MakeMaker.pm" message. Fix Dependency on `perl(ExtUtils::MakeMaker)' has been added to perl-IPC-Cmd RPM package. Result When running `cpanp', all dependencies are met and the tool does not abort.
Story Points: ---
Clone Of: 711486 Environment:
Last Closed: 2012-06-20 13:47:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Iain Arnell 2011-10-31 07:46:28 UTC
+++ This bug was initially created as a clone of Bug #711486 +++

Description of problem:
The perl-CPANPLUS package is missing the perl-ExtUtils-MakeMaker package dependency.


Version-Release number of selected component (if applicable):
perl-CPANPLUS-0.90-157.fc15.noarch.rpm

How reproducible:
Not tried.

Steps to Reproduce:
1.Install perl-CPANPLUS
2.Remove perl-ExtUtils-MakeMaker
3.run 'cpanp'
  
Actual results:
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /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/perl5/IPC/Cmd.pm line 210.

Expected results:
Should start normally

Additional info:

--- Additional comment from ppisar on 2011-06-07 17:55:27 CEST ---

The CPANMINUS is part of perl in Fedora:

$ rpm -qf $(type -p cpanp) --qf '%{SOURCERPM}\n'
perl-5.12.3-157.fc15.src.rpm

--- Additional comment from mmaslano on 2011-06-07 18:19:25 CEST ---

This will be fixed in next update. Thank you for your report.

--- Additional comment from dan on 2011-06-07 19:44:22 CEST ---

Thanks.

I'm not sure if this is the correct place to report/fix this, but when I installed a module (DBD::Oracle) using cpanp, it failed with a gcc dependency. Do you think that gcc should also be a dependency of perl-CPANPLUS?

--- Additional comment from mmaslano on 2011-06-08 09:20:58 CEST ---

Not sure, if it's good idea. For other packages you could need mysql or C++ compiler.

--- Additional comment from ppisar on 2011-10-06 13:10:04 CEST ---

(In reply to comment #0)
> 
> Steps to Reproduce:
> 1.Install perl-CPANPLUS
> 2.Remove perl-ExtUtils-MakeMaker
> 3.run 'cpanp'
> 
> Actual results:
> Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains:
> /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/perl5/IPC/Cmd.pm line 210.
> 
This is about perl-IPC-Cmd should require perl(ExtUtils::MakeMaker).

--- Additional comment from ppisar on 2011-10-06 13:13:28 CEST ---

Fixed as perl-5.14.0-161.fc16 in F16 and higher.

--- Additional comment from ppisar on 2011-10-06 13:40:23 CEST ---

F14 not affected.

--- Additional comment from ppisar on 2011-10-06 13:48:26 CEST ---

F15 not affected.

Comment 1 Iain Arnell 2011-10-31 07:47:37 UTC
EL6 is affected.

perl-4:5.10.1-119.el6.x86_64
perl-IPC-Cmd-1:0.56-119.el6.x86_64

Comment 3 RHEL Program Management 2011-10-31 08:08:43 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 6 RHEL Program Management 2012-02-14 22:09:45 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 7 Petr Pisar 2012-02-15 16:02:43 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    Running `cpanp' executable from perl-CPANPLUS RPM package
    without having installed perl-ExtUtils-MakeMaker.
Consequence
    Perl interpreter aborts the cpanp program with "Can't locate
    ExtUtils/MakeMaker.pm" message.
Fix
    Dependency on `perl(ExtUtils::MakeMaker)' has been added
    to perl-IPC-Cmd RPM package.
Result
    When running `cpanp', all dependencies are met and the tool
    does not abort.

Comment 13 errata-xmlrpc 2012-06-20 13:47:36 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-2012-0843.html