Subject: | make test DBD::AnyData 0.110 failed |
Date: | Wed, 18 Mar 2015 09:33:46 +0000 |
To: | "bug-DBD-AnyData [...] rt.cpan.org" <bug-DBD-AnyData [...] rt.cpan.org> |
From: | PELLETIER Alain <alain.pelletier [...] partecis.eu> |
Hello,
I try to install DBD::AnyData 0.110 on an AIX server, but make test failed:
Show quoted text
>perl Makefile.PL
Writing Makefile for DBD::AnyData
Show quoted text>make
cp lib/DBD/AnyData.pm blib/lib/DBD/AnyData.pm
Manifying blib/man3/DBD::AnyData.3
Show quoted text>make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ... 1/1 # Testing DBD::AnyData 0.110, Perl 5.012001, /usr/bin/perl
t/00-load.t ... ok
t/01-basic.t .. 1/? table=test_CSV, dir=/opt/perl/MPX/install/module/AnyData/DBD-AnyData-0.110/test_output
DBD::AnyData::db do failed:
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 65.
[for Statement "CREATE TABLE test_CSV (name TEXT, country TEXT,sex TEXT)"] at t/01-basic.t line 65.
# Failed test 'CREATE test_CSV'
# at t/01-basic.t line 66.
DBD::AnyData::db do failed:
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 66.
[for Statement "INSERT INTO test_CSV VALUES ('Sue','fr','f')"] at t/01-basic.t line 67.
# Failed test 'INSERT 1. row into test_CSV'
# at t/01-basic.t line 67.
DBD::AnyData::db do failed:
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 67.
[for Statement "INSERT INTO test_CSV VALUES ('Tom','fr','f')"] at t/01-basic.t line 68.
# Failed test 'INSERT 2. row into test_CSV'
# at t/01-basic.t line 68.
DBD::AnyData::db do failed:
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 68.
[for Statement "INSERT INTO test_CSV VALUES ('Bev','en','f')"] at t/01-basic.t line 69.
# Failed test 'INSERT 3. row into test_CSV'
# at t/01-basic.t line 69.
DBD::AnyData::db do failed:
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 69.
[for Statement "UPDATE test_CSV SET sex='m' WHERE name = 'Tom'"] at t/01-basic.t line 70.
# Failed test 'UPDATE test_CSV'
# at t/01-basic.t line 70.
DBD::AnyData::db do failed:
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 70.
[for Statement "DELETE FROM test_CSV WHERE name = 'Bev'"] at t/01-basic.t line 71.
# Failed test 'DELETE FROM test_CSV'
# at t/01-basic.t line 71.
Execution ERROR: Can't call method "complete_table_name" on an undefined value at /opt/perl/MPX/perl5/lib/site_perl/5.12.1/aix-thread-multi-64all/DBI/DBD/SqlEngine.pm line 1509.
called from t/01-basic.t at 79.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 9.
t/01-basic.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 6/9 subtests
t/manifest.t .. skipped: Author tests not required for installation
t/pod.t ....... skipped: Test::Pod 1.22 required for testing POD
Test Summary Report
-------------------
t/01-basic.t (Wstat: 512 Tests: 9 Failed: 6)
Failed tests: 4-9
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=4, Tests=10, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.22 cusr 0.02 csys = 0.28 CPU)
Result: FAIL
Failed 1/4 test programs. 6/10 subtests failed.
make: 1254-004 The error code from the last command is 255.
Stop.
My Perl is:
Summary of my perl5 (revision 5 version 12 subversion 1) configuration:
Platform:
osname=aix, osvers=5.3.0.0, archname=aix-thread-multi-64all
uname='aix p-a53-tst-008-a 3 5 00005a9fd600 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc -q64', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -DUSE_64_BIT_ALL -q64',
optimize='-O',
cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT'
ccversion='8.0.0.0', gccversion='', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld', ldflags ='-brtl -bdynamic -bmaxdata:0x80000000 -b64'
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lbind -lnsl -ldbm -ldl -lld -lm -lcrypt -lpthreads -lc
perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc
libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/opt/perl/MPX/perl5/lib/5.12.1/aix-thread-multi-64all/CORE/perl.exp'
cccdlflags=' ', lddlflags='-b64 -bhalt:4 -G -bI:$(PERL_INC)/perl.exp -bE:$(BASEEXT).exp -bnoentry -lpthreads -lc -lm'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_FAST_STDIO USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Built under aix
Compiled at Jun 9 2010 14:06:27
All sub-modules are correctly installed with no error.
Can you help me please?
Cordially
Alain
Message body is not shown because it is too large.