[Bug 1400921] New: [perl-Text-BibTeX] test failures on s390x
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1400921
Bug ID: 1400921
Summary: [perl-Text-BibTeX] test failures on s390x
Product: Fedora
Version: rawhide
Component: perl-Text-BibTeX
Assignee: cbm(a)m.fsf.org
Reporter: dan(a)danny.cz
QA Contact: extras-qa(a)fedoraproject.org
CC: cbm(a)m.fsf.org, mefoster(a)gmail.com,
perl-devel(a)lists.fedoraproject.org
Blocks: 467765 (ZedoraTracker)
I see test failures during builds of perl-Text-BibTeX on s390x (only)
from build.log
...
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7af9BO
+ umask 022
+ cd /builddir/build/BUILD
+ cd Text-BibTeX-0.77
+ ./Build test
gcc -I/usr/lib64/perl5/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -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
-march=z9-109 -mtune=z10 -fwrapv -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o /tmp/RvW6A6A3kz/library.o
/tmp/RvW6A6A3kz/library.c
gcc -I/usr/lib64/perl5/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -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
-march=z9-109 -mtune=z10 -fwrapv -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o /tmp/RvW6A6A3kz/test.o
/tmp/RvW6A6A3kz/test.c
gcc -shared -Wl,-z,relro -L/usr/local/lib -fstack-protector-strong -lperl -o
/tmp/RvW6A6A3kz/libfoo.so /tmp/RvW6A6A3kz/library.o
gcc -Wl,-z,relro -fstack-protector-strong -L/usr/local/lib -o
/tmp/RvW6A6A3kz/foo /tmp/RvW6A6A3kz/test.o -L/tmp/RvW6A6A3kz -lfoo
Checking for alloca.h... Checking for cc... gcc
yes
Creating new 'btparse/src/bt_config.h' from 'btparse/src/bt_config.h.in'.
** Creating Manpages
** Compiling C files
** Creating libbtparse.so
** Creating binaries (biblex, bibparse, dumpnames)
** Creating test binaries
** Preparing XS code
t/bib.t ......... ok
t/from_file.t ... ok
t/macro.t ....... ok
t/modify.t ...... ok
# Failed test 'first name is abbreviated correctly [1]'
# at t/nameformat.t line 40.
# got: ', J.'
# expected: 'J.'
# Failed test 'first name is abbreviated correctly [2]'
# at t/nameformat.t line 44.
# got: ', J.'
# expected: 'J.'
# Failed test 'accented first letter'
# at t/nameformat.t line 65.
# got: ', {\'E}.'
# expected: '{\'E}.'
# Failed test 'raw test 1'
# at t/nameformat.t line 104.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm
line 105.
# got: ', Š.'
# expected: 'Š.'
# Failed test 'raw test 2'
# at t/nameformat.t line 107.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm
line 105.
# got: ', Š.-Š.'
# expected: 'Š.-Š.'
# Failed test 'utf-8 [1]'
# at t/nameformat.t line 111.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm
line 105.
# got: ', Š.'
# expected: 'Š.'
# Failed test 'utf-8 [2]'
# at t/nameformat.t line 116.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm
line 105.
# got: ', Ż.'
# expected: 'Ż.'
# Failed test 'utf-8 [3]'
# at t/nameformat.t line 121.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm
line 105.
# got: ', Z̃.'
# expected: 'Z̃.'
# Failed test 'utf-8 [3]'
# at t/nameformat.t line 126.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm
line 105.
# got: ', A̧̦̓.'
# expected: 'A̧̦̓.'
# Looks like you failed 9 tests of 26.
t/nameformat.t ..
Dubious, test returned 9 (wstat 2304, 0x900)
Failed 9/26 subtests
substring 2, warning: empty substring
t/namelist.t .... ok
t/names.t ....... ok
t/output.t ...... ok
t/parse.t ....... ok
t/parse_f.t ..... ok
t/parse_s.t ..... ok
t/purify.t ...... ok
Test Summary Report
-------------------
t/nameformat.t (Wstat: 2304 Tests: 26 Failed: 9)
Failed tests: 4-5, 7, 11-16
Non-zero exit status: 9
Files=12, Tests=523, 1 wallclock secs ( 0.06 usr 0.01 sys + 0.78 cusr 0.10
csys = 0.95 CPU)
Result: FAIL
Failed 1/12 test programs. 9/523 subtests failed.
error: Bad exit status from /var/tmp/rpm-tmp.7af9BO (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.7af9BO (%check)
Child return code was: 1
EXCEPTION: [Error()]
for complete logs please see
http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2415658
Version-Release number of selected component (if applicable):
perl-Text-BibTeX-0.77-1.fc26
Additional info:
looking at http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=19138
it seems the tests started to fail during the rebase to perl 5.24
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=467765
[Bug 467765] Fedora for System z (s390): Bug Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
4 years, 1 month
[Bug 1242980] New: Compiler warnings in hv_func.h
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1242980
Bug ID: 1242980
Summary: Compiler warnings in hv_func.h
Product: Fedora
Version: rawhide
Component: perl
Assignee: jplesnik(a)redhat.com
Reporter: jsafrane(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: cweyl(a)alumni.drew.edu, iarnell(a)gmail.com,
jplesnik(a)redhat.com, kasal(a)ucw.cz,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rc040203(a)freenet.de,
tcallawa(a)redhat.com
I get following warnings when compiling net-snmp with -Wall:
gcc -c -I../../include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -g -O2
-Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -Wall -Wstrict-prototypes
-Wwrite-strings -Wcast-qual -I. -I/usr/local/include -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 -DVERSION=\"5.08\" -DXS_VERSION=\"5.08\" -fPIC
"-I/usr/lib64/perl5/CORE" default_store.c
In file included from /usr/lib64/perl5/CORE/hv.h:629:0,
from /usr/lib64/perl5/CORE/perl.h:3344,
from default_store.xs:6:
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_siphash_2_4’:
/usr/lib64/perl5/CORE/hv_func.h:201:23: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U64TYPE k0 = ((U64TYPE*)seed)[0];
^
/usr/lib64/perl5/CORE/hv_func.h:202:23: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U64TYPE k1 = ((U64TYPE*)seed)[1];
^
In file included from /usr/lib64/perl5/CORE/hv.h:629:0,
from /usr/lib64/perl5/CORE/perl.h:3344,
from default_store.xs:6:
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_superfast’:
/usr/lib64/perl5/CORE/hv_func.h:260:18: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 hash = *((U32*)seed) + len;
^
In file included from /usr/lib64/perl5/CORE/hv.h:629:0,
from /usr/lib64/perl5/CORE/perl.h:3344,
from default_store.xs:6:
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_murmur3’:
/usr/lib64/perl5/CORE/hv_func.h:364:16: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 h1 = *((U32*)seed);
^
In file included from /usr/lib64/perl5/CORE/hv.h:629:0,
from /usr/lib64/perl5/CORE/perl.h:3344,
from default_store.xs:6:
/usr/lib64/perl5/CORE/hv_func.h:401:21: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
k1 = U8TO32_LE(ptr);
^
/usr/lib64/perl5/CORE/hv_func.h:408:24: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
carry = U8TO32_LE(ptr);
^
/usr/lib64/perl5/CORE/hv_func.h:416:24: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
carry = U8TO32_LE(ptr);
^
/usr/lib64/perl5/CORE/hv_func.h:424:24: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
carry = U8TO32_LE(ptr);
^
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_djb2’:
/usr/lib64/perl5/CORE/hv_func.h:458:18: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 hash = *((U32*)seed + len);
^
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_sdbm’:
/usr/lib64/perl5/CORE/hv_func.h:468:18: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 hash = *((U32*)seed + len);
^
In file included from /usr/lib64/perl5/CORE/hv.h:629:0,
from /usr/lib64/perl5/CORE/perl.h:3344,
from default_store.xs:6:
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_one_at_a_time’:
/usr/lib64/perl5/CORE/hv_func.h:494:18: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 hash = *((U32*)seed) + len;
^
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_one_at_a_time_hard’:
/usr/lib64/perl5/CORE/hv_func.h:509:18: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 hash = *((U32*)seed) + len;
^
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_old_one_at_a_time’:
/usr/lib64/perl5/CORE/hv_func.h:544:18: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
U32 hash = *((U32*)seed);
^
This pollutes build logs and we may miss some useful warning. What about this?
- U32 hash = *((U32*)seed) + len;
+ U32 hash = (U32) *seed + len;
--
You are receiving this mail because:
You are on the CC list for the bug.
4 years, 1 month
[Bug 1348230] New: perl-Git-CPAN-Patch-2.3.0-2.fc25 FTBFS:
t/clone.t:
Tests out of sequence
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1348230
Bug ID: 1348230
Summary: perl-Git-CPAN-Patch-2.3.0-2.fc25 FTBFS: t/clone.t:
Tests out of sequence
Product: Fedora
Version: rawhide
Component: perl-Git-CPAN-Patch
Assignee: jplesnik(a)redhat.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, jplesnik(a)redhat.com,
mmaslano(a)redhat.com,
perl-devel(a)lists.fedoraproject.org
perl-Git-CPAN-Patch-2.3.0-2.fc25 fails to build in F25:
t/clone.t ..............
All 2 subtests passed
Test Summary Report
-------------------
t/clone.t (Wstat: 0 Tests: 4 Failed: 2)
Failed tests: 1-2
Parse errors: Tests out of sequence. Found (1) but expected (3)
Tests out of sequence. Found (2) but expected (4)
Bad plan. You planned 2 tests but ran 4.
Files=4, Tests=22, 16 wallclock secs ( 0.04 usr 0.00 sys + 14.74 cusr 1.31
csys = 16.09 CPU)
Result: FAIL
A difference between working and failing build root is:
perl-MooseX-Role-Tempdir 0.03-5.fc25 > 0.100-1.fc25
gc 7.4.2-6.fc25 > 7.4.4-1.fc25
perl-MooseX-Types-Path-Class 0.08-3.fc25 > 0.09-1.fc25
libcurl 7.49.1-2.fc25 > 7.49.1-3.fc25
perl-Mojolicious 6.64-1.fc25 > 6.66-1.fc25
curl 7.49.1-2.fc25 > 7.49.1-3.fc25
kernel-headers 4.7.0-0.rc3.git2.1.... > 4.7.0-0.rc3.git3.1....
--
You are receiving this mail because:
You are on the CC list for the bug.
4 years, 1 month