Subject: | Make Test Failure |
I tried the current stable and development versions and they fail during 'make test' (I haven't tried installing)
This is with Debian, mostly sarge.
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
Platform:
osname=linux, osvers=2.4.27-ti1211, archname=i386-linux-thread-multi
uname='linux kosh 2.4.27-ti1211 #1 sun sep 19 18:17:45 est 2004 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8 -Darchlib=/usr/lib/perl/5.8 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.4 -Dsitearch=/usr/local/lib/perl/5.8.4 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.4 -Dd_dosuid -des'
hint=recommended, useposix=true, d_sigaction=define
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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.5 (Debian 1:3.3.5-9)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so.5.8.4
gnulibc_version='2.3.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Mar 8 2005 19:51:48
@INC:
/etc/perl
/usr/local/lib/perl/5.8.4
/usr/local/share/perl/5.8.4
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8
/usr/share/perl/5.8
/usr/local/lib/site_perl
/usr/local/lib/perl/5.8.2
/usr/local/share/perl/5.8.2
.
---
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_load...........ok
t/config_custom.....ok
t/config_default....ok
t/entry.............ok
t/entry_query.......ok
t/link..............ok
t/pod-coverage......skipped
all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
t/pod...............ok
t/renderer..........ok 1/0Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 81.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 166.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 65.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 65.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 54.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 54.
t/renderer..........ok 3/0Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 81.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 166.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 65.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 65.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 54.
Use of uninitialized value in concatenation (.) or string at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/WebApp/URI.pm line 54.
t/renderer..........ok
t/user..............ok 2/0Argument "eb" isn't numeric in subroutine entry at /usr/share/perl5/DBIx/ContextualFetch.pm line 51.
t/user..............ok 3/0Argument "eb" isn't numeric in subroutine entry at /usr/share/perl5/DBIx/ContextualFetch.pm line 51.
t/user..............ok 4/0Argument "eb" isn't numeric in subroutine entry at /usr/share/perl5/DBIx/ContextualFetch.pm line 51.
# Failed test (t/user.t at line 12)
t/user..............NOK 5# tags_counted->[0] isn't defined
Argument "eb" isn't numeric in subroutine entry at /usr/share/perl5/DBIx/ContextualFetch.pm line 51.
t/user..............ok 6/0Argument "eb" isn't numeric in subroutine entry at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/User.pm line 152.
t/user..............ok 7/0Argument "eb" isn't numeric in subroutine entry at /home/phillip/downloads/Rubric-0.06/blib/lib/Rubric/User.pm line 152.
# Failed test (t/user.t at line 19)
t/user..............NOK 8# related_tags_counted->[0] isn't defined
t/user..............ok 28/0# Looks like you failed 2 tests of 28.
t/user..............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 5, 8
Failed 2/28 tests, 92.86% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/user.t 2 512 28 2 7.14% 5 8
1 test skipped.
Failed 1/10 test scripts, 90.00% okay. 2/126 subtests failed, 98.41% okay.
make: *** [test_dynamic] Error 2
I'm thinking the issue *may* be related to SQLite, but I don't know anything about that database... I was actually going to try to modify the program to use MySQL after getting it working... but... I'm hesitant to start without a working reference system.