Skip Menu |

This queue is for tickets about the DBIx-DataModel CPAN distribution.

Report information
The Basics
Id: 21319
Status: resolved
Priority: 0/
Queue: DBIx-DataModel

People
Owner: DAMI [...] cpan.org
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: 0.20



Subject: Fails Own Tests
Please let me know if you need more than the below: CPAN.pm: Going to build D/DA/DAMI/DBIx-DataModel-0.20.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... Looks good Creating new 'Build' script for 'DBIx-DataModel' version '0.20' CPAN: YAML loaded ok Warning: CPAN.pm discovered Module::Build as undeclared prerequisite. Adding it now as a prerequisite. lib\DBIx\DataModel\Schema.pm -> blib\lib\DBIx\DataModel\Schema.pm lib\DBIx\DataModel\View.pm -> blib\lib\DBIx\DataModel\View.pm lib\DBIx\DataModel\Table.pm -> blib\lib\DBIx\DataModel\Table.pm lib\DBIx\DataModel.pm -> blib\lib\DBIx\DataModel.pm lib\DBIx\DataModel\Iterator.pm -> blib\lib\DBIx\DataModel\Iterator.pm lib\DBIx\DataModel\Base.pm -> blib\lib\DBIx\DataModel\Base.pm lib\DBIx\DataModel\AbstractTable.pm -> blib\lib\DBIx\DataModel\AbstractTable.pm Manifying blib\lib/DBIx/DataModel/Base.pm -> blib\libdoc\DBIx.DataModel.Base.3 Manifying blib\lib/DBIx/DataModel/View.pm -> blib\libdoc\DBIx.DataModel.View.3 Manifying blib\lib/DBIx/DataModel/AbstractTable.pm -> blib\libdoc\DBIx.DataModel.AbstractTable.3 Manifying blib\lib/DBIx/DataModel/Table.pm -> blib\libdoc\DBIx.DataModel.Table.3 Manifying blib\lib/DBIx/DataModel/Schema.pm -> blib\libdoc\DBIx.DataModel.Schema.3 Manifying blib\lib/DBIx/DataModel.pm -> blib\libdoc\DBIx.DataModel.3 Manifying blib\lib/DBIx/DataModel/Iterator.pm -> blib\libdoc\DBIx.DataModel.Iterator.3 HTMLifying blib\lib\DBIx\DataModel\Base.pm -> blib\libhtml\site\lib\DBIx\DataModel\Base.html HTMLifying blib\lib\DBIx\DataModel\View.pm -> blib\libhtml\site\lib\DBIx\DataModel\View.html HTMLifying blib\lib\DBIx\DataModel\AbstractTable.pm -> blib\libhtml\site\lib\DBIx\DataModel\AbstractTable.html HTMLifying blib\lib\DBIx\DataModel\Table.pm -> blib\libhtml\site\lib\DBIx\DataModel\Table.html HTMLifying blib\lib\DBIx\DataModel\Schema.pm -> blib\libhtml\site\lib\DBIx\DataModel\Schema.html HTMLifying blib\lib\DBIx\DataModel.pm -> blib\libhtml\site\lib\DBIx\DataModel.html ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBI|DBI> in paragraph 50. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<Alzabo|Alzabo> in paragraph 51. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<Tangram|Tangram> in paragraph 51. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBI|DBI> in paragraph 155. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBI|DBI> in paragraph 159. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBD> in paragraph 159. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<last_insert_id|DBI/last_insert_id> in paragraph 198. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<sprintf|perlfunc/"sprintf"> in paragraph 232. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBI> in paragraph 403. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBI's documentation|DBI/last_insert_id> in paragraph 502. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<ColumnHandlers> in paragraph 534. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<fetch()/fetch> in paragraph 550. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<perlmod> in paragraph 556. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<DBI/Transactions> in paragraph 560. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<Alzabo> in paragraph 599. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<Tangram> in paragraph 599. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<ORM> in paragraph 599. ./Build: blib\lib\DBIx\DataModel.pm: cannot resolve L<SPOPS> in paragraph 599. HTMLifying blib\lib\DBIx\DataModel\Iterator.pm -> blib\libhtml\site\lib\DBIx\DataModel\Iterator.html C:\perl58_AS\bin\perl.exe ./Build -- OK Running Build test t\00-load...........ok 1/3# Testing DBIx::DataModel 0.20, Perl 5.008008, C:\perl58_AS\bin\perl.exe t\00-load...........ok t\DBIx-DataModel....ok 1/78# Looks like you planned 78 tests but only ran 77. t\DBIx-DataModel....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 78 Failed 1/78 tests, 98.72% okay (less 62 skipped tests: 15 okay, 19.23%) t\MsAccess..........ok 1/5# Looks like you planned 5 tests but ran 1 extra. t\MsAccess..........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED test 6 Failed 1/5 tests, 80.00% okay (less 5 skipped tests: -1 okay, - 20.00%) t\pod...............skipped all skipped: Test::Pod 1.14 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t\DBIx-DataModel.t 255 65280 78 2 2.56% 78 t\MsAccess.t 255 65280 5 1 20.00% 6 1 test and 67 subtests skipped. Failed 2/4 test scripts, 50.00% okay. 0/86 subtests failed, 100.00% okay. C:\perl58_AS\bin\perl.exe ./Build test -- NOT OK Running Build install make test had returned bad status, won't install without force Failed during this command: DAMI/DBIx-DataModel-0.20.tar.gz : make_test NO X:\>perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=MSWin32, osvers=5.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 - D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_S EED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS - DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='12.00.8804', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf - libpath:"C:\perl58_AS\lib\CORE" -machine:x86' libpth=\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32. lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug - opt:ref,icf -libpath:"C:\perl58_AS\lib\CORE" -machin e:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 817 [257965] Iin_load_module moved for compatibility with build 806 PerlEx support in CGI::Carp Less verbose ExtUtils::Install and Pod::Find Patch for CAN-2005-0448 from Debian with modifications Partly reverted 24733 to preserve binary compatibilty 27528 win32_pclose() error exit doesn't unlock mutex 27527 win32_async_check() can loop indefinitely 27515 ignore directories when searching @INC 27359 Fix -d:Foo=bar syntax 27210 Fix quote typo in c2ph 27203 Allow compiling swigged C++ code 27200 Make stat() on Windows handle trailing slashes correctly 27194 Get perl_fini() running on HP-UX again 27133 Initialise lastparen in the regexp structure 27034 Avoid "Prototype mismatch" warnings with autouse 26970 Make Passive mode the default for Net::FTP 26921 Avoid getprotobyname/number calls in IO::Socket::INET 26897,26903 Make common IPPROTO_* constants always available 26670 Make '-s' on the shebang line parse -foo=bar switches 26379 Fix alarm() for Windows 2003 26087 Storable 0.1 compatibility 25861 IO::File performace issue 25084 long groups entry could cause memory exhaustion 24699 ICMP_UNREACHABLE handling in Net::Ping Built under MSWin32 Compiled at Mar 20 2006 17:54:25 @INC: C:/perl58_AS/lib C:/perl58_AS/site/lib .
Tests rely on DBD::Mock, and of course I hadn't tested in an environment where DBD::Mock is absent ... so the SKIP numbers were wrong. Fixed in 0.21; I also added a "recommends => DBD::Mock" in the dependencies.