This queue is for tickets about the KiokuDB-Backend-Files CPAN distribution.

Report information
The Basics
Id:
67722
Status:
new
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
anub-bitcard [...] livenudefrogs.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: KiokuDB::Backend::Files
Date: Sun, 24 Apr 2011 00:02:20 -0400
To: bug-KiokuDB-Backend-Files@rt.cpan.org
From: anubis <anub-bitcard@livenudefrogs.com>
While trying to install Task::KiokuDB I ran into a problem with NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz failing some tests. Initially I took all the defaults from the task, so some optional modules skipped, some not installed permananently, etc. I copied everything from cpan and some additional details here, then re-ran changing all the cpan prompts to "yes" but got roughly the same results. This is very long, I wanted to include everything I could to help. I was not able to find a fix. Also, it appears to be similar to https://rt.cpan.org/Public/Bug/Display.html?id=64215 But I could not login to rt.cpan.org with a bitcard account, let alone find a way to add to that bug report. ###### From the initial attempt at Task::KiokuDB Tests succeeded but one dependency not OK (KiokuDB::Backend::Files) NUFFIN/Task-KiokuDB-0.06.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force Failed during this command: ABRAXXA/DBIx-Class-0.08127.tar.gz : install NO -- is only 'build_requires' NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz : make_test NO NUFFIN/Task-KiokuDB-0.06.tar.gz : make_test NO one dependency not OK (KiokuDB::Backend::Files) (cpan[4]> install DBIx::Class ran fine) cpan[5]> install KiokuDB::Backend::Files Running install for module 'KiokuDB::Backend::Files' Running make for N/NU/NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz Has already been unwrapped into directory /home/anubis/.cpan/build/KiokuDB-Backend-Files-0.06-6DhE3c Has already been made Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/files.t .. 599/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x4f2cce0) # $expected->[0] = Does not exist t/files.t .. 1256/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x4620188) # $expected->[0] = Does not exist t/files.t .. 1913/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x4b66c30) # $expected->[0] = Does not exist t/files.t .. 2620/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x527e750) # $expected->[0] = Does not exist t/files.t .. 2627/? # Leaving temporary directory 't/tmp' due to test fails # Looks like you failed 4 tests of 2664. t/files.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/2664 subtests (less 10 skipped subtests: 2650 okay) Test Summary Report ------------------- t/files.t (Wstat: 1024 Tests: 2664 Failed: 4) Failed tests: 634, 1291, 1948, 2622 Non-zero exit status: 4 Files=1, Tests=2664, 36 wallclock secs ( 0.66 usr 0.02 sys + 29.67 cusr 6.53 csys = 36.88 CPU) Result: FAIL Failed 1/1 test programs. 4/2664 subtests failed. make: *** [test_dynamic] Error 4 NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz : make_test NO cpan[6]> reports NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz Distribution: N/NU/NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz CPAN::DistnameInfo not installed; cannot continue ###### This appears to be the leftover directory sudo ls -al /tmp/qLAtLJYZik/ total 8 drwx------ 2 root root 4096 2011-04-23 15:02 . drwxrwxrwt 17 root root 4096 2011-04-23 15:02 .. df -h /tmp/ Filesystem Size Used Avail Use% Mounted on /dev/sda6 49G 7.7G 39G 17% / ###### perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.24-27-server, archname=x86_64-linux-gnu-thread-multi uname='linux crested 2.6.24-27-server #1 smp fri mar 12 01:23:09 utc 2010 x86_64 gnulinux ' config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.10 -Darchlib=/usr/lib/perl/5.10 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.10.1 -Dsitearch=/usr/local/lib/perl/5.10.1 -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 -Ud_ualarm -Uusesfio -Uusenm -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.10.1 -Dd_dosuid -des' 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='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g', cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.4.3', 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='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt perllibs=-ldl -lm -lpthread -lc -lcrypt libc=/lib/libc-2.11.1.so, so=so, useshrplib=true, libperl=libperl.so.5.10.1 gnulibc_version='2.11.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector' 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 Built under linux Compiled at Apr 23 2010 08:21:31 @INC: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl . ###### uname -a Linux ariel 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:46 UTC 2011 x86_64 GNU/Linux ###### this is after re-running with answering yes instaed of defaults: NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/files.t .. 601/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x535f2a8) # $expected->[0] = Does not exist t/files.t .. 1264/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x533deb0) # $expected->[0] = Does not exist t/files.t .. 1915/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x2b2a749e1228) # $expected->[0] = Does not exist t/files.t .. 2622/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x51bd8b0) # $expected->[0] = Does not exist t/files.t .. 2627/? # Leaving temporary directory 't/tmp' due to test fails # Looks like you failed 4 tests of 2664. t/files.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/2664 subtests (less 10 skipped subtests: 2650 okay) Test Summary Report ------------------- t/files.t (Wstat: 1024 Tests: 2664 Failed: 4) Failed tests: 634, 1291, 1948, 2622 Non-zero exit status: 4 Files=1, Tests=2664, 33 wallclock secs ( 0.55 usr 0.05 sys + 27.64 cusr 4.65 csys = 32.89 CPU) Result: FAIL Failed 1/1 test programs. 4/2664 subtests failed. make: *** [test_dynamic] Error 4 NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz Running make install make test had returned bad status, won't install without force Running make for N/NU/NUFFIN/Task-KiokuDB-0.06.tar.gz Has already been unwrapped into directory /home/anubis/.cpan/build/Task-KiokuDB-0.06-D7ndQJ CPAN.pm: Going to build N/NU/NUFFIN/Task-KiokuDB-0.06.tar.gz Warning: Prerequisite 'Data::UUID::LibUUID => 0' for 'NUFFIN/Task-KiokuDB-0.06.tar.gz' failed when processing 'NUFFIN/Data-UUID-LibUUID-0.05.tar.gz' with 'writemakefile => NO -- No 'Makefile' created '. Continuing, but chances to succeed are limited. Warning: Prerequisite 'KiokuDB::Backend::Files => 0' for 'NUFFIN/Task-KiokuDB-0.06.tar.gz' failed when processing 'NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz' with 'make_test => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'BerkeleyDB::Manager => 0' for 'NUFFIN/Task-KiokuDB-0.06.tar.gz' failed when processing 'NUFFIN/BerkeleyDB-Manager-0.12.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'KiokuDB::Backend::BDB => 0' for 'NUFFIN/Task-KiokuDB-0.06.tar.gz' failed when processing 'NUFFIN/KiokuDB-Backend-BDB-0.15.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited. cp lib/Task/KiokuDB.pm blib/lib/Task/KiokuDB.pm Manifying blib/man3/Task::KiokuDB.3pm NUFFIN/Task-KiokuDB-0.06.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/basic.t t/basic.t .. ok All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.04 usr 0.00 sys + 0.89 cusr 0.04 csys = 0.97 CPU) Result: PASS NUFFIN/Task-KiokuDB-0.06.tar.gz Tests succeeded but 4 dependencies missing (Data::UUID::LibUUID,BerkeleyDB::Manager,KiokuDB::Backend::BDB,KiokuDB::Backend::Files) NUFFIN/Task-KiokuDB-0.06.tar.gz [dependencies] -- NA Running make install make test had returned bad status, won't install without force Failed during this command: NUFFIN/Data-UUID-LibUUID-0.05.tar.gz : writemakefile NO -- No 'Makefile' created PMQS/BerkeleyDB-0.43.tar.gz : make NO NUFFIN/BerkeleyDB-Manager-0.12.tar.gz : make NO NUFFIN/KiokuDB-Backend-BDB-0.15.tar.gz : make NO NUFFIN/KiokuDB-Backend-Files-0.06.tar.gz : make_test NO NUFFIN/Task-KiokuDB-0.06.tar.gz : make_test NO 4 dependencies missing (Data::UUID::LibUUID,BerkeleyDB::Manager,KiokuDB::Backend::BDB,KiokuDB::Backend::Files) ###### cpan[4]> install KiokuDB::Backend::Files trying to get the tests from cat KiokuDB-Backend-Files-0.06/t/files.t perldoc KiokuDB::Test::Fixture No documentation found for "KiokuDB::Test::Fixture". less /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture.pm make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/files.t .. 599/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x4a3fbc0) # $expected->[0] = Does not exist t/files.t .. 1268/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x47df1f8) # $expected->[0] = Does not exist t/files.t .. 1916/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x47eecb8) # $expected->[0] = Does not exist t/files.t .. 2620/? # Failed test 'no enrtries (db cleared)' # at /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm line 225. # Structures begin differing at: # $got->[0] = KiokuDB::Test::Person=HASH(0x5309c18) # $expected->[0] = Does not exist t/files.t .. 2628/? # Leaving temporary directory 't/tmp' due to test fails # Looks like you failed 4 tests of 2664. t/files.t .. Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/2664 subtests (less 10 skipped subtests: 2650 okay) Test Summary Report ------------------- t/files.t (Wstat: 1024 Tests: 2664 Failed: 4) Failed tests: 634, 1291, 1948, 2622 Non-zero exit status: 4 Files=1, Tests=2664, 37 wallclock secs ( 0.63 usr 0.04 sys + 29.30 cusr 7.02 csys = 36.99 CPU) Result: FAIL Failed 1/1 test programs. 4/2664 subtests failed. make: *** [test_dynamic] Error 4 ###### less /usr/local/share/perl/5.10.1/KiokuDB/Test/Fixture/TXN/Scan.pm ... throws_ok { $self->txn_do(scope => 1, body => sub { $self->backend->clear; is_deeply( [ $self->all_objects->all ], [ ], "no enrtries (db cleared)", ); $self->insert_ok( KiokuDB::Test::Person->new( name => "very new" ) ); is_deeply( [ map { $_->name } $self->all_objects->all ], [ "very new" ], "one entry", ); $self->txn_lives(sub { $self->backend->clear; is_deeply( [ $self->all_objects->all ], [ ], "no enrtries (db cleared)", ); }); [225] is_deeply( [ $self->all_objects->all ], [ ], "no enrtries (db cleared)", ); die "rollback"; }); it's a bit non-obvious what the tests that fail have in common or what's going on really, running make test outside cpan, I can see files that are leftover, but no idea what is failing exactly. Should the entries be gone I still don't know what triggers that. running make test in /home has the side-benefit of putting the tmp dir on a different mount point hopefully these file left over make sense to whoever wrote the tests: lt t/tmp/ total 16 drwx------ 4 anubis anubis 4096 2011-04-23 17:46 57yiU65AP2/ drwx------ 4 anubis anubis 4096 2011-04-23 17:46 oH0fDVvRzO/ drwx------ 4 anubis anubis 4096 2011-04-23 17:46 WLykWhLILc/ drwx------ 4 anubis anubis 4096 2011-04-23 17:47 GU47NomJyq/ ------------ D=t/tmp/57yiU65AP2/all; for F in `ls -1 ${D}`; do FN=${D}/${F}; dump_storable ${FN}; echo; done t/tmp/57yiU65AP2/all/277ff854-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Employee", data => { age => 52, company => bless({ id => "27800ea2-6df3-11e0-9dea-00226862ada3" }, "KiokuDB::Reference"), friends => [], kids => [], name => "joe", parents => [ bless({ id => "27802afe-6df3-11e0-9dea-00226862ada3" }, "KiokuDB::Reference"), ], }, id => "277ff854-6df3-11e0-9dea-00226862ada3", root => 1, }, "KiokuDB::Entry") t/tmp/57yiU65AP2/all/27800ea2-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Company", data => { name => "OHSOME SOFTWARE KTHX" }, id => "27800ea2-6df3-11e0-9dea-00226862ada3", root => 0, }, "KiokuDB::Entry") t/tmp/57yiU65AP2/all/27802afe-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Person", data => { age => 78, friends => [], kids => [], name => "mum", parents => [] }, id => "27802afe-6df3-11e0-9dea-00226862ada3", root => 0, }, "KiokuDB::Entry") t/tmp/57yiU65AP2/all/27805cd6-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Person", data => { age => 3, friends => [], kids => [], name => "oscar", parents => [] }, id => "27805cd6-6df3-11e0-9dea-00226862ada3", root => 1, }, "KiokuDB::Entry") ------------ these 4 files remain among a whole ton of empty directories under t/tmp/GU47NomJyq t/tmp/GU47NomJyq/all/333/866: total 24 drwxr-xr-x 2 anubis anubis 4096 2011-04-23 17:47 . drwxr-xr-x 113 anubis anubis 4096 2011-04-23 17:47 .. -rw-r--r-- 1 anubis anubis 290 2011-04-23 17:47 38f69228-6df3-11e0-9dea-00226862ada3 -rw-r--r-- 1 anubis anubis 136 2011-04-23 17:47 38f6a830-6df3-11e0-9dea-00226862ada3 -rw-r--r-- 1 anubis anubis 175 2011-04-23 17:47 38f6c4d2-6df3-11e0-9dea-00226862ada3 -rw-r--r-- 1 anubis anubis 177 2011-04-23 17:47 38f6f63c-6df3-11e0-9dea-00226862ada3 D=t/tmp/GU47NomJyq/all/333/866; for F in `ls -1 ${D}`; do FN=${D}/${F}; dump_storable ${FN}; echo; done t/tmp/GU47NomJyq/all/333/866/38f69228-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Employee", data => { age => 52, company => bless({ id => "38f6a830-6df3-11e0-9dea-00226862ada3" }, "KiokuDB::Reference"), friends => [], kids => [], name => "joe", parents => [ bless({ id => "38f6c4d2-6df3-11e0-9dea-00226862ada3" }, "KiokuDB::Reference"), ], }, id => "38f69228-6df3-11e0-9dea-00226862ada3", root => 1, }, "KiokuDB::Entry") t/tmp/GU47NomJyq/all/333/866/38f6a830-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Company", data => { name => "OHSOME SOFTWARE KTHX" }, id => "38f6a830-6df3-11e0-9dea-00226862ada3", root => 0, }, "KiokuDB::Entry") t/tmp/GU47NomJyq/all/333/866/38f6c4d2-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Person", data => { age => 78, friends => [], kids => [], name => "mum", parents => [] }, id => "38f6c4d2-6df3-11e0-9dea-00226862ada3", root => 0, }, "KiokuDB::Entry") t/tmp/GU47NomJyq/all/333/866/38f6f63c-6df3-11e0-9dea-00226862ada3 bless({ class => "KiokuDB::Test::Person", data => { age => 3, friends => [], kids => [], name => "oscar", parents => [] }, id => "38f6f63c-6df3-11e0-9dea-00226862ada3", root => 1, }, "KiokuDB::Entry") ------------ D=t/tmp/WLykWhLILc/all; for F in `ls -1 ${D}`; do FN=${D}/${F}; cat ${FN}; echo; done --- !!perl/hash:KiokuDB::Entry class: KiokuDB::Test::Employee data: age: 52 company: !!perl/hash:KiokuDB::Reference id: 2e392cec-6df3-11e0-9dea-00226862ada3 friends: [] kids: [] name: joe parents: - !!perl/hash:KiokuDB::Reference id: 2e394934-6df3-11e0-9dea-00226862ada3 id: 2e39170c-6df3-11e0-9dea-00226862ada3 root: 1 --- !!perl/hash:KiokuDB::Entry class: KiokuDB::Test::Company data: name: OHSOME SOFTWARE KTHX id: 2e392cec-6df3-11e0-9dea-00226862ada3 root: 0 --- !!perl/hash:KiokuDB::Entry class: KiokuDB::Test::Person data: age: 78 friends: [] kids: [] name: mum parents: [] id: 2e394934-6df3-11e0-9dea-00226862ada3 root: 0 --- !!perl/hash:KiokuDB::Entry class: KiokuDB::Test::Person data: age: 3 friends: [] kids: [] name: oscar parents: [] id: 2e3979e0-6df3-11e0-9dea-00226862ada3 root: 1 ------------ D=t/tmp/oH0fDVvRzO/all; for F in `ls -1 ${D}`; do FN=${D}/${F}; cat ${FN}; echo; done {"__CLASS__":"KiokuDB::Test::Employee","data":{"age":52,"company":{"$ref":"2aa1c8c8-6df3-11e0-9dea-00226862ada3.data"},"friends":[],"kids":[],"name":"joe","parents":[{"$ref":"2aa1e5d8-6df3-11e0-9dea-00226862ada3.data"}]},"id":"2aa1b306-6df3-11e0-9dea-00226862ada3","root":true} {"__CLASS__":"KiokuDB::Test::Company","data":{"name":"OHSOME SOFTWARE KTHX"},"id":"2aa1c8c8-6df3-11e0-9dea-00226862ada3"} {"__CLASS__":"KiokuDB::Test::Person","data":{"age":78,"friends":[],"kids":[],"name":"mum","parents":[]},"id":"2aa1e5d8-6df3-11e0-9dea-00226862ada3"} {"__CLASS__":"KiokuDB::Test::Person","data":{"age":3,"friends":[],"kids":[],"name":"oscar","parents":[]},"id":"2aa21706-6df3-11e0-9dea-00226862ada3","root":true} ------------ That's about as far as I can get, hope the info helps. ######################## as an aside, I was able to get stuff aruond KiokuDB::Backend::Files to work Data::UUID::LibUUID Warning: prerequisite asa 0 not found. Writing Makefile for Data::UUID::LibUUID trying cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o /dev/null hdr_check.h hdr_check.h:1:23: error: uuid/uuid.h: No such file or directory *** ERROR: <uuid/uuid.h> seems to be missing *** please install libuuid from e2fsprogs (available as uuid-dev on debian) No 'Makefile' created NUFFIN/Data-UUID-LibUUID-0.05.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: NUFFIN/Data-UUID-LibUUID-0.05.tar.gz : writemakefile NO -- No 'Makefile' created sudo aptitude install uuid-dev then this works: cpan[1]> install Data::UUID::LibUUID ###### BerkelyDB this didn't work: cpan[2]> install PMQS/BerkeleyDB-0.43.tar.gz try sudo aptitude install libberkeleydb-perl cpan still errors with Note (probably harmless): No library found for -ldb BerkeleyDB.xs:72:16: error: db.h: No such file or directory BerkeleyDB.xs:80:2: error: #error db.h is not for Berkeley DB at all. more missing headers? sudo aptitude install ldb-tools libldb-dev still broken more ubuntu packages that look promising... sudo aptitude install libdb-dev libdb-file-lock-perl that worked: PMQS/BerkeleyDB-0.43.tar.gz /usr/bin/make install -- OK NUFFIN/BerkeleyDB-Manager-0.12.tar.gz /usr/bin/make install -- OK NUFFIN/KiokuDB-Backend-BDB-0.15.tar.gz /usr/bin/make install -- OK ######


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.