Bug 1127585
Summary: | Perl 3rd-party core modules not installed to core | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Matt Sharpe <matt.sharpe> |
Component: | perl | Assignee: | perl-maint-list |
Status: | CLOSED WONTFIX | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | ppisar |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-07 11:00:44 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: | |
Embargoed: |
Description
Matt Sharpe
2014-08-07 08:13:06 UTC
While putting dual-lived modules into core directories sounds reasonable, there are issues preventing from it: (1) The debugging files from corresponding *-debuginfo sub-packages would conflict with perl-debuginfo (see bug #878863). (2) Bootstrapping perl requires both of the module versions (the ones distributed with perl sources and the ones distributed from CPAN) available at the same time. (3) The CPAN modules are third-party and so they clearly belongs to vendor (or site) directory. Reading their Makefile.PL reveals that none of them defaults to core directory. Morover other distributions also do not install dual-lived modules into core directory. Regarding the cpanminus: I think this is cpanminus bug that it ignores non-core directories. There are many reasons why users would like to prefer their own modules from vendor or site. The documentation states: --self-contained When examining the dependencies, assume no non-core modules are installed on the system. Handy if you want to bundle application dependencies in one directory so you can distribute to other machines. And as you said 'the full list can be found through the Module::CoreList'. Therefore cpanm should use the Module::CoreList to select core modules instead of blindly disabling vendor and site directories. Or it should download the missing dual-lived modules from CPAN as it do with any other modules. |