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

Re: On HP-UX 11.31 IA64, Storable builds but making Storable testsfails

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
March 29, 2011 03:08
Subject:
Re: On HP-UX 11.31 IA64, Storable builds but making Storable testsfails
Message ID:
20110329120803.4731e4c4@pc09.procura.nl
On Mon, 28 Mar 2011 17:24:06 +0300, Niskanen Mikko
<mikko.niskanen@cboss.fi> wrote:

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

Before I start digging/examining this, why on earth would you want to
use a 32bit perl on this system? Most interfacing with databases on
Itanium 11.31 is done through 64bit libraries.

Other than that, HP-UX porting center has perl-5.10.1 available here:
1) http://hpux.connect.org.uk/hppd/hpux/Languages/perl-5.10.1/

It is a real shame that HP itself still only offers 5.8.8. If you
want/need 5.12, you could visit my site here:
http://mirrors.develooper.com/hpux/#Perl
http://mirrors.develooper.com/hpux/downloads.html#hpux1131

$ swlist -l product | grep -i perl
  Perl5-32  D.5.8.8.F  32-bit Perl Programming Language with Extensions
  Perl5-64  D.5.8.8.F  64-bit Perl Programming Language with Extensions
which is what is on the March 2010 for 11.31 application software DVD

That could be renewed to E.5.8.8.H according to
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=PERL

but I never use that perl

> - Current installed Storable-2.15

On my system, current = 2.16 for that perl

$ perl5.8.8 -MStorable -wle'print $Storable::VERSION'
2.16

And what is you compiler version?

$ cc --version
cc: HP C/aC++ B3910B A.06.25.02 [Nov 25 2010]

> - Perl version:
> 
> # perl -V
> Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  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 '
*Interesting*
    osname=hpux, osvers=11.22, archname=IA64.ARCHREV_0-thread-multi
    uname='hp-ux bigsur03 b.11.22 u ia64 1800516905 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
    Compiled at Nov 16 2007 05:16:40
>   @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

Hmm, Mine looks different, using the same perl v5.8.8.

$ perl5.8.8 Makefile.PL
WARNING: META_MERGE is not a known parameter.
Checking if your kit is complete...
Looks good
Processing hints file hints/hpux.pl
'META_MERGE' is not a known MakeMaker parameter name.
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;
>         ^

$ make
cp Storable.pm blib/lib/Storable.pm
AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable)
/opt/perl_32/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 6428: 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         \
>                 \

/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

I don't even get that far:

$ make test
PERL_DL_NONLAZY=1 /opt/perl_32/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/attach_errors.......dubious
        Test returned status 0 (wstat 139, 0x8b)
DIED. FAILED tests 1-35
        Failed 35/35 tests, 0.00% okay
t/attach_singleton....dubious

> 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/>
> 
> 


-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | 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