Subject: | broken tests cause build failures on Ubuntu 14.10 and Strawberry Perl 64 Bit 5.20.1.1 |
Date: | Wed, 05 Nov 2014 22:58:30 -0500 |
To: | bug-Tie-Hash-Indexed [...] rt.cpan.org |
From: | Robert Hardy <rhardy [...] webcon.ca> |
Basically the only way to build Tie-Hash-Indexed is using cpan force
install as several tests are broken.
The built module still works fine. Here is an excerpt from the
Strawberry Perl 64 Bit 5.20.1.1 build:
Running install for module 'Tie::Hash::Indexed'
Checksum for
C:\STRAWB~1\cpan\sources\authors\id\M\MH\MHX\Tie-Hash-Indexed-0.05.tar.gz ok
Configuring M/MH/MHX/Tie-Hash-Indexed-0.05.tar.gz with Makefile.PL
Setting license tag...
Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Tie::Hash::Indexed
Writing MYMETA.yml and MYMETA.json
MHX/Tie-Hash-Indexed-0.05.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK
Running make for M/MH/MHX/Tie-Hash-Indexed-0.05.tar.gz
cp lib/Tie/Hash/Indexed.pm blib\lib\Tie\Hash\Indexed.pm
Running Mkbootstrap for Tie::Hash::Indexed ()
C:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644
Indexed.bs
C:\Strawberry\perl\bin\perl.exe C:\Strawberry\perl\lib\ExtUtils\xsubpp
-typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap -
typemap typemap Indexed.xs > Indexed.xsc &&
C:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e mv -- Indexed.xsc In
dexed.c
gcc -c -I. -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE
-DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SY
S -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s
-O2 -DVERSION=\"0.05\" -DXS_VERSION=\"0.05\" "
-IC:\STRAWB~1\perl\lib\CORE" -DNDEBUG Indexed.c
C:\Strawberry\perl\bin\perl.exe -MExtUtils::Mksymlists \
-e "Mksymlists('NAME'=>\"Tie::Hash::Indexed\", 'DLBASE' =>
'Indexed', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORT
S' => { }, 'DL_VARS' => []);"
dlltool --def Indexed.def --output-exp dll.exp
g++ -o blib\arch\auto\Tie\Hash\Indexed\Indexed.xs.dll -Wl,--base-file
-Wl,dll.base -mdll -s -L"C:\STRAWB~1\perl\lib\CORE
" -L"C:\STRAWB~1\c\lib" Indexed.o C:\STRAWB~1\perl\lib\CORE\libperl520.a
-lmoldname -lkernel32 -luser32 -lgdi32 -lwins
pool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32
-luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lod
bccp32 -lcomctl32 dll.exp
dlltool --def Indexed.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Tie\Hash\Indexed\Indexed.xs.dll -mdll -s
-L"C:\STRAWB~1\perl\lib\CORE" -L"C:\STRAWB~1\c\lib" Index
ed.o C:\STRAWB~1\perl\lib\CORE\libperl520.a -lmoldname -lkernel32
-luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -l
shell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm
-lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\Strawberry\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755
blib\arch\auto\Tie\Hash\Indexed\Indexed.xs.dll
MHX/Tie-Hash-Indexed-0.05.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- OK
Running make test
C:\Strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM"
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_h
arness(0, 'blib\lib', 'blib\arch')" t/*.t
t/101_basic.t ..... # Failed test 8 in t/101_basic.t at line 43
t/101_basic.t ..... 1/32 # t/101_basic.t line 43 is: skip($scalar, $s
=~ /^(\d+)\/\d+$/ && $1 == scalar keys %h);
# Failed test 11 in t/101_basic.t at line 49
# t/101_basic.t line 49 is: skip($scalar, $s =~ /^(\d+)\/\d+$/ && $1 ==
scalar keys %h);
# Failed test 14 in t/101_basic.t at line 55
# t/101_basic.t line 55 is: skip($scalar, $s =~ /^(\d+)\/\d+$/ && $1 ==
scalar keys %h);
t/101_basic.t ..... Failed 3/32 subtests
t/102_storable.t .. ok
t/103_bugs.t ...... ok
Test Summary Report
-------------------
t/101_basic.t (Wstat: 0 Tests: 32 Failed: 3)
Failed tests: 8, 11, 14
Files=3, Tests=69, 0 wallclock secs ( 0.05 usr + 0.00 sys = 0.05 CPU)
Result: FAIL
Failed 1/3 test programs. 3/69 subtests failed.
dmake.exe: Error code 255, while making 'test_dynamic'
MHX/Tie-Hash-Indexed-0.05.tar.gz
C:\STRAWB~1\c\bin\dmake.exe test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MHX/Tie-Hash-Indexed-0.05.tar.gz
Stopping: 'install' failed for 'Tie::Hash::Indexed'.