Skip Menu |

This queue is for tickets about the Apache-DBI-Cache CPAN distribution.

Report information
The Basics
Id: 62444
Status: open
Priority: 0/
Queue: Apache-DBI-Cache

People
Owner: Nobody in particular
Requestors: daveh [...] hodgkinson.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: (no value)



Build fails on 64 bit Ubuntu with fresh versions of everything: CPAN.pm: Going to build O/OP/OPI/Apache-DBI-Cache-0.08.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Apache::DBI::Cache cp lib/Apache/DBI/Cache/ImaDBI.pm blib/lib/Apache/DBI/Cache/ImaDBI.pm cp lib/Apache/DBI/Cache/mysql.pm blib/lib/Apache/DBI/Cache/mysql.pm cp lib/Apache/DBI/Cache.pod blib/lib/Apache/DBI/Cache.pod cp lib/Apache/DBI/Cache.pm blib/lib/Apache/DBI/Cache.pm Manifying blib/man3/Apache::DBI::Cache::ImaDBI.3 Manifying blib/man3/Apache::DBI::Cache::mysql.3 Manifying blib/man3/Apache::DBI::Cache.3 OPI/Apache-DBI-Cache-0.08.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /opt/perl-5.12.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/001cache.t ...... ok t/002noshm.t ...... 1/8 # Failed test 't/002noshm.t(18): connect_on_init1' # at t/002noshm.t line 18. # Compared $data->[1] # got : '0' # expect : '1' # Failed test 't/002noshm.t(21): connect_on_init2' # at t/002noshm.t line 21. # Compared $data->[1] # got : '0' # expect : '1' # Failed test 't/002noshm.t(33): got identical handles' # at t/002noshm.t line 33. # Failed test 't/002noshm.t(38): statistics after usage1' # at t/002noshm.t line 38. # Compared $data->[0] # got : '5' # expect : '2' # Failed test 't/002noshm.t(45): statistics after usage2' # at t/002noshm.t line 45. # Compared $data->[0] # got : '5' # expect : '2' # Looks like you failed 5 tests of 8. t/002noshm.t ...... Dubious, test returned 5 (wstat 1280, 0x500) Failed 5/8 subtests t/003plugin.t ..... 1/10 # Failed test 't/003plugin.t(34): connect_on_init1' # at t/003plugin.t line 34. # Compared $data->[1] # got : '0' # expect : '2' # Failed test 't/003plugin.t(50): but handle used' # at t/003plugin.t line 50. # Compared $data->[0] # got : '3' # expect : '2' # Failed test 't/003plugin.t(59): statistics remain unchanged' # at t/003plugin.t line 59. # Compared $data->[0] # got : '3' # expect : '2' # Failed test 't/003plugin.t(68): statistics remain unchanged again' # at t/003plugin.t line 68. # Compared $data->[0] # got : '3' # expect : '2' # Looks like you failed 4 tests of 10. t/003plugin.t ..... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/10 subtests t/004rootclass.t .. ok t/005rootclass.t .. ok t/100mysql.t ...... skipped: no database given, see README t/200imadbi.t ..... skipped: Ima::DBI not found t/201imadbi.t ..... skipped: Ima::DBI not found t/202imadbi.t ..... skipped: Ima::DBI not found t/203classdbi.t ... skipped: Class::DBI not found t/204classdbi.t ... skipped: Class::DBI not found t/205classdbi.t ... skipped: Class::DBI not found Test Summary Report ------------------- t/002noshm.t (Wstat: 1280 Tests: 8 Failed: 5) Failed tests: 2-3, 5-6, 8 Non-zero exit status: 5 t/003plugin.t (Wstat: 1024 Tests: 10 Failed: 4) Failed tests: 1, 6, 8, 10 Non-zero exit status: 4 Files=12, Tests=52, 0 wallclock secs ( 0.07 usr 0.04 sys + 0.65 cusr 0.15 csys = 0.91 CPU) Result: FAIL
Subject: Failing test suite
From: lubo.rintel [...] gooddata.com
On Mon Oct 25 13:41:33 2010, DAVEHODG wrote: Show quoted text
> Build fails on 64 bit Ubuntu with fresh versions of everything:
Show quoted text
> Test Summary Report > ------------------- > t/002noshm.t (Wstat: 1280 Tests: 8 Failed: 5) > Failed tests: 2-3, 5-6, 8 > Non-zero exit status: 5 > t/003plugin.t (Wstat: 1024 Tests: 10 Failed: 4) > Failed tests: 1, 6, 8, 10 > Non-zero exit status: 4 > Files=12, Tests=52, 0 wallclock secs ( 0.07 usr 0.04 sys + 0.65 cusr > 0.15 csys = 0.91 CPU) > Result: FAIL
Fix available in Fedora package: http://pkgs.fedoraproject.org/gitweb/?p=perl-Apache-DBI-Cache.git;a=blob;f=0001-DBI-dr-connect-can-clobber-the-arguments.patch