Skip Menu |

This queue is for tickets about the DBD-SQLite2 CPAN distribution.

Report information
The Basics
Id: 55636
Status: resolved
Priority: 0/
Queue: DBD-SQLite2

People
Owner: Nobody in particular
Requestors: TODDR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.33
Fixed in: (no value)



Subject: test suite t/ak-dbd.t failing tests
The tests have been failing for a while. Can you tell me if this is supposed to be an example? If so, maybe the .t extention should be taken off so it's not run as part of make test" CPAN testers has a very high fail rate with mostly the same reason: http://www.cpantesters.org/distro/D/DBD-SQLite2.html#DBD-SQLite2- 0.33 t/ak-dbd.t .............. Failed 38/49 subtests Perl version doesn't really seem to matter on this.
$>prove -bvm t/ak-dbd.t t/ak-dbd.t .. Inserting a row... Deleting a row... 1..49 ok 1 ok 2 DBD::SQLite2::db do failed: table testaa already exists(1) at dbdimp.c line 412 at t/ak-dbd.t line 93. ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 0E0 Inserting a row... ok 9 Deleting a row... ok 10 ok 11 Failed 38/49 subtests
Same on OS X Snow Leopard: Running make test ... t/ak-dbd................dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED tests 12-49 Failed 38/49 tests, 22.45% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/ak-dbd.t 0 11 49 76 12-49 Failed 1/24 test scripts. 38/348 subtests failed. Files=24, Tests=348, 18 wallclock secs ( 0.91 cusr + 0.33 csys = 1.24 CPU) Failed 1/24 test programs. 38/348 subtests failed. make: *** [test_dynamic] Error 255 MSERGEANT/DBD-SQLite2-0.33.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports MSERGEANT/DBD-SQLite2-0.33.tar.gz Running make install make test had returned bad status, won't install without force perl -V Summary of my perl5 (revision 5 version 10 subversion 0) configuration: Platform: osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level uname='darwin pizzly.apple.com 10.0 darwin kernel version 10.0.0: fri jul 31 22:46:25 pdt 2009; root:xnu-1456.1.25~1release_x86_64 x86_64 ' config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags= -Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=gcc-4.2' 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='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include', optimize='-Os', cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc-4.2 -mmacosx-version-min=10.6.3', ldflags ='-arch x86_64 -arch i386 -arch ppc -L/usr/local/lib' libpth=/usr/local/lib /usr/lib libs=-ldbm -ldl -lm -lutil -lc perllibs=-ldl -lm -lutil -lc libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc -bundle -undefined dynamic_lookup -L/usr/local/lib' 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_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Locally applied patches: /Library/Perl/Updates/<version> comes before system perl directories installprivlib and installarchlib points to the Updates directory Built under darwin Compiled at Jan 26 2010 17:48:53 @INC: /Library/Perl/Updates/5.10.0/darwin-thread-multi-2level /Library/Perl/Updates/5.10.0 /System/Library/Perl/5.10.0/darwin-thread-multi-2level /System/Library/Perl/5.10.0 /Library/Perl/5.10.0/darwin-thread-multi-2level /Library/Perl/5.10.0 /Network/Library/Perl/5.10.0/darwin-thread-multi-2level /Network/Library/Perl/5.10.0 /Network/Library/Perl /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level /System/Library/Perl/Extras/5.10.0 .
Fixed on my github, https://github.com/rurban/DBD-SQLite2/commit/b9b32f7af1bebcc5f3f796b0020a10ae43fc37dc (and some other fixes) Please roll a new release or give me co-maint, so that I can upload it. -- Reini Urban
Fixed with 0.35 on CPAN -- Reini Urban