Bug 1684902

Summary: Core Perl module Env should be installed by default
Product: Red Hat Enterprise Linux 7 Reporter: Dylan Cali <calid1984>
Component: perlAssignee: perl-maint-list
Status: CLOSED NEXTRELEASE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.6CC: ppisar
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-04 11:23:04 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 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.