Skip Menu |

This queue is for tickets about the scriptdist CPAN distribution.

Report information
The Basics
Id: 5294
Status: resolved
Worked: 5 min
Priority: 0/
Queue: scriptdist

People
Owner: bdfoy [...] cpan.org
Requestors: djerius [...] cfa.harvard.edu
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.11
Fixed in: (no value)



Subject: failed prereq test
Hi, scriptdist 0.11 fails in t/prereq.t with the following error: pelf% make test cp scriptdist blib/script/scriptdist /proj/axaf/sun4u-SunOS-5/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/scriptdist PERL_DL_NONLAZY=1 /proj/axaf/sun4u-SunOS-5/bin/perl "-MTest::Manifest" "-e" "run_t_manifest(0, 'blib/lib', 'blib/arch')" Test::Manifest::test_harness found [t/compile.t t/pod.t t/prereq.t] t/compile....ok t/pod........ok t/prereq.....Subroutine ExtUtils::MakeMaker::WriteMakefile redefined at /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2/Test/Prereq.pm line 103. Subroutine Test::Prereq::WriteMakefile redefined at /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2/Test/Prereq.pm line 259 Subroutine ExtUtils::MM_Any::test_via_harness redefined at ./Makefile.PL line 5. You tried to run a test without a plan! Gotta have a plan. at /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2/Test/Prereq.pm line 238 # Looks like your test died before it could output anything. t/prereq.....dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/prereq.t 2 512 ?? ?? % ?? Failed 1/3 test scripts, 66.67% okay. 0/2 subtests failed, 100.00% okay. *** Error code 2 Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4u-solaris-thread-multi uname='sunos pelf 5.8 generic_108528-23 sun4u sparc sunw,ultra-5_10 ' config_args='-de' hint=previous, 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_REENTRANT -I/proj/axaf/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-xO3 -native', cppflags='-D_REENTRANT -I/proj/axaf/include -D_REENTRANT -I/proj/axaf/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='Forte Developer 7 C 5.4 2002/03/09', 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='cc', ldflags =' -L/proj/axaf/sun4u-SunOS-5/lib -R/proj/axaf/sun4u-SunOS-5/lib -L/proj/axaf/sparc-SunOS-5/lib -R/proj/axaf/sparc-SunOS-5/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro_7/prod/lib ' libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro_7/prod/lib /proj/axaf/sun4u-SunOS-5/lib /proj/axaf/sparc-SunOS-5/lib libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/proj/axaf/sun4u-SunOS-5/lib -R/proj/axaf/sun4u-SunOS-5/lib -L/proj/axaf/sparc-SunOS-5/lib -R/proj/axaf/sparc-SunOS-5/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro_7/prod/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under solaris Compiled at Nov 14 2003 11:40:00 @INC: /proj/axaf/pkgs/perl-5.8.2/lib/5.8.2/sun4u-solaris-thread-multi /proj/axaf/pkgs/perl-5.8.2/lib/5.8.2 /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2/sun4u-solaris-thread-multi /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2 /proj/axaf/pkgs/perl-5.8.2/lib/site_perl . make: Fatal error: Command failed for target `test_dynamic' Here's the Perl version: Summary of my perl5 (revision 5.0 version 8 subversion 2) configuration: Platform: osname=solaris, osvers=2.8, archname=sun4u-solaris-thread-multi uname='sunos pelf 5.8 generic_108528-23 sun4u sparc sunw,ultra-5_10 ' config_args='-de' hint=previous, 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_REENTRANT -I/proj/axaf/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-xO3 -native', cppflags='-D_REENTRANT -I/proj/axaf/include -D_REENTRANT -I/proj/axaf/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='Forte Developer 7 C 5.4 2002/03/09', 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='cc', ldflags =' -L/proj/axaf/sun4u-SunOS-5/lib -R/proj/axaf/sun4u-SunOS-5/lib -L/proj/axaf/sparc-SunOS-5/lib -R/proj/axaf/sparc-SunOS-5/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro_7/prod/lib ' libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro_7/prod/lib /proj/axaf/sun4u-SunOS-5/lib /proj/axaf/sparc-SunOS-5/lib libs=-lsocket -lnsl -lgdbm -ldb -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-KPIC', lddlflags='-G -L/proj/axaf/sun4u-SunOS-5/lib -R/proj/axaf/sun4u-SunOS-5/lib -L/proj/axaf/sparc-SunOS-5/lib -R/proj/axaf/sparc-SunOS-5/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro_7/prod/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Built under solaris Compiled at Nov 14 2003 11:40:00 @INC: /proj/axaf/pkgs/perl-5.8.2/lib/5.8.2/sun4u-solaris-thread-multi /proj/axaf/pkgs/perl-5.8.2/lib/5.8.2 /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2/sun4u-solaris-thread-multi /proj/axaf/pkgs/perl-5.8.2/lib/site_perl/5.8.2 /proj/axaf/pkgs/perl-5.8.2/lib/site_perl .
From: slaven [...] rezic.de
[DJERIUS - Wed Feb 11 14:53:28 2004]: Show quoted text
> Hi, > > scriptdist 0.11 fails in t/prereq.t with the following error: >
[...] I got the same error. Manually changing the prereq.t solved one part of the problem: # $Id$ use Test::More; eval "use Test::Prereq"; if ($@) { plan skip_all => "Test::Prereq required to test dependencies" } else { plan tests => 1; prereq_ok(); } Now prereq.t complains that Test::More is missing in the PREREQ_PM section. Also, I think adding "Makefile.old" to .cvsignore is a good idea.