Red Hat Bugzilla – Bug 1365991
find.pl missing from perl package on RHEL 7
Last modified: 2016-11-03 20:16:28 EDT
Description of problem: Files find.pl, getopt.pl and getops.pl missing from perl package even though it is listed under perl rpm provides These files were present in RHEL 6, however it seems to be discontinued with RHEL 7. However, checking perl package 'provides' shows these files as included. # rpm -q --provides perl|egrep '\(getopts?.pl|find.pl' perl(find.pl) perl(getopt.pl) perl(getopts.pl) Version-Release number of selected component (if applicable): Red Hat Enterprise Linux 7.2 perl-5.16.3-286.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Check the perl provides list. It shows these files. 2. Checking the package file list doesn't have this included. 3. Actual results: # rpm -q --provides perl|egrep '\(getopts?.pl|find.pl' perl(find.pl) perl(getopt.pl) perl(getopts.pl) # rpm -ql perl|egrep 'getopt|find.pl' # Expected results: Include the files in RHEL 7. # rpm -ql perl|egrep 'getopt|find.pl' /usr/share/perl5/find.pl /usr/share/perl5/getopt.pl /usr/share/perl5/getopts.pl /usr/share/perl5/newgetopt.pl Additional info:
The utils wre deprecated in Perl 5.12.0. More information see on page http://search.cpan.org/~rjbs/perl-5.16.3/pod/perl5120delta.pod#Deprecations Look for "Numerous Perl 4-era libraries" They were removed from core in Perl 5.16.0 and could be found on CPAN as Perl4::CoreLibs. http://search.cpan.org/~rjbs/perl-5.16.3/pod/perl5160delta.pod#Removed_Modules_and_Pragmata We forgot to remove the utils from perl provides.
Created attachment 1189927 [details] Clean up list of provided files
How to test: Check that the deprecated files below are not listed in perl-5.16.3-290.el7 provides: perl(abbrev.pl) perl(assert.pl) perl(bigfloat.pl) perl(bigint.pl) perl(bigrat.pl) perl(cacheout.pl) perl(complete.pl) perl(ctime.pl) perl(dotsh.pl) perl(exceptions.pl) perl(fastcwd.pl) perl(find.pl) perl(finddepth.pl) perl(flush.pl) perl(ftp.pl) perl(getcwd.pl) perl(getopt.pl) perl(getopts.pl) perl(hostname.pl) perl(importenv.pl) perl(look.pl) perl(newgetopt.pl) perl(open2.pl) perl(open3.pl) perl(pwd.pl) perl(shellwords.pl) perl(stat.pl) perl(syslog.pl) perl(tainted.pl) perl(termcap.pl) perl(timelocal.pl) perl(validate.pl) Current result should be: $ rpm -qp --provides perl-5.16.3-290.el7.x86_64.rpm | grep '\.pl' perl(bytes_heavy.pl) perl(dumpvar.pl) perl(perl5db.pl) perl(utf8_heavy.pl)
How to test: Check that the deprecated files below are provided by perl-Perl4-CoreLibs-0.001-291.el7: perl(abbrev.pl) perl(assert.pl) perl(bigfloat.pl) perl(bigint.pl) perl(bigrat.pl) perl(cacheout.pl) perl(complete.pl) perl(ctime.pl) perl(dotsh.pl) perl(exceptions.pl) perl(fastcwd.pl) perl(find.pl) perl(finddepth.pl) perl(flush.pl) perl(getcwd.pl) perl(getopt.pl) perl(getopts.pl) perl(hostname.pl) perl(importenv.pl) perl(look.pl) perl(newgetopt.pl) perl(open2.pl) perl(open3.pl) perl(pwd.pl) perl(shellwords.pl) perl(stat.pl) perl(syslog.pl) perl(tainted.pl) perl(termcap.pl) perl(timelocal.pl) perl(validate.pl) The only removed provides is perl(ftp.pl). The file was also missing in Perl 5.10.1.
It looks good.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2191.html