make test fails with many errors similar to the following: Can't locate object method "no_diag" via package "Test::Builder"
Thanks in advance for any help. Full log: + cd DBD-Oracle-1.23 + export ORACLE_HOME=/export/home/oracle/product/rel102040 + ORACLE_HOME=/export/home/oracle/product/rel102040 + export LD_LIBRARY_PATH=/export/home/oracle/product/rel102040/lib32 + LD_LIBRARY_PATH=/export/home/oracle/product/rel102040/lib32 + perl Makefile.PL Using DBI 1.609 (for perl 5.008007 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/ Configuring DBD::Oracle for perl 5.008007 on solaris (sun4-solaris) Remember to actually *READ* the README file! Especially if you have any problems. Installing on a solaris, Ver#2.10 Using Oracle in /export/home/oracle/product/rel102040 DEFINE _SQLPLUS_RELEASE = "1002000400" (CHAR) Oracle version 10.2.0.4 (10.2) Found /export/home/oracle/product/rel102040/rdbms/demo/demo_rdbms.mk Found /export/home/oracle/product/rel102040/rdbms/lib/ins_rdbms.mk Using /export/home/oracle/product/rel102040/rdbms/demo/demo_rdbms.mk Your LD_LIBRARY_PATH env var is set to '/export/home/oracle/product/rel102040/lib32' Reading /export/home/oracle/product/rel102040/rdbms/demo/demo_rdbms.mk Reading /export/home/oracle/product/rel102040/rdbms/lib/env_rdbms.mk Attempting to discover Oracle OCI build rules gcc -B/usr/ccs/bin/ -c -o DBD_ORA_OBJ.o DBD_ORA_OBJ.c by executing: [make -f /export/home/oracle/product/rel102040/rdbms/demo/demo_rdbms.mk build ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE= CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o] Oracle oci build command: [true -xarch=v9 -L/export/home/oracle/product/rel102040/lib/ -L/export/home/oracle/product/rel102040/rdbms/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh `cat /export/home/oracle/product/rel102040/lib/sysliblist` -R/export/home/oracle/product/rel102040/lib -laio -lposix4 -lkstat -lm -lthread -lpthread] Can't cd to (/export/home/oracle/product/rel102040/rdbms/) notes: Permission denied at Makefile.PL line 1468 Found header files in /export/home/oracle/product/rel102040/rdbms/public. Checking for functioning wait.ph System: perl5.008007 sunos 5.10 s10_60 sun4u sparc sunw,ultra-5_10 Compiler: gcc -B/usr/ccs/bin/ -O -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 Linker: /usr/ccs/bin/ld Sysliblist: -lkstat -lnsl -lsocket -lgen -ldl -lsched Oracle makefiles would have used these definitions but we override them: CC: cc CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\ $(SHARED_CFLAG) $(USRFLAGS) [$(GFLAG) -xO3 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign -xF $(XS) $(MR) -xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym -Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5 -xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC -I/export/home/oracle/product/rel102040/rdbms/demo -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/plsql/public -I/export/home/oracle/product/rel102040/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)] LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME) [-o $@ -L/export/home/oracle/product/rel102040/rdbms/lib/ -L$(LIBHOME)] Linking with OTHERLDFLAGS = -xarch=v9 -L/export/home/oracle/product/rel102040/lib/ -L/export/home/oracle/product/rel102040/rdbms/lib/ -lclntsh `cat /export/home/oracle/product/rel102040/lib/sysliblist` -R/export/home/oracle/product/rel102040/lib -laio -lposix4 -lkstat -lm -lthread -lpthread [from 'build' rule] WARNING: If you have problems you may need to rebuild perl with threading enabled. Checking if your kit is complete... Looks good LD_RUN_PATH=/export/home/oracle/product/rel102040/lib32:/export/home/oracle/product/rel102040/rdbms/lib32 Using DBD::Oracle 1.23. Using DBD::Oracle 1.23. Using DBI 1.609 (for perl 5.008007 on sun4-solaris) installed in /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/ Writing Makefile for DBD::Oracle *** If you have problems... read all the log printed above, and the README and README.help.txt files. (Of course, you have read README by now anyway, haven't you?) + make cp Oracle.pm blib/lib/DBD/Oracle.pm cp oraperl.ph blib/lib/oraperl.ph cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h cp Oraperl.pm blib/lib/Oraperl.pm cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h cp lib/DBD/Oracle/Object.pm blib/lib/DBD/Oracle/Object.pm cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm /usr/local/bin/perl -p -e "s/~DRIVER~/Oracle/g" /usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/Driver.xst > Oracle.xsi /usr/local/bin/perl /usr/local/lib/perl5/5.8.7/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c gcc -B/usr/ccs/bin/ -c -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/rdbms/demo -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/plsql/public -I/export/home/oracle/product/rel102040/network/public -I/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.4\" Oracle.c gcc -B/usr/ccs/bin/ -c -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/rdbms/demo -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/plsql/public -I/export/home/oracle/product/rel102040/network/public -I/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.4\" dbdimp.c gcc -B/usr/ccs/bin/ -c -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/rdbms/demo -I/export/home/oracle/product/rel102040/rdbms/public -I/export/home/oracle/product/rel102040/plsql/public -I/export/home/oracle/product/rel102040/network/public -I/usr/local/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.23\" -DXS_VERSION=\"1.23\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.2.0.4\" oci8.c Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/export/home/oracle/product/rel102040/lib32:/export/home/oracle/product/rel102040/rdbms/lib32" gcc -B/usr/ccs/bin/ -G -L/usr/local/lib Oracle.o dbdimp.o oci8.o -xarch=v9 -L/export/home/oracle/product/rel102040/lib/ -L/export/home/oracle/product/rel102040/rdbms/lib/ -lclntsh `cat /export/home/oracle/product/rel102040/lib/sysliblist` -R/export/home/oracle/product/rel102040/lib -laio -lposix4 -lkstat -lm -lthread -lpthread -o blib/arch/auto/DBD/Oracle/Oracle.so chmod 755 blib/arch/auto/DBD/Oracle/Oracle.so cp Oracle.bs blib/arch/auto/DBD/Oracle/Oracle.bs chmod 644 blib/arch/auto/DBD/Oracle/Oracle.bs /usr/local/bin/perl "-Iblib/arch" "-Iblib/lib" ora_explain.PL ora_explain Extracted ora_explain from ora_explain.PL with variable substitutions. cp ora_explain blib/script/ora_explain /usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/ora_explain Manifying blib/man1/ora_explain.1 Manifying blib/man3/DBD::Oracle.3 Manifying blib/man3/DBD::Oraperl.3 + make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01base................# Test loading DBI, DBD::Oracle and version t/01base................ok t/10general.............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/10general.t line 12. # Looks like your test died before it could output anything. t/10general.............dubious Test returned status 255 (wstat 65280, 0xff00) t/12impdata.............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/12impdata.t line 27. # Looks like your test died before it could output anything. t/12impdata.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-7 Failed 7/7 tests, 0.00% okay t/14threads.............skipped all skipped: this solaris perl 5.008007 not configured to support iThreads t/15nls.................Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/15nls.t line 9. # Looks like your test died before it could output anything. t/15nls.................dubious Test returned status 255 (wstat 65280, 0xff00) t/20select..............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/20select.t line 10. # Looks like your test died before it could output anything. t/20select..............dubious Test returned status 255 (wstat 65280, 0xff00) t/21nchar...............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/21nchar.t line 9. # Looks like your test died before it could output anything. t/21nchar...............dubious Test returned status 255 (wstat 65280, 0xff00) t/22nchar_al32utf8......Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/22nchar_al32utf8.t line 12. # Looks like your test died before it could output anything. t/22nchar_al32utf8......dubious Test returned status 255 (wstat 65280, 0xff00) t/22nchar_utf8..........Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/22nchar_utf8.t line 12. # Looks like your test died before it could output anything. t/22nchar_utf8..........dubious Test returned status 255 (wstat 65280, 0xff00) t/23wide_db.............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/23wide_db.t line 12. # Looks like your test died before it could output anything. t/23wide_db.............dubious Test returned status 255 (wstat 65280, 0xff00) t/23wide_db_8bit........Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/23wide_db_8bit.t line 12. # Looks like your test died before it could output anything. t/23wide_db_8bit........dubious Test returned status 255 (wstat 65280, 0xff00) t/23wide_db_al32utf8....Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/23wide_db_al32utf8.t line 12. # Looks like your test died before it could output anything. t/23wide_db_al32utf8....dubious Test returned status 255 (wstat 65280, 0xff00) t/24implicit_utf8.......Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/24implicit_utf8.t line 9. # Looks like your test died before it could output anything. t/24implicit_utf8.......dubious Test returned status 255 (wstat 65280, 0xff00) t/25plsql...............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/25plsql.t line 9. # Looks like your test died before it could output anything. t/25plsql...............dubious Test returned status 255 (wstat 65280, 0xff00) t/26exe_array...........ok 1/17Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/26exe_array.t line 9. # Looks like you planned 17 tests but only ran 1. # Looks like your test died just after 1. t/26exe_array...........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-17 Failed 16/17 tests, 5.88% okay t/28array_bind..........Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/28array_bind.t line 27. # Looks like your test died before it could output anything. t/28array_bind..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-15 Failed 15/15 tests, 0.00% okay t/30long................Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/30long.t line 12. # Looks like your test died before it could output anything. t/30long................dubious Test returned status 255 (wstat 65280, 0xff00) t/31lob.................Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/31lob.t line 9. # Looks like your test died before it could output anything. t/31lob.................dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-9 Failed 9/9 tests, 0.00% okay t/31lob_extended........Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/31lob_extended.t line 22. # Looks like your test died before it could output anything. t/31lob_extended........dubious Test returned status 255 (wstat 65280, 0xff00) t/32xmltype.............ok 1/4Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/32xmltype.t line 9. # Looks like you planned 4 tests but only ran 1. # Looks like your test died just after 1. t/32xmltype.............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-4 Failed 3/4 tests, 25.00% okay t/34pres_lobs...........Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/34pres_lobs.t line 22. # Looks like your test died before it could output anything. t/34pres_lobs...........dubious Test returned status 255 (wstat 65280, 0xff00) t/40ph_type.............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/40ph_type.t line 10. # Looks like your test died before it could output anything. t/40ph_type.............dubious Test returned status 255 (wstat 65280, 0xff00) t/50cursor..............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/50cursor.t line 9. # Looks like your test died before it could output anything. t/50cursor..............dubious Test returned status 255 (wstat 65280, 0xff00) t/51scroll..............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/51scroll.t line 9. # Looks like you planned 33 tests but only ran 1. # Looks like your test died just after 1. t/51scroll..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-33 Failed 32/33 tests, 3.03% okay t/55nested..............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/55nested.t line 9. # Looks like your test died before it could output anything. t/55nested..............dubious Test returned status 255 (wstat 65280, 0xff00) t/56embbeded............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/56embbeded.t line 9. # Looks like you planned 5 tests but only ran 1. # Looks like your test died just after 1. t/56embbeded............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-5 Failed 4/5 tests, 20.00% okay t/58object..............ok 1/34Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/58object.t line 10. # Looks like you planned 34 tests but only ran 1. # Looks like your test died just after 1. t/58object..............dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2-34 Failed 33/34 tests, 2.94% okay t/60reauth..............Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/60reauth.t line 6. # Looks like your test died before it could output anything. t/60reauth..............dubious Test returned status 255 (wstat 65280, 0xff00) t/70meta................Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/70meta.t line 9. # Looks like your test died before it could output anything. t/70meta................dubious Test returned status 255 (wstat 65280, 0xff00) t/80ora_charset.........Can't locate object method "no_diag" via package "Test::Builder" at t/nchar_test_lib.pl line 53. Compilation failed in require at t/80ora_charset.t line 13. # Looks like your test died before it could output anything. t/80ora_charset.........dubious Test returned status 255 (wstat 65280, 0xff00) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/10general.t 255 65280 ?? ?? % ?? t/12impdata.t 255 65280 7 14 200.00% 1-7 t/15nls.t 255 65280 ?? ?? % ?? t/20select.t 255 65280 ?? ?? % ?? t/21nchar.t 255 65280 ?? ?? % ?? t/22nchar_al32utf8.t 255 65280 ?? ?? % ?? t/22nchar_utf8.t 255 65280 ?? ?? % ?? t/23wide_db.t 255 65280 ?? ?? % ?? t/23wide_db_8bit.t 255 65280 ?? ?? % ?? t/23wide_db_al32utf8.t 255 65280 ?? ?? % ?? t/24implicit_utf8.t 255 65280 ?? ?? % ?? t/25plsql.t 255 65280 ?? ?? % ?? t/26exe_array.t 255 65280 17 32 188.24% 2-17 t/28array_bind.t 255 65280 15 30 200.00% 1-15 t/30long.t 255 65280 ?? ?? % ?? t/31lob.t 255 65280 9 18 200.00% 1-9 t/31lob_extended.t 255 65280 ?? ?? % ?? t/32xmltype.t 255 65280 4 6 150.00% 2-4 t/34pres_lobs.t 255 65280 ?? ?? % ?? t/40ph_type.t 255 65280 ?? ?? % ?? t/50cursor.t 255 65280 ?? ?? % ?? t/51scroll.t 255 65280 33 64 193.94% 2-33 t/55nested.t 255 65280 ?? ?? % ?? t/56embbeded.t 255 65280 5 8 160.00% 2-5 t/58object.t 255 65280 34 66 194.12% 2-34 t/60reauth.t 255 65280 ?? ?? % ?? t/70meta.t 255 65280 ?? ?? % ?? t/80ora_charset.t 255 65280 ?? ?? % ?? 1 test skipped. Failed 28/30 test scripts, 6.67% okay. 119/130 subtests failed, 8.46% okay. make: *** [test_dynamic] Error 255
signature.asc
Description: OpenPGP digital signature