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 1268021 - perl.req does not find `perl(strict)' in /usr/share/perl5/ExtUtils/ParseXS.pm
Summary: perl.req does not find `perl(strict)' in /usr/share/perl5/ExtUtils/ParseXS.pm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rpm
Version: 6.7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks: 1271238
TreeView+ depends on / blocked
 
Reported: 2015-10-01 15:06 UTC by Petr Pisar
Modified: 2016-05-11 00:54 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1320214 (view as bug list)
Environment:
Last Closed: 2016-05-11 00:54:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1267920 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2016:0936 0 normal SHIPPED_LIVE rpm bug fix and enhancement update 2016-05-10 22:54:44 UTC

Internal Links: 1267920

Description Petr Pisar 2015-10-01 15:06:27 UTC
rpm-4.8.0-47.el6 fails to find `perl(strict)' in /usr/share/perl5/ExtUtils/ParseXS.pm:

# /usr/lib/rpm/perl.req /usr/share/perl5/ExtUtils/ParseXS.pm 
perl >= 0:5.006
perl(Config)
perl(Cwd)
perl(Exporter)
perl(File::Basename)
perl(File::Spec)
perl(Symbol)
perl(re)
perl(vars)

While perl.req from rpm-4.8.0-38.el6_6 works as expected:

# /tmp/perl.req /usr/share/perl5/ExtUtils/ParseXS.pm 
perl >= 0:5.006
perl(Config)
perl(Cwd)
perl(Exporter)
perl(File::Basename)
perl(File::Spec)
perl(Symbol)
perl(re)
perl(strict)
perl(vars)


The relevant /usr/share/perl5/ExtUtils/ParseXS.pm text is:

#########################################################
package
  ExtUtils::ParseXS::CountLines;
use strict;
use vars qw($SECTION_END_MARKER);


This is regression introduced in rpm-4.8.0-39.

Comment 5 Petr Pisar 2015-10-01 15:44:36 UTC
This review of dependency changes:

perl-ExtUtils-ParseXS: missing perl(strict) - regression
perl-Module-Build: missing perl(ExtUtils::MakeMaker) - not a bug
perl-Module-Build: emerging perl(File::Spec) >= 0.82 - not a bug
perl-devel: missing perl(Carp) - not a bug, required by generated code
perl-devel: missing perl(DynaLoader) - not a bug, required by generated code
perl-devel: missing perl(Exporter) - not a bug, required by generated code
perl-devel: missing perl(File::Find) - regression

So there are only the regressions:

perl-ExtUtils-ParseXS: missing perl(strict)
perl-devel: missing perl(File::Find)

Both of them have the same common feature that the "use FOO" appears twice in the code. First as a text that should be ignored by the generator, second and a text that should be accepted by the generator.

Comment 6 Ľuboš Kardoš 2015-10-02 10:05:20 UTC
Regressions are caused by backporting this upstream commit [1]. Problem is that the code in the commit cannot parse all possible variants of here-document. The problem was partially fixed upstream in commit [2]. 

[1] https://github.com/rpm-software-management/rpm/commit/0d5929ba5eabadec49273bb090ba9158dfccc30c

[2] https://github.com/rpm-software-management/rpm/commit/4f05fa0e15bcb66d29f89e28829ea43107f6382b

Comment 12 errata-xmlrpc 2016-05-11 00:54:06 UTC
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-0936.html


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