develooper Front page | perl.perl5.porters | Postings from March 2011

On HP-UX 11.31 IA64, Storable builds but making Storable tests fails

Thread Next
From:
Niskanen Mikko
Date:
March 29, 2011 02:08
Subject:
On HP-UX 11.31 IA64, Storable builds but making Storable tests fails
Message ID:
F3F2A3FAC7D0C0468645AEDD8294A61D21DD20B3F4@CBOSSEXC01.PTJ085.local

                             Aye,

                             Facts:


-          HP-UX 11.31 on IA64 architecture, September 2010 Full OE update
(i.e. latest available, March 2011 not available yet)

-          Current installed Storable-2.15

-          Perl version:

# perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=hpux, osvers=11.23, archname=IA64.ARCHREV_0-thread-multi
    uname='hp-ux buzz b.11.23 u ia64 3101164512 unlimited-user license '
    config_args='-Dmksymlinks -ders -Dcc=cc -Dusethreads -Duseithreads -Ud_sigsetjmp -Uinstallusrbinperl -Ulocincpth= -Uloclibpth= -Dsh=/usr/bin/sh -Dd_attribut=undef -Dd_attribute_warn_unused_result=undef -Dd_u32align=define -Aprepend:libswanted=cl  -Dvendorprefix=/opt/perl_32 -Accflags=+DSitanium2 -Doptimize=-fast +Ofltacc=strict -Accflags=+Z -Accflags=-DUSE_SITECUSTOMIZE -Duselargefiles -Accflags=-DNO_HASH_SEED -Dprefix=/opt/perl_32 -Dinc_version_list=5.8.7/$archname 5.8.7 5.8.6/$archname 5.8.6 5.8.4/$archname 5.8.4 5.8.3/$archname 5.8.3 5.8.2/$archname 5.8.2 5.8.1/$archname 5.8.1 5.8.0/$archname 5.8.0 -Dsed=/usr/bin/sed -Duseshrplib -Dconfig_heavy=Config_dynamic.pl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags =' -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ',
    optimize='-fast +Ofltacc=strict',
    cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED'
    ccversion='', gccversion='', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='/usr/bin/ld', ldflags =' -L/usr/lib/hpux32'
    libpth=/usr/lib/hpux32 /lib /usr/lib /usr/ccs/lib /usr/local/lib
    libs=-lcl -lnsl -lnm -lndbm -ldl -ldld -lm -lsec -lpthread -lc
    perllibs=-lcl -lnsl -lnm -ldl -ldld -lm -lsec -lpthread -lc
    libc=/usr/lib/hpux32/libc.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '
    cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/lib/hpux32'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_REENTRANT_API USE_SITECUSTOMIZE
  Built under hpux
  Compiled at Nov 28 2008 11:52:02
  @INC:
    /opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi
    /opt/perl_32/lib/5.8.8
    /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi
    /opt/perl_32/lib/site_perl/5.8.8
    /opt/perl_32/lib/site_perl
    /opt/perl_32/lib/vendor_perl/5.8.8/IA64.ARCHREV_0-thread-multi
    /opt/perl_32/lib/vendor_perl/5.8.8
    /opt/perl_32/lib/vendor_perl
    .


-          Fails in gmake test:


# perl Makefile.PL
Checking if your kit is complete...
Looks good
Processing hints file hints/hpux.pl
Writing Makefile for Storable

# gmake
cp Storable.pm blib/lib/Storable.pm
AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable)
/usr/bin/perl /opt/perl_32/lib/5.8.8/ExtUtils/xsubpp  -typemap /opt/perl_32/lib/5.8.8/ExtUtils/typemap  Storable.xs > Storable.xsc && mv Storable.xsc Storable.c
cc -c   -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Ofltacc=strict   -DVERSION=\"2.25\" -DXS_VERSION=\"2.25\" +Z "-I/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/CORE"   Storable.c
"Storable.c", line 6407: warning #2111-D: statement is unreachable
        PUTBACK;
        ^

Running Mkbootstrap for Storable ()
chmod 644 Storable.bs
rm -f blib/arch/auto/Storable/Storable.so
/usr/bin/ld  -b +vnocompatwarnings -L/usr/lib/hpux32 Storable.o  -o blib/arch/auto/Storable/Storable.so         \
                \

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
Manifying blib/man3/Storable.3

# gmake test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/attach_errors.t ..... ok
t/attach_singleton.t .. ok
t/blessed.t ........... ok
t/canonical.t ......... Failed 8/8 subtests
t/circular_hook.t ..... Failed 9/9 subtests
t/code.t .............. ok
t/compat01.t .......... skipped: Test only works for 32 bit little-ending machines
t/compat06.t .......... ok
t/croak.t ............. ok
t/dclone.t ............ ok
t/downgrade.t ......... ok
t/file_magic.t ........ ok
t/forgive.t ........... Failed 8/8 subtests
t/freeze.t ............ Failed 21/21 subtests
t/integer.t ........... ok
t/interwork56.t ....... skipped: Your IVs are no larger than your longs
t/just_plain_nasty.t .. ok
t/lock.t .............. ok
t/malice.t ............ ok
t/overload.t .......... Failed 19/19 subtests
t/recurse.t ........... Failed 33/33 subtests
t/restrict.t .......... ok
t/retrieve.t .......... Failed 14/14 subtests
t/sig_die.t ........... ok
t/store.t ............. No subtests run
t/threads.t ........... ok
t/tied.t .............. Failed 23/23 subtests
t/tied_hook.t ......... Failed 28/28 subtests
t/tied_items.t ........ ok
t/utf8.t .............. Failed 6/6 subtests
t/utf8hash.t .......... Failed 141/144 subtests
t/weak.t .............. ok

Test Summary Report
-------------------
t/canonical.t       (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
t/circular_hook.t   (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 9 tests but ran 0.
t/forgive.t         (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
t/freeze.t          (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 21 tests but ran 0.
t/overload.t        (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 19 tests but ran 0.
t/recurse.t         (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 33 tests but ran 0.
t/retrieve.t        (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 14 tests but ran 0.
t/store.t           (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: No plan found in TAP output
t/tied.t            (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 23 tests but ran 0.
t/tied_hook.t       (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 28 tests but ran 0.
t/utf8.t            (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 6 tests but ran 0.
t/utf8hash.t        (Wstat: 139 Tests: 3 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 144 tests but ran 3.
Files=32, Tests=2011,  6 wallclock secs ( 0.64 usr  0.21 sys +  3.26 cusr  0.85 csys =  4.96 CPU)
Result: FAIL
Failed 12/32 test programs. 0/2011 subtests failed.
gmake: *** [test_dynamic] Error 255

                             br,


                                                          -MNi


--
Mikko Niskanen, Support Engineer
Tel. +358 40 572 9902
CBOSS Oy, P.O. Box 300, FI-00381 HELSINKI
http://www.cbossgroup.com<http://www.cbossgroup.com/>



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