develooper Front page | perl.perl5.porters | Postings from June 2002

Storable 2.04 'make test' failure on AIX, perl 5.005_03

Thread Next
From:
Ken Williams
Date:
June 26, 2002 00:28
Subject:
Storable 2.04 'make test' failure on AIX, perl 5.005_03
Message ID:
E4E8B0F3-88CD-11D6-9596-0003936C1626@ee.usyd.edu.au
Hi,

I downloaded Storable-2.04 and did 'perl Makefile.PL LIB=~/lib 
CC=/usr/vacpp/bin/xlc', then 'make test'.  Here was the 
Makefile.PL output:

=========================================================================
Checking if your kit is complete...
Looks good
Writing Makefile for Storable
mkdir blib
mkdir blib/lib
cp Storable.pm blib/lib/Storable.pm
AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable)
         /usr/bin/perl "-I/usr/opt/perl5/lib/5.00503/aix" 
"-I/usr/opt/perl5/lib/5.00503" -e 'use ExtUtils::Mksymlists;  
Mksymlists("NAME" => "Storable", "DL_FUNCS" => {  }, 
"FUNCLIST" => [], "DL_VARS" => []);'
         /usr/bin/perl -I/usr/opt/perl5/lib/5.00503/aix 
-I/usr/opt/perl5/lib/5.00503 
/usr/opt/perl5/lib/5.00503/ExtUtils/xsubpp  -typemap 
/usr/opt/perl5/lib/5.00503/ExtUtils/typemap Storable.xs 
 >xstmp.c && mv xstmp.c Storable.c
         /usr/vacpp/bin/xlc -c  -D_ALL_SOURCE -D_ANSI_C_SOURCE 
-D_POSIX_SOURCE -qmaxmem=16384 -O     -DVERSION=\"2.04\"  
-DXS_VERSION=\"2.04\"  -I/usr/opt/perl5/lib/5.00503/aix/CORE  
Storable.c
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Storable
Running Mkbootstrap for Storable ()
         chmod 644 Storable.bs
         LD_RUN_PATH="" ld -o 
blib/arch/auto/Storable/Storable.so  -bhalt:4 -bM:SRE 
-bI:/usr/opt/perl5/lib/5.00503/aix/CORE/perl.exp 
-bE:Storable.exp -b noentry -lc Storable.o
         chmod 755 blib/arch/auto/Storable/Storable.so
         cp Storable.bs blib/arch/auto/Storable/Storable.bs
         chmod 644 blib/arch/auto/Storable/Storable.bs
=========================================================================

Then 'make test' failed 4 subtests of t/integer.t .  Here are 
the failures (I've snipped out most of the successes.


  -Ken


=========================================================================
 > make test TEST_FILES=t/integer.t TEST_VERBOSE=1
         PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/usr/opt/perl5/lib/5.00503/aix -I/usr/opt/perl5/lib/5.00503 -e 
'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests 
@ARGV;' t/integer.t
t/integer...........1..850
ok 1 - Should be no error dcloning
....snip...
ok 80 - dclone -2147483647 (sign)
ok 81 - Should be no error dcloning
ok 82 - dlcone is only 1 process, not 2
#     Failed test (t/integer.t at line 151)
ok 83 - got back a scalar ref?
ok 84 - dclone -2147483648 (bitpattern)
ok 85 - dclone -2147483648 (sign)
ok 86 - Should be no error dcloning
ok 87 - dlcone is only 1 process, not 2
ok 88 - got back a scalar ref?
not ok 89 - dclone -2147483649 (bitpattern)
ok 90 - dclone -2147483649 (sign)
# Passed in -2147483649  (0, 0)
# got back '-2147483649' (0, 0)
ok 91 - Should be no error dcloning
ok 92 - dlcone is only 1 process, not 2
ok 93 - got back a scalar ref?
ok 94 - dclone 2147483646 (bitpattern)
....snip...
ok 253 - got back a scalar ref?
ok 254 - freeze/thaw -2147483648 (bitpattern)
ok 255 - freeze/thaw -2147483648 (sign)
ok 256 - Should be no error freezing
#     Failed test (t/integer.t at line 151)
ok 257 - Should be no error thawing
ok 258 - got back a scalar ref?
not ok 259 - freeze/thaw -2147483649 (bitpattern)
ok 260 - freeze/thaw -2147483649 (sign)
# Passed in -2147483649  (0, 0)
# got back '-2147483649' (0, 0)
ok 261 - Should be no error freezing
ok 262 - Should be no error thawing
....snip...
ok 593 - got back a scalar ref?
ok 594 - store/retrieve -2147483648 (bitpattern)
ok 595 - store/retrieve -2147483648 (sign)
#     Failed test (t/integer.t at line 151)
ok 596 - Should be no error storing
ok 597 - Should be no error retrieving
ok 598 - got back a scalar ref?
not ok 599 - store/retrieve -2147483649 (bitpattern)
ok 600 - store/retrieve -2147483649 (sign)
# Passed in -2147483649  (0, 0)
# got back '-2147483649' (0, 0)
ok 601 - Should be no error storing
ok 602 - Should be no error retrieving
ok 603 - got back a scalar ref?
....snip...
ok 766 - Should be no error storing
ok 767 - Should be no error retrieving
ok 768 - got back a scalar ref?
not ok 769 - nstore/retrieve -2147483649 (bitpattern)
#     Failed test (t/integer.t at line 151)
ok 770 - nstore/retrieve -2147483649 (sign)
# Passed in -2147483649  (0, 0)
# got back '-2147483649' (0, 0)
ok 771 - Should be no error storing
ok 772 - Should be no error retrieving
ok 773 - got back a scalar ref?
....snip...
ok 848 - got back a scalar ref?
ok 849 - nstore/retrieve 2627509404 (bitpattern)
ok 850 - nstore/retrieve 2627509404 (sign)
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/integer.t       4  1024   850    4   0.47%  89, 259, 599, 769
Failed 1/1 test scripts, 0.00% okay. 4/850 subtests failed, 99.53% okay.
=========================================================================


[sa0110e0:~/lib] kenw> perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
   Platform:
     osname=aix, osvers=4.3.3.0, archname=aix
     uname='aix funny 3 4 000001716600 '
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef useperlio=undef d_sfio=undef
   Compiler:
     cc='cc', optimize='-O', gccversion=
     cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=16384'
     ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE 
-qmaxmem=16384'
     stdchar='unsigned char', d_stdstdio=define, usevfork=false
     intsize=4, longsize=4, ptrsize=4, doublesize=8
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     alignbytes=8, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='ld', ldflags ='-s'
     libpth=/lib /usr/lib /usr/ccs/lib
     libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -lC_r
     libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
     cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE 
-bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -b noentry -lc'


Characteristics of this binary (from libperl):
   Built under aix
   Compiled at Aug 14 1999 08:59:55
   %ENV:
     PERL5LIB="/h/cmcrc/kenw/lib"
   @INC:
     /h/cmcrc/kenw/lib/aix
     /h/cmcrc/kenw/lib
     /usr/opt/perl5/lib/5.00503/aix
     /usr/opt/perl5/lib/5.00503
     /usr/opt/perl5/lib/site_perl/5.005/aix
     /usr/opt/perl5/lib/site_perl/5.005
     .


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About