Bug 1134872

Summary: perl-perl5i-2.13.0-2.fc22 FTBFS: ARGV tests fail on UTF-8
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-perl5iAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://koji.fedoraproject.org/koji/taskinfo?taskID=7474187
Whiteboard:
Fixed In Version: perl-perl5i-2.13.0-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-09 18:42:42 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 Petr Pisar 2014-08-28 11:43:54 UTC
perl-perl5i-2.13.0-2.fc22 fails to build in F22 because ARGV tests fail on UTF-8:

+ ./Build test
gcc -I/usr/lib64/perl5/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o bin/perl5i.o bin/perl5i.c
gcc -fstack-protector -o bin/perl5i bin/perl5i.o

#   Failed test at t/ARGV.t line 12.
#     Structures begin differing at:
#          $got->[0] = 'føø'
#     $expected->[0] = 'føø'
# Looks like you failed 1 test of 1.
t/ARGV.t .....................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

#   Failed test at t/ARGV_twice.t line 17.
#     Structures begin differing at:
#          $got->[0] = 'føø'
#     $expected->[0] = 'føø'
# Looks like you failed 1 test of 1.
t/ARGV_twice.t ...............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests

Comment 1 Paul Howarth 2014-08-28 14:49:01 UTC
This is triggered by update of utf8-all from 0.011 to 0.013. I tried the current upstream release of 0.015 but that didn't help. Will punt upstream.

Comment 2 Paul Howarth 2014-08-28 14:51:55 UTC
https://github.com/evalEmpire/perl5i/issues/279

Comment 3 Paul Howarth 2014-09-09 18:42:42 UTC
First of a series of upstream commits from PR/280 applied to fix this: further upstream commits from PR/281 cause regressions that have not yet been fixed.