Bug 1533423 - perl-Data-Dumper-2.161-3.fc26 breaks perl-Catalyst-Runtime tests
Summary: perl-Data-Dumper-2.161-3.fc26 breaks perl-Catalyst-Runtime tests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: perl-Data-Dumper
Version: rh-perl526
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 3.1
Assignee: Jitka Plesnikova
QA Contact: Martin Kyral
URL: https://rt.perl.org/Ticket/Display.ht...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-11 10:12 UTC by Petr Pisar
Modified: 2018-05-03 07:59 UTC (History)
4 users (show)

Fixed In Version: rh-perl526-perl-Data-Dumper-2.167-400.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1532524
Environment:
Last Closed: 2018-05-03 07:59:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Fix ported from upstream (3.38 KB, patch)
2018-01-11 10:13 UTC, Petr Pisar
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
CPAN 124036 0 None None None 2018-01-11 10:12:25 UTC
Red Hat Product Errata RHEA-2018:1303 0 None None None 2018-05-03 07:59:39 UTC

Description Petr Pisar 2018-01-11 10:12:25 UTC
+++ This bug was initially created as a clone of Bug #1532524 +++

Perl commit abda9fe0fe75ae824723761c1c98af958f17a41c (glob names quoting) ported to perl-Data-Dumper package breaks building perl-Catalyst-Runtime.

--- Additional comment from Petr Pisar on 2018-01-11 09:49:35 GMT ---

Upstream fixed Data::Dumper in perl commit fb5043174b070927d312677f0a2f04a29b11349a.

----

RHSLC-3.1 (rh-perl526-perl-Data-Dumper-2.167-399.el7) is affected. The Dumper() function returns a string with invalid Perl code (unbalanced number of curly brackets, missing a glob definition) if called on an upgraded glob name.

How to test:

(1) Install rh-perl526-perl-interpreter and rh-perl526(Data::Dumper) and run:

$ perl -MData::Dumper=Dumper -le '$Data::Dumper::Purity=1; $Data::Dumper::Indent=0; *{"a\x{2603}b"}={a=>3}; print Dumper(\*{"a\x{2603}b"})'

(2) The output differs.
Before:
$VAR1 = \*{"::a\x{2603}b"};} = {'a' => 3};
After:  
$VAR1 = \*{"::a\x{2603}b"};*{"::a\x{2603}b"} = {'a' => 3};

Comment 1 Petr Pisar 2018-01-11 10:13:05 UTC
Created attachment 1379935 [details]
Fix ported from upstream

Comment 7 errata-xmlrpc 2018-05-03 07:59:08 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://access.redhat.com/errata/RHEA-2018:1303


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