Subject: | t/003-usage.t fails on tests on AIX 6 with perl5.14.2 |
I've just managed to build and tests ExtUtils-ParseXS-3.05 on Solaris 10, RHEL 5, and AIX 6,
for all of perl5.10.1, 5.12.4 and 5.14.2, both 32 and 64 bit. On ONE of those combinations,
one of the tests fails.
Only 32 bit perl5.14.2 on AIX 6 fails, and It's not clear whether or not I can ignore this one
(until I build some of the CPAN modules that depend on this one, RSN....)
The test failure is:
[2011-11-04 14:16:53] Build command: cd /var/efsbuild/perl5-ExtUtils-ParseXS-3.05-
build001-build/powerpc32.aix.6/5.14/\
source/ExtUtils-ParseXS-3.05 && make test < /dev/null
[2011-11-04 14:16:54] PERL_DL_NONLAZY=1
/efs/dist/perl5/core/5.14/.exec/powerpc32.aix.6/bin/perl "-MExtUtils::Command:\
:MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[2011-11-04 14:17:01] t/001-basic.t ............................ ok
[2011-11-04 14:17:09] t/002-more.t ............................. ok
[2011-11-04 14:17:15]
[2011-11-04 14:17:15] # Failed test at t/003-usage.t line 57.
[2011-11-04 14:17:15] # got: 'XSUsage.pm did not return a true value at t/003-
usage.t line 56.
[2011-11-04 14:17:15] # '
[2011-11-04 14:17:15] # expected: ''
[2011-11-04 14:17:15] # Looks like you failed 1 test of 24.
[2011-11-04 14:17:15] t/003-usage.t ............................
[2011-11-04 14:17:15] Dubious, test returned 1 (wstat 256, 0x100)
[2011-11-04 14:17:15] Failed 1/24 subtests
[2011-11-04 14:17:24] t/004-nolinenumbers.t .................... ok
[2011-11-04 14:17:24] t/101-standard_typemap_locations.t ....... ok
[2011-11-04 14:17:24] t/102-trim_whitespace.t .................. ok
[2011-11-04 14:17:25] t/103-tidy_type.t ........................ ok
[2011-11-04 14:17:25] t/104-map_type.t ........................ ok
[2011-11-04 14:17:25] t/105-valid_proto_string.t ............... ok
[2011-11-04 14:17:25] t/106-process_typemaps.t ................. ok
[2011-11-04 14:17:26] t/107-make_targetable.t .................. ok
[2011-11-04 14:17:26] t/108-map_type.t ......................... ok
[2011-11-04 14:17:26] t/109-standard_XS_defs.t ................. ok
[2011-11-04 14:17:26] t/110-assign_func_args.t ................. ok
[2011-11-04 14:17:27] t/111-analyze_preprocessor_statements.t .. ok
[2011-11-04 14:17:27] t/112-set_cond.t ......................... ok
[2011-11-04 14:17:28] t/113-check_cond_preproc_statements.t .... ok
[2011-11-04 14:17:28] t/114-blurt_death_Warn.t ................. ok
[2011-11-04 14:17:28] t/501-t-compile.t ........................ ok
[2011-11-04 14:17:29] t/510-t-bare.t ........................... ok
[2011-11-04 14:17:30] t/511-t-whitespace.t ..................... ok
[2011-11-04 14:17:30] t/512-t-file.t ........................... ok
[2011-11-04 14:17:31] t/513-t-merge.t .......................... ok
[2011-11-04 14:17:34] t/600-t-compat.t ......................... ok
[2011-11-04 14:17:34]
[2011-11-04 14:17:34] Test Summary Report
[2011-11-04 14:17:34] -------------------
[2011-11-04 14:17:34] t/003-usage.t (Wstat: 256 Tests: 24 Failed: 1)
[2011-11-04 14:17:34] Failed test: 7
[2011-11-04 14:17:34] Non-zero exit status: 1
[2011-11-04 14:17:34] Files=24, Tests=212, 40 wallclock secs ( 0.14 usr 0.04 sys + 2.98
cusr 0.65 csys = 3.81 CPU)
[2011-11-04 14:17:34] Result: FAIL
[2011-11-04 14:17:34] Failed 1/24 test programs. 1/212 subtests failed.
[2011-11-04 14:17:34] make: *** [test_dynamic] Error 255
I attempted to debug this, but got nowhere. In the debugger:
[efsops@shou18l560-02 ExtUtils-ParseXS-3.05]$ perl -d -Mblib t/003-usage.t
Loading DB routines from perl5db.pl version 1.33
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(t/003-usage.t:9): if ( $] < 5.008 ) {
DB<1> c
1..24
ok 1 - require ExtUtils::ParseXS;
ok 2 - Create an output file
gcc -I/var/efsbuild/perl5-ExtUtils-ParseXS-3.05-build001-
build/powerpc32.aix.6/5.14/lib/CORE -c -O2 -O -o XSUsage.o XSUsage.c
ok 3
ok 4 - Make sure XSUsage.o exists
gcc -maix32 -Wl,-bhalt:4 -Wl,-G -Wl,-bI:/var/efsbuild/perl5-ExtUtils-ParseXS-3.05-
build001-build/powerpc32.aix.6/5.14/lib/CORE/perl.exp -Wl,-bE:XSUsage.exp -Wl,-
bnoentry -lpthreads -lc -lm -L/usr/lib -o XSUsage.so XSUsage.o
ok 5
ok 6 - Make sure XSUsage.so exists
Bizarre copy of BIND in scalar assignment at /efs/dist/perl5/core/5.14.2-
build002/.exec/powerpc32.aix.6/lib/perl5/perl5db.pl line 1945.
at /efs/dist/perl5/core/5.14.2-build002/.exec/powerpc32.aix.6/lib/perl5/perl5db.pl line
1945
DB::DB called at t/003-usage.t line 57
Bizarre copy of BIND in scalar assignment at /efs/dist/perl5/core/5.14.2-
build002/.exec/powerpc32.aix.6/lib/perl5/perl5db.pl line 1945.
Bizarre copy of BIND in scalar assignment at /efs/dist/perl5/core/5.14.2-
build002/.exec/powerpc32.aix.6/lib/perl5/perl5db.pl line 1945.
Bizarre copy of BIND in scalar assignment at /efs/dist/perl5/core/5.14.2-
build002/.exec/powerpc32.aix.6/lib/perl5/perl5db.pl line 1945.
ALL of the other tests pass, and it's just this one that fails, so it's not clear to me (again, until
I have built some of it's dependent CPAN modules) whether or not this one matters.