Bug 590745 - Duplicate entries in @INC
Summary: Duplicate entries in @INC
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-10 15:28 UTC by Remi Collet
Modified: 2010-05-11 12:43 UTC (History)
7 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-05-11 12:43:18 UTC


Attachments (Terms of Use)

Description Remi Collet 2010-05-10 15:28:45 UTC
Description of problem:
/usr/lib64/perl5 and /usr/share/perl5 appear more than 1 time in @INC

Version-Release number of selected component (if applicable):
perl-5.10.1-112.fc13.x86_64

How reproducible:
Always

Steps to Reproduce:
1. perl -V
  
Actual results:
  @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5
    /usr/share/perl5
    /usr/share/perl5
    /usr/lib64/perl5
    /usr/share/perl5
    /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.10.0
    /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.10.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/site_perl
    .


Expected results:
  @INC:
    /usr/local/lib64/perl5
    /usr/local/share/perl5
    /usr/lib64/perl5
    /usr/share/perl5
    /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi
    /usr/local/lib/perl5/site_perl/5.10.0
    /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.10.0
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/site_perl
    .

Probably not a big issue (system cache is there)

Comment 1 Marcela Mašláňová 2010-05-11 12:43:18 UTC
Every path means defined perl path e.g privlib, archlib, vendorlib etc. These paths can be set differently on every system. On Fedora are some of them same e.g privlib same as vendorlib, which means /usr/share/perl5.

For F-14 is planned only:
  @INC:
    /usr/local/lib/perl5
    /usr/local/share/perl5
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl5/vendor_perl
    /usr/lib/perl5/site_perl
    .


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