Subject: | Makefile.PL's version dependencies are imprecise |
Bug found in DBI-1.45 and DBI-1.46:
make test generated numerous failures until I upgraded from Test-Simple-0.40 to 0.49 (in doing so I also had to upgrade from Test-Harness-2.01; I chose to upgrade to 2.42), despite PREREQ_PM having "Test::Simple" => 0.40
Failures listed below:
[BP/sparcv9] DBI-1.45 $ make test
/bin/sh -c true
PERL_DL_NONLAZY=1 /opt/perl-5.6.1_64bit/bin/perl -Iblib/arch -Iblib/lib -I../../lib -I../../lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/01basics............ok, 4/110 skipped: developer tests
t/02dbidrv............ok
t/03handle............ok
t/04mods..............ok
t/05thrclone..........skipped: this solaris perl 5.006001 not configured to support iThreads
t/06attrs.............ok
t/07kids..............You tried to run a test without a plan! Gotta have a plan.
BEGIN failed--compilation aborted at t/07kids.t line 36.
t/07kids..............dubious
Test returned status 255 (wstat 65280, 0xff00)
t/08keeperr...........ok
t/09trace.............ok
t/10examp.............ok
t/14utf8..............skipped: Requires perl 5.8
t/15array.............ok
t/20meta..............ok
t/30subclass..........ok 13/36# Failed test (t/30subclass.t at line 125)
# got: ''
t/30subclass..........NOK 14# expected: 'DBD::Sponge::st fetch failed: Don't be so negative'
t/30subclass..........ok 36/36# Looks like you failed 1 tests of 36.
t/30subclass..........dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 14
Failed 1/36 tests, 97.22% okay
t/40profile...........ok
t/41prof_dump.........ok
t/42prof_data.........ok
t/50dbm...............ok
t/60preparse..........ok
t/80proxy.............skipped: modules required for proxy are probably not installed (e.g., RPC/PlClient.pm)
t/pod.................skipped: Test::Pod 1.00 required for testing POD
t/zvpp_01basics.......ok, 6/110 skipped: various reasons
t/zvpp_02dbidrv.......ok, 10/51 skipped: various reasons
t/zvpp_03handle.......ok, 69/124 skipped: various reasons
t/zvpp_04mods.........ok
t/zvpp_05thrclone.....skipped: this solaris perl 5.006001 not configured to support iThreads
t/zvpp_06attrs........ok, 7/137 skipped: various reasons
t/zvpp_07kids.........You tried to run a test without a plan! Gotta have a plan.
BEGIN failed--compilation aborted at t/07kids.t line 36.
...caught at t/zvpp_07kids.t line 3.
You tried to run a test without a plan! Gotta have a plan.
BEGIN failed--compilation aborted at t/07kids.t line 36.
...caught ...propagated at t/zvpp_07kids.t line 4.
FAILED before any test output arrived
t/zvpp_08keeperr......ok
t/zvpp_09trace........ok
t/zvpp_10examp........ok, 39/252 skipped: various reasons
t/zvpp_14utf8.........skipped: Requires perl 5.8
t/zvpp_15array........ok
t/zvpp_20meta.........ok
t/zvpp_30subclass.....NOK 14# Failed test (t/30subclass.t at line 125)
# got: ''
# expected: 'DBD::Sponge::st fetch failed: Don't be so negative'
t/zvpp_30subclass.....ok 36/36# Looks like you failed 1 tests of 36.
t/zvpp_30subclass.....dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 14
Failed 1/36 tests, 97.22% okay
t/zvpp_40profile......skipped: profiling not supported for DBI::PurePerl
t/zvpp_41prof_dump....skipped: profiling not supported for DBI::PurePerl
t/zvpp_42prof_data....skipped: profiling not supported for DBI::PurePerl
t/zvpp_50dbm..........ok
t/zvpp_60preparse.....skipped: preparse not supported for DBI::PurePerl
t/zvpp_80proxy........skipped: modules required for proxy are probably not installed (e.g., RPC/PlClient.pm)
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/07kids.t 255 65280 ?? ?? % ??
t/30subclass.t 1 256 36 1 2.78% 14
t/zvpp_07kids.t ?? ?? % ??
t/zvpp_30subclass.t 1 256 36 1 2.78% 14
11 tests and 135 subtests skipped.
Failed 4/41 test scripts, 90.24% okay. 2/1988 subtests failed, 99.90% okay.
make: *** [test_dynamic] Error 9
$ uname -a
SunOS lonwebhost11 5.8 Generic_108528-20 sun4u sparc
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris-64
uname='sunos lonwebhost11 5.8 generic_108528-20 sun4u sparc sunw,ultra-4 '
config_args='-Dprefix=/opt/perl-5.6.1_64bit -Dcf_email=xxxx@xxxx.com -Dcc=gcc -Doptimize=-O3 -Dd_bincompat3=undef -Dpager=/usr/local/bin/less -Dusemymalloc=yes -Dloclibpth=/opt/gdbm-1.8.0/lib /opt/db-1.85/lib -Dlocincpth=/opt/gdbm-1.8.0/include /opt/db-1.85/include -Duse64bitall -Dstartperl=#!/opt/perl-5.6.1_64bit/bin/perl -desO'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-mcpu=v9 -m64 -Wa,-xarch=v9 -fno-strict-aliasing -I/opt/db-1.85/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-mcpu=v9 -m64 -Wa,-xarch=v9 -fno-strict-aliasing -I/opt/db-1.85/include'
ccversion='', gccversion='3.2.2', gccosandvers='solaris2.8'
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -m64 -L/opt/db-1.85/lib '
libpth=/opt/db-1.85/lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lsocket -lnsl -ldb -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/usr/lib/sparcv9/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags=' -G -m64 -L/opt/db-1.85/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
Built under solaris
Compiled at Nov 4 2004 19:26:37
%ENV:
PERL5LIB="/home/aspiers/local/lib/perl5:/home/aspiers/lib/perl5:/home/lonlxadm/lib/perl5"
PERLDOC_PAGER="less -r"
@INC:
/home/aspiers/local/lib/perl5
/home/aspiers/lib/perl5
/home/lonlxadm/lib/perl5
/opt/perl-5.6.1_64bit/lib/5.6.1/sun4-solaris-64
/opt/perl-5.6.1_64bit/lib/5.6.1
/opt/perl-5.6.1_64bit/lib/site_perl/5.6.1/sun4-solaris-64
/opt/perl-5.6.1_64bit/lib/site_perl/5.6.1
/opt/perl-5.6.1_64bit/lib/site_perl
.