DBD::CSV: make test fails

DBD::CSV: make test fails

am 12.10.2007 13:04:52 von rroggenb

Hello,

since a longer time I am using DBD::CSV for several purposes and were
quite happy with it. But now I try to install it on an old Linux Server
and the 'make test' fails in nearly every case. Can someone give some hints?

Here is the 'make test' part from the automated installation from CPAN
(perl -MCPAN...):

-----------------------------------
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /home/rroggenb/perl/bin/perl "-MExtUtils::Command::MM"
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........1.15 at t/00base.t line 15.
t/00base...........ok

t/10dsnlist........ok

t/20createdrop.....dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/30insertfetch....dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-17
Failed 16/17 tests, 5.88% okay
t/40bindparam......dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-28
Failed 27/28 tests, 3.57% okay
t/40blobs..........dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
t/40listfields.....dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-13
Failed 12/13 tests, 7.69% okay
t/40nulls..........dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
t/40numrows........dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-25
Failed 24/25 tests, 4.00% okay
t/50chopblanks.....dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-35
Failed 34/35 tests, 2.86% okay
t/50commit.........dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-16
Failed 15/16 tests, 6.25% okay
t/ak-dbd...........dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-47
Failed 46/47 tests, 2.13% okay
t/csv..............dubious

Test returned status 22 (wstat 5632, 0x1600)
DIED. FAILED tests 2-23
Failed 22/23 tests, 4.35% okay
t/dbdadmin.........dubious

Test returned status 0 (wstat 11, 0xb)
DIED. FAILED test 4
Failed 1/4 tests, 75.00% okay
Failed Test Stat Wstat Total Fail List of Failed
------------------------------------------------------------ -------------------
t/20createdrop.t 22 5632 5 8 2-5
t/30insertfetch.t 22 5632 17 32 2-17
t/40bindparam.t 22 5632 28 54 2-28
t/40blobs.t 22 5632 11 20 2-11
t/40listfields.t 22 5632 13 24 2-13
t/40nulls.t 22 5632 11 20 2-11
t/40numrows.t 22 5632 25 48 2-25
t/50chopblanks.t 22 5632 35 68 2-35
t/50commit.t 22 5632 16 30 2-16
t/ak-dbd.t 22 5632 47 92 2-47
t/csv.t 22 5632 23 44 2-23
t/dbdadmin.t 0 11 4 1 4
Failed 12/14 test scripts. 221/243 subtests failed.
Files=14, Tests=243, 7 wallclock secs ( 6.35 cusr + 0.59 csys = 6.94 CPU)
Failed 12/14 test programs. 221/243 subtests failed.
make: *** [test_dynamic] Error 255
JZUCKER/DBD-CSV-0.22.tar.gz
/usr/bin/make test -- NOT OK
-----------------------------------

My system identifies itself as follows (uname -a):

Linux serapis 2.2.14-2GB-SMP #1 SMP Mon May 8 10:24:19 MEST 2000 i686
unknown

And 'perl -V' results in the following:

-----------------------------------
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.2.14-2gb-smp, archname=i686-linux-ld
uname='linux serapis 2.2.14-2gb-smp #1 smp mon may 8 10:24:19 mest
2000 i686 unknown '
config_args='-Dcc=gcc -Dprefix=/home/rroggenb'
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=define
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='long double', nvsize=12,
Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldbm -ldb -ldl -lm -lcrypt -lutil -lc -lposix
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc -lposix
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.1.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_LONG_DOUBLE
USE_PERLIO
Built under linux
Compiled at Oct 11 2007 14:32:47
@INC:
/home/rroggenb/perl/lib/5.8.8/i686-linux-ld
/home/rroggenb/perl/lib/5.8.8
/home/rroggenb/perl/lib/site_perl/5.8.8/i686-linux-ld
/home/rroggenb/perl/lib/site_perl/5.8.8
/home/rroggenb/perl/lib/site_perl
.
-----------------------------------

Best regards

Robert

Re: DBD::CSV: make test fails

am 14.10.2007 02:46:33 von ron

Robert Roggenbuck wrote:

Hi Robert

> t/20createdrop.....dubious
> Test returned status 22 (wstat 5632, 0x1600)
> DIED. FAILED tests 2-5
> Failed 4/5 tests, 20.00% okay

Perhaps it's a permissions problem. Try running this test by itself, and
find if there is a specific statement (Perl, SQL) which fails.
--
Ron Savage
ron@savage.net.au
http://savage.net.au/index.html