Skip Menu |

This queue is for tickets about the version CPAN distribution.

Report information
The Basics
Id: 24244
Status: resolved
Priority: 0/
Queue: version

People
Owner: Nobody in particular
Requestors: andyford [...] agedwards.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.68
Fixed in: (no value)



Subject: all test fail on HP-UX
version-0.68 HP-UX hqmnntu1 B.11.00 A 9000/800 891950666 two-user license $ perl -V Summary of my perl5 (revision 5 version 8 subversion 8 patch 27029) configuration: Platform: osname=hpux, osvers=11.00, archname=PA-RISC2.0 uname='hp-ux a5 b.11.00 u 9000800 871940681 unlimited-user license ' config_args='-Dusedevel -Dcc=gcc -des' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-mpa-risc-2-0 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-g -O', cppflags='-mpa-risc-2-0 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -mpa-risc-2-0 -DPERL_DONT_CREATE_GVSV -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/pro/local/include' ccversion='', gccversion='4.0.2', 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/pro/local/lib' libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt -lsec -lc perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='-fPIC', lddlflags='-b -L/pro/local/lib' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Locally applied patches: defined-or Built under hpux Compiled at Feb 1 2006 12:12:58 @INC: /opt/perl/lib/5.8.8/PA-RISC2.0 /opt/perl/lib/5.8.8 /opt/perl/lib/site_perl/5.8.8/PA-RISC2.0 /opt/perl/lib/site_perl/5.8.8 /opt/perl/lib/site_perl . $ make test make[1]: Entering directory `/u02/src/for-perl-5.8.8/version-0.68/vutil' make[1]: Leaving directory `/u02/src/for-perl-5.8.8/version-0.68/vutil' PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01base.......dubious Test returned status 0 (wstat 139, 0x8b) t/02derived....dubious Test returned status 0 (wstat 139, 0x8b) t/03require....dubious Test returned status 0 (wstat 139, 0x8b) FAILED--3 test scripts could be run, alas--no output ever seen make: *** [test_dynamic] Error 255
Subject: Re: [rt.cpan.org #24244] all test fail on HP-UX
Date: Mon, 08 Jan 2007 11:14:16 -0500
To: bug-version [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
andyford@agedwards.com via RT wrote: Show quoted text
> $ make test > make[1]: Entering directory `/u02/src/for-perl-5.8.8/version-0.68/vutil' > make[1]: Leaving directory `/u02/src/for-perl-5.8.8/version-0.68/vutil' > PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/01base.......dubious > > Test returned status 0 (wstat 139, 0x8b) > t/02derived....dubious > > Test returned status 0 (wstat 139, 0x8b) > t/03require....dubious > > Test returned status 0 (wstat 139, 0x8b) > FAILED--3 test scripts could be run, alas--no output ever seen > make: *** [test_dynamic] Error 255 >
I don't have access to any HP-UX boxes (unless HP has a testdrive program, I'll check). If you can give me access to this box, please let me know. Otherwise, I need you to try and run one of those tests in verbose mode so I can see where things are failing. A backtrace would be even better. I've gotten a single report of coredumps at the end of the tests (from Cygwin), so if this is the same problem under HP-UX, that would give me a big headstart in figuring it out... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
From: andyford [...] agedwards.com
I'm behind a financial fortress, so I'll have to debug. Attached is verbose make test output. The tests do dump core but I don't have debugging-enabled Perl. I'll start working on that today.
Download version_make_test_verbose
application/octet-stream 10.3k

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #24244] all test fail on HP-UX
Date: Mon, 08 Jan 2007 12:44:30 -0500
To: bug-version [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
andyford@agedwards.com via RT wrote: Show quoted text
> Queue: version > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=24244 > > > I'm behind a financial fortress, so I'll have to debug. > Attached is verbose make test output. > The tests do dump core but I don't have debugging-enabled Perl. > I'll start working on that today.
Don't bother, it isn't specific to HP-UX, but rather to your use of "-DPERL_DONT_CREATE_GVSV" (which is also common to a report under Cygwin). Now that I have confirmed that define is the root cause, I can build a Perl on my own system and reconstruct the failure path. Thanks! John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Subject: Re: [rt.cpan.org #24244] all test fail on HP-UX
Date: Mon, 08 Jan 2007 13:00:28 -0500
To: bug-version [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
John Peacock via RT wrote: Show quoted text
> Don't bother, it isn't specific to HP-UX, but rather to your use of > "-DPERL_DONT_CREATE_GVSV" (which is also common to a report under > Cygwin). Now that I have confirmed that define is the root cause, I can > build a Perl on my own system and reconstruct the failure path.
Try applying this: === vutil/vxs.xs ================================================================== --- vutil/vxs.xs (revision 243) +++ vutil/vxs.xs (local) @@ -207,7 +207,7 @@ gvp = pkg ? (GV**)hv_fetch(pkg,"VERSION",7,FALSE) : Null(GV**); - if (gvp && isGV(gv = *gvp) && SvOK(sv = GvSV(gv))) { + if (gvp && isGV(gv = *gvp) && (sv = GvSV(gv))&& SvOK(sv)) { SV *nsv = sv_newmortal(); sv_setsv(nsv, sv); sv = nsv; and see if that doesn't fix your problem... John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
Subject: Re: [rt.cpan.org #24244] all test fail on HP-UX
Date: Mon, 08 Jan 2007 13:18:03 -0500
To: bug-version [...] rt.cpan.org
From: John Peacock <jpeacock [...] rowman.com>
andyford@agedwards.com via RT wrote: Show quoted text
> Queue: version > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=24244 > > > I'm behind a financial fortress, so I'll have to debug. > Attached is verbose make test output. > The tests do dump core but I don't have debugging-enabled Perl. > I'll start working on that today.
What was the origin of this particular Perl (i.e. did you build it yourself or is someone shipping PERL_DONT_CREATE_GVSV enabled Perls)? John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748
From: andyford [...] agedwards.com
On Mon Jan 08 13:18:00 2007, jpeacock@rowman.com wrote: Show quoted text
> andyford@agedwards.com via RT wrote:
> > Queue: version > > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=24244 > > > > > I'm behind a financial fortress, so I'll have to debug. > > Attached is verbose make test output. > > The tests do dump core but I don't have debugging-enabled Perl. > > I'll start working on that today.
> > What was the origin of this particular Perl (i.e. did you build it > yourself or is someone shipping PERL_DONT_CREATE_GVSV enabled Perls)? > > John >
http://mirrors.develooper.com/hpux/
From: andyford [...] agedwards.com
On Mon Jan 08 13:00:28 2007, jpeacock@rowman.com wrote: Show quoted text
> John Peacock via RT wrote:
> > Don't bother, it isn't specific to HP-UX, but rather to your use of > > "-DPERL_DONT_CREATE_GVSV" (which is also common to a report under > > Cygwin). Now that I have confirmed that define is the root cause, I
can Show quoted text
> > build a Perl on my own system and reconstruct the failure path.
> > Try applying this: > > === vutil/vxs.xs > ================================================================== > --- vutil/vxs.xs (revision 243) > +++ vutil/vxs.xs (local) > @@ -207,7 +207,7 @@ > > gvp = pkg ? (GV**)hv_fetch(pkg,"VERSION",7,FALSE) : Null(GV**); > > - if (gvp && isGV(gv = *gvp) && SvOK(sv = GvSV(gv))) { > + if (gvp && isGV(gv = *gvp) && (sv = GvSV(gv))&& SvOK(sv)) { > SV *nsv = sv_newmortal(); > sv_setsv(nsv, sv); > sv = nsv; > > and see if that doesn't fix your problem... > > John >
Looks good! See attached for some skips.
Download version_make_test_verbose2
application/octet-stream 15.3k

Message body not shown because it is not plain text.

Fixed in 0.69