Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Rubric CPAN distribution.

Report information
The Basics
Id: 11993
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Rubric

People
Owner: rjbs [...] cpan.org
Requestors: cpan_user [...] philsplace.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.00_06
  • 0.00_07
Fixed in: (no value)



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.
[guest - Thu Mar 24 19:09:38 2005]: Show quoted text
> 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 >
------------------------------------------------------------------------------ - Show quoted text
> 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.
Try this again with the latest development build. Let me know if the problem still exists. What version of DBD::SQLite are you using? I'm using 1.08 without incident. Also check DBIx::ContextualFetch. The warnings that concern me are the ones complaining about putting 'eb' in a numeric context; I'm not sure why or when that should be happening.
Sorry this took so long, I'm swamped thru next week. [RJBS - Sat Apr 2 09:06:55 2005]: Show quoted text
> > Try this again with the latest development build. Let me know if the > problem still exists.
Just tried version 0.07_07 still no joy. Show quoted text
> What version of DBD::SQLite are you using? I'm using 1.08 without > incident. Also check
I was using 1.07 which I had installed from CPAN. I just removed that and went with 1.08 from the Debian repository. Show quoted text
> DBIx::ContextualFetch. The warnings that concern me are the ones > complaining about > putting 'eb' in a numeric context; I'm not sure why or when that > should be happening.
DBIx::ContextualFetch is version 1.02 from Debian repository. --- I'll see if I can read up on SQLite and write a quick Perl script to store and retrieve some info. I'm not totally sure that part of my system is correct at the moment. (mainly because there are three different versions of SQLite available... I've installed v3 which I understand to be backwards compatible with v2) Thanks for looking at the bug report. I'm starting to think it is something on my system. If so, I'll let you know.
[guest - Thu Apr 7 14:33:13 2005]: Show quoted text
> Sorry this took so long, I'm swamped thru next week. > > [RJBS - Sat Apr 2 09:06:55 2005]: >
> > > > Try this again with the latest development build. Let me know if the > > problem still exists.
> > Just tried version 0.07_07 still no joy. > --- > I'll see if I can read up on SQLite and write a quick Perl script to > store and retrieve some info. I'm not totally sure that part of my > system is correct at the moment. (mainly because there are three > different versions of SQLite available... I've installed v3 which I > understand to be backwards compatible with v2)
Updates? I'd like to close this ticket out, but I can't reproduce the problem easily.
[RJBS - Fri Apr 29 21:53:57 2005]: Show quoted text
> Updates? I'd like to close this ticket out, but I can't reproduce the > problem easily.
I have found this which looks to be somewhat related: http://www.spanner.org/lists/cdbi/2005/04/06/0a02fdaf.html I noticed that the person in the thread that has seen the problem on Linux is also running an smp machine with a threaded Perl, just as I am. That may be a factor that is keeping you from replicating the problem... I'm running Debian packages, but I'll try uninstalling the DBD::SQLite package and installing from CPAN and applying this patch ( http://www.spanner.org/lists/cdbi/2005/04/11/7843d7f2.html ) to see if it helps. Sorry this has taken so long, but I have to go give the baby a bath now... things just keep coming up!
[guest - Sat Apr 30 20:37:08 2005]: Show quoted text
> I'm running Debian packages, but I'll try uninstalling the DBD::SQLite > package and installing from CPAN and applying this patch ( > http://www.spanner.org/lists/cdbi/2005/04/11/7843d7f2.html ) to see if > it helps.
I removed every Debian package that had 'SQLite' in the name. (I had a stand alone install of SQLite, the dev library and documentation.) Then I installed DBD::SQLite sources and patched as above. The program would not pass tests at that point, so I did not install. I removed the patch, and rebuilt... then it (DBD::SQLite) passed tests, so I installed. Unfortunately, Rubric still does not pass it's own tests. --- So... I also uninstalled the Debian package for DBIx::ContextualFetch... which took out Class::DBI as a dependency. While trying to install Class::DBI from CPAN I'm getting test failures. Also, I notice that test t/16 for Class::DBI is throwing the exact same warning about Argument x isn't numeric in subroutine. --- In short... I don't think the problem is with Rubric. I'll keep plugging away at it, but I think it is safe to close the ticket. Thanks for looking into it on your end! --Phillup (Phillip Upton)