[Bug 1138817] New: Perl core modules are installed into vendor_perl, so they are not updated by cpan

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 5 17:04:26 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1138817

            Bug ID: 1138817
           Summary: Perl core modules are installed into vendor_perl, so
                    they are not updated by cpan
           Product: Fedora
           Version: 20
         Component: perl
          Assignee: jplesnik at redhat.com
          Reporter: grinnz at gmail.com
        QA Contact: extras-qa at fedoraproject.org
                CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
                    jplesnik at redhat.com, kasal at ucw.cz,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com, rc040203 at freenet.de,
                    tcallawa at redhat.com



Description of problem:
As perl core modules are broken into separate packages, these packages install
the modules into vendor_perl. By default the vendor_perl directory precedes the
core module directory in @INC. CPAN by default will install updates to core
modules in the core directory, not site_perl. Therefore in a default
configuration, updating a core module with cpan or cpanm appears to work, but
the RPM version in vendor_perl continues to be used instead.

Version-Release number of selected component (if applicable):
Depends on RPMs that are out of date with CPAN (this will always happen for
some time at least)
Currently, perl-Test-Simple-1.001002 is older than the CPAN version of
Test-Simple-1.001003 required to install an updated version of POE.

How reproducible:
Always

Steps to Reproduce:
1. Install perl and perl-core from yum
2. Run "cpan Test::Simple" or "cpanm Test::Simple"

Actual results:
New version of Test-Simple distribution is installed but old version from RPM
continues to be used, so cpan cannot install modules requiring new version

Expected results:
New version of Test-Simple distribution is used

Additional info:
Can be avoided by using local::lib or modifying @INC. Maybe there is a better
solution.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=MJmZQO96e3&a=cc_unsubscribe



More information about the perl-devel mailing list