Bug 1533423

Summary: perl-Data-Dumper-2.161-3.fc26 breaks perl-Catalyst-Runtime tests
Product: Red Hat Software Collections Reporter: Petr Pisar <ppisar>
Component: perl-Data-DumperAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-perl526CC: jorton, jplesnik, kanderso, mkyral
Target Milestone: betaKeywords: Patch, Regression
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
URL: https://rt.perl.org/Ticket/Display.html?id=132695
Whiteboard:
Fixed In Version: rh-perl526-perl-Data-Dumper-2.167-400.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1532524 Environment:
Last Closed: 2018-05-03 07:59:08 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:
Attachments:
Description Flags
Fix ported from upstream none

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