dev-perl/DBI-1.601 and -1.54 fail tests Reproducible: Always Steps to Reproduce: 1. Activate running of tests at build time: Add "BUILD_OPTIONS: optional_tests" in /et/paludis/use.conf (or, for emerge/Portage, add "test" to $FEATURES ?) 2. paludis --install dev-perl/DBI 3. Actual Results: >>> Starting src_test make -j2 test PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/01basics..................ok t/02dbidrv..................ok t/03handle..................ok t/04mods....................ok t/05thrclone................skipped: this linux perl 5.008008 not configured to support iThreads t/06attrs...................ok t/07kids....................ok t/08keeperr.................ok t/09trace...................ok t/10examp...................131/204 # Failed test 'Remove /tmp/.private/root/dumpcsr.tst' # at t/10examp.t line 487. # got: '0' # expected: '1' # Looks like you failed 1 test of 204. t/10examp................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/204 subtests (less 2 skipped subtests: 201 okay) t/11fetch...................ok t/12quote...................ok t/13taint...................ok t/14utf8....................ok t/15array...................ok t/19fhtrace.................ok t/20meta....................ok t/30subclass................ok t/40profile.................ok t/41prof_dump...............ok t/42prof_data...............ok t/43prof_env................ok t/50dbm.....................ok t/60preparse................ok t/65transact................ok t/70callbacks...............ok t/72childhandles............ok t/80proxy...................ok t/85gofer...................ok t/pod.......................ok t/zvg_01basics..............ok t/zvg_02dbidrv..............ok t/zvg_03handle..............ok t/zvg_04mods................ok t/zvg_05thrclone............skipped: this linux perl 5.008008 not configured to support iThreads t/zvg_06attrs...............ok t/zvg_07kids................ok t/zvg_08keeperr.............ok t/zvg_09trace...............ok t/zvg_10examp...............21/204 # Failed test 'Remove /tmp/.private/root/dumpcsr.tst' # at ./t/10examp.t line 487. # got: '0' # expected: '1' # Looks like you failed 1 test of 204. t/zvg_10examp............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/204 subtests (less 2 skipped subtests: 201 okay) t/zvg_11fetch...............ok t/zvg_12quote...............ok t/zvg_13taint...............skipped: Taint attribute tests not functional with DBI_AUTOPROXY t/zvg_14utf8................ok t/zvg_15array...............ok t/zvg_19fhtrace.............ok t/zvg_20meta................ok t/zvg_30subclass............ok t/zvg_40profile.............ok t/zvg_41prof_dump...........ok t/zvg_42prof_data...........ok t/zvg_43prof_env............ok t/zvg_50dbm.................ok t/zvg_60preparse............ok t/zvg_65transact............skipped: Transactions not supported by DBD::Gofer t/zvg_70callbacks...........ok t/zvg_72childhandles........ok t/zvg_80proxy...............ok t/zvg_85gofer...............ok t/zvp_01basics..............ok t/zvp_02dbidrv..............ok t/zvp_03handle..............ok t/zvp_04mods................ok t/zvp_05thrclone............skipped: this linux perl 5.008008 not configured to support iThreads t/zvp_06attrs...............ok t/zvp_07kids................skipped: $h->{Kids} attribute not supported for DBI::PurePerl t/zvp_08keeperr.............ok t/zvp_09trace...............ok t/zvp_10examp...............154/204 # Failed test 'Remove /tmp/.private/root/dumpcsr.tst' # at ./t/10examp.t line 487. # got: '0' # expected: '1' # Looks like you failed 1 test of 204. t/zvp_10examp............... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/204 subtests (less 5 skipped subtests: 198 okay) t/zvp_11fetch...............ok t/zvp_12quote...............ok t/zvp_13taint...............skipped: Taint attributes not supported with DBI::PurePerl t/zvp_14utf8................ok t/zvp_15array...............ok t/zvp_19fhtrace.............ok t/zvp_20meta................ok t/zvp_30subclass............ok t/zvp_40profile.............skipped: profiling not supported for DBI::PurePerl t/zvp_41prof_dump...........skipped: profiling not supported for DBI::PurePerl t/zvp_42prof_data...........skipped: profiling not supported for DBI::PurePerl t/zvp_43prof_env............skipped: profiling not supported for DBI::PurePerl t/zvp_50dbm.................ok t/zvp_60preparse............skipped: preparse not supported for DBI::PurePerl t/zvp_65transact............ok t/zvp_70callbacks...........skipped: $h->{Callbacks} attribute not supported for DBI::PurePerl t/zvp_72childhandles........ok t/zvp_80proxy...............skipped: DBD::Proxy currently has a problem under DBI::PurePerl t/zvp_85gofer...............ok t/zvxgp_01basics............ok t/zvxgp_02dbidrv............ok t/zvxgp_03handle............ok t/zvxgp_04mods..............ok t/zvxgp_05thrclone..........skipped: this linux perl 5.008008 not configured to support iThreads t/zvxgp_06attrs.............ok t/zvxgp_07kids..............skipped: $h->{Kids} attribute not supported for DBI::PurePerl t/zvxgp_08keeperr...........ok t/zvxgp_09trace.............ok t/zvxgp_10examp.............150/204 # Failed test 'Remove /tmp/.private/root/dumpcsr.tst' # at ./t/10examp.t line 487. # got: '0' # expected: '1' # Looks like you failed 1 test of 204. t/zvxgp_10examp............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/204 subtests (less 5 skipped subtests: 198 okay) t/zvxgp_11fetch.............ok t/zvxgp_12quote.............ok t/zvxgp_13taint.............skipped: Taint attributes not supported with DBI::PurePerl t/zvxgp_14utf8..............ok t/zvxgp_15array.............ok t/zvxgp_19fhtrace...........ok t/zvxgp_20meta..............ok t/zvxgp_30subclass..........ok t/zvxgp_40profile...........skipped: profiling not supported for DBI::PurePerl t/zvxgp_41prof_dump.........skipped: profiling not supported for DBI::PurePerl t/zvxgp_42prof_data.........skipped: profiling not supported for DBI::PurePerl t/zvxgp_43prof_env..........skipped: profiling not supported for DBI::PurePerl t/zvxgp_50dbm...............ok t/zvxgp_60preparse..........skipped: preparse not supported for DBI::PurePerl t/zvxgp_65transact..........skipped: Transactions not supported by DBD::Gofer t/zvxgp_70callbacks.........skipped: $h->{Callbacks} attribute not supported for DBI::PurePerl t/zvxgp_72childhandles......ok t/zvxgp_80proxy.............skipped: DBD::Proxy currently has a problem under DBI::PurePerl t/zvxgp_85gofer.............ok Test Summary Report ------------------- t/10examp.t (Wstat: 256 Tests: 204 Failed: 1) Failed test: 178 Non-zero exit status: 1 t/zvg_10examp.t (Wstat: 256 Tests: 204 Failed: 1) Failed test: 178 Non-zero exit status: 1 t/zvp_10examp.t (Wstat: 256 Tests: 204 Failed: 1) Failed test: 178 Non-zero exit status: 1 t/zvxgp_10examp.t (Wstat: 256 Tests: 204 Failed: 1) Failed test: 178 Non-zero exit status: 1 Files=117, Tests=5443, 139 wallclock secs ( 5.13 usr 0.72 sys + 98.24 cusr 10.09 csys = 114.18 CPU) Result: FAIL Failed 4/117 test programs. 4/5443 subtests failed. make: *** [test_dynamic] Error 255 /usr/libexec/paludis/utils/emake: emake returned error 2 !!! ERROR in dev-perl/DBI-1.54: !!! In perl-module_src_test at line 3683 !!! test failed Expected Results: pass the tests? There seems to be a few compilations errors beforehand ("BEGIN failed--compilation aborted" messages): ===> Begin blockquote output <=== i686-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=i686 -mtune=athlon-tbird -pipe -O2 -fomit-frame-pointer -DVERSION=\"1.601\" -DXS_VERSION=\"1.601\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm /usr/bin/perl5.8.8 "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof Extracted dbiprof from dbiprof.PL with variable substitutions. Can't locate loadable object for module DBI in @INC (@INC contains: /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/arch /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib /etc/perl /usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib/DBI.pm line 266 BEGIN failed--compilation aborted at /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib/DBI.pm line 266. Compilation failed in require at /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib/DBI/Profile.pm line 675. BEGIN failed--compilation aborted at /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib/DBI/Profile.pm line 675. Compilation failed in require at /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib/DBI/ProfileData.pm line 79. BEGIN failed--compilation aborted at /var/tmp/paludis/dev-perl-DBI-1.601/work/DBI-1.601/blib/lib/DBI/ProfileData.pm line 79. Compilation failed in require at dbiprof line 8. BEGIN failed--compilation aborted at dbiprof line 8. /usr/bin/perl5.8.8 "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy Extracted dbiproxy from dbiproxy.PL with variable substitutions. dbiproxy syntax OK /usr/bin/perl5.8.8 "-Iblib/arch" "-Iblib/lib" dbilogstrip.PL dbilogstrip Extracted dbilogstrip from dbilogstrip.PL with variable substitutions. dbilogstrip syntax OK cp dbiprof blib/script/dbiprof /usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiprof cp dbiproxy blib/script/dbiproxy /usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbiproxy cp dbilogstrip blib/script/dbilogstrip /usr/bin/perl5.8.8 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/dbilogstrip /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap DBI.xs > DBI.xsc && mv DBI.xsc DBI.c i686-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -march=i686 -mtune=athlon-tbird -pipe -O2 -fomit-frame-pointer -DVERSION=\"1.601\" -DXS_VERSION=\"1.601\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS DBI.c DBI.xs: In function 'set_err_sv': DBI.xs:471: warning: value computed is not used rm -f blib/arch/auto/DBI/DBI.so i686-pc-linux-gnu-gcc -shared -L/usr/local/lib DBI.o -Wl,-O1 -o blib/arch/auto/DBI/DBI.so \ \ chmod 755 blib/arch/auto/DBI/DBI.so Manifying blib/man1/dbiprof.1 Manifying blib/man1/dbiproxy.1 Manifying blib/man1/dbilogstrip.1 >>> Done src_compile ===> End blockquote output <=== The workaround is to disable the tests (BUILD_OPTIONS: -optional_tests in /etc/paludis/use.conf), and installation completes.
Paludis is not officially supported, is there anyway you can test this behavior on a machine using portage and post your 'emerge --info' after doing so?
There ought to be an equivalent way to show key system info, e.g. toolchain and architecture, using paludis (sorry I don't know it). Then others can try to reproduce this.
BTW using an old toolchain (gcc 4.1.2/glibc 2.6.1) on amd64, DBI-1.601 passed those tests
Created attachment 200613 [details] paludis --info dev-perl/DBI sys-libs/glibc-2.9_p20081201-r2 sys-devel/gcc-4.3.2-r3:4.3
Created attachment 200615 [details] paludis --info sys-libs/glibc
Created attachment 200617 [details] paludis --info sys-devel/gcc $ gcc-config -l [1] i686-pc-linux-gnu-4.1.2 [2] i686-pc-linux-gnu-4.3.2 *
Please reopen if you still have problems with DBI-1.609 (the only version in the tree)