RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1684902 - Core Perl module Env should be installed by default
Summary: Core Perl module Env should be installed by default
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl
Version: 7.6
Hardware: All
OS: All
unspecified
high
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-03 18:42 UTC by Dylan Cali
Modified: 2019-03-04 11:23 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-04 11:23:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CentOS 0015893 0 None None None 2019-03-03 18:42:17 UTC

Description Dylan Cali 2019-03-03 18:42:18 UTC
Description of problem:
Env (perl-Env package) is a core Perl module, assumed installed as part of the base language installation. Not having it installed by default breaks various module installations. Please install as part of the top level perl package.


Version-Release number of selected component (if applicable):
perl-5.16.3-294.el7_6.x86_64


How reproducible:
Always


Steps to Reproduce:
Try to install any Perl module that uses Env, e.g. FFI::CheckLib, via cpan or cpanminus.


Actual results:
Module installation fails with missing Env module


Expected results:
Module should be able to find Env dependency from base perl installation


Additional info:
https://www.perl.com/article/what-is-the-perl-core-/
https://perldoc.perl.org/index-modules-E.html

$ corelist Env
Env was first released with perl 5

$ corelist -r 5
Perl 5 was released on 1994-10-17

https://github.com/plicease/File-Which/issues/13
https://github.com/calid/zmq-ffi/issues/40

Comment 2 Petr Pisar 2019-03-04 11:23:04 UTC
The top-level Perl package in RHEL-7 is called perl-core. Please install perl-core package if you want to have installed of the Perl modules bundled with upstream's Perl sources.

This divergence from upstream will be fixed in RHEL-8 where Perl 5.26's "perl" package indeed install all core modules.


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