Bug 622896
Summary: | Perl looks in directories more than once | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nigel Horne <njh> |
Component: | perl | Assignee: | Marcela Mašláňová <mmaslano> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | cweyl, iarnell, kasal, lkundrak, mmaslano, ppisar, psabata, rc040203, tcallawa |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | perl-5.10.1-119.fc13 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-09-23 05:00:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nigel Horne
2010-08-10 17:53:55 UTC
I'm testing a new patch for this issue. Next update will contain these paths: @INC: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl . I removed duplicates which can be removed. For example /usr/share/perl5 is here twice, because first time it is privlib and second time vendorlib. It can't be removed in this release because some modules could have troubles finding modules in path. Is it /usr/local/lib/site_perl still needed? It wasn't also in previous updates. `repoquery --whatprovides '/usr/local/lib/site_perl/*'' does not return anything concluding Fedora does not need it. (In reply to comment #3) > `repoquery --whatprovides '/usr/local/lib/site_perl/*'' does not return > anything concluding Fedora does not need it. This doesn't mean anything. /usr/local is supposed to contain files an admin of a system has locally installed on his system to override vendor files below /usr. Packaging-wise, this means /usr/local is "out of Fedora's packaging business" (Fedora must not package files into subdirectories below /usr/local), but it doesn't mean applications should not take directories below /usr/local into account. A classic example for such behavior is gcc. By default, it looks for headers into /usr/local/include before it looks into /usr/include. I meant no official Fedora package does need it. Thus it's just matter of backward compatibility since we provide /usr/local/lib/perl5. I'd like to not remove any path in one Fedora release because of the compatibility. I am not talking about removing a directory from the search list. That is a different issue. I am talking about not looking in a directory more than once. (In reply to comment #6) > I am not talking about removing a directory from the search list. That is a > different issue. I am talking about not looking in a directory more than once. I can only repeat my answer from comment #2. It's not possible to cut it more than to this. The same path is there twice because it represent different macros for perl. (In reply to comment #3) > `repoquery --whatprovides '/usr/local/lib/site_perl/*'' does not return > anything concluding Fedora does not need it. That misses the point. It's the best place for users to put locally created modules. (In reply to comment #8) > (In reply to comment #3) > > `repoquery --whatprovides '/usr/local/lib/site_perl/*'' does not return > > anything concluding Fedora does not need it. > > That misses the point. It's the best place for users to put locally created > modules. For local modules we have /usr/local/lib/perl5. All other /usr/local/... paths are superflous. perl-5.10.1-119.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/perl-5.10.1-119.fc13 perl-5.10.1-119.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update perl'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/perl-5.10.1-119.fc13 perl-5.10.1-119.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |