Skip Menu |

This queue is for tickets about the Class-DBI-Loader-Oracle CPAN distribution.

Report information
The Basics
Id: 19261
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Class-DBI-Loader-Oracle

People
Owner: Nobody in particular
Requestors: hostmaster [...] bipsolutions.com
Cc:
AdminCc:

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



Subject: Class-DBI-Loader-Oracle Test Error
When testing we're receiving the following - please advise PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load......... # Failed test 'use Class::DBI::Loader::Oracle;' t/00-load.........NOK 1# in t/00-load.t at line 4. # Tried to use 'Class::DBI::Loader::Oracle'. # Error: Can't locate object method "set_sql" via package "Class::DBI::Oracle" at /usr/local/lib/perl5/site_perl/5.8.8/Class/DBI/Oracle.pm line 172. # Compilation failed in require at /usr/src/12-05-06/Class-DBI-Loader- Oracle-0.01/blib/lib/Class/DBI/Loader/Oracle.pm line 7. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/00-load.t line 4. # Looks like you failed 1 test of 1. t/00-load.........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 1 Failed 1/1 tests, 0.00% okay t/01-basic........ # Failed test in t/01-basic.t at line 65. # got: undef # expected: 'OracleTest::LoaderTest1' # Failed test in t/01-basic.t at line 66. # got: undef # expected: 'OracleTest::LoaderTest2' Can't call method "retrieve" on an undefined value at t/01-basic.t line 68. t/01-basic........NOK 2# Looks like you planned 6 tests but only ran 2. # Looks like you failed 2 tests of 2 run. # Looks like your test died just after 2. t/01-basic........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t/pod-coverage....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.............skipped all skipped: Test::Pod 1.14 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/00-load.t 1 256 1 1 100.00% 1 t/01-basic.t 255 65280 6 10 166.67% 1-6 2 tests skipped. Failed 2/4 test scripts, 50.00% okay. 7/7 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 255
From: naughton [...] cpan.org
Comments inline below. Thank you, David Naughton On Mon May 15 08:25:57 2006, guest wrote: Show quoted text
> When testing we're receiving the following - please advise > > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "- > e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00-load......... > # Failed test 'use Class::DBI::Loader::Oracle;' > t/00-load.........NOK 1# in t/00-load.t at line 4. > # Tried to use 'Class::DBI::Loader::Oracle'. > # Error: Can't locate object method "set_sql" via > package "Class::DBI::Oracle"
You probably don't have at least one (Class::DBI::Oracle) of the dependencies installed, or at least not installed such that perl can find it/them. Are you installing with the CPAN or CPANPLUS modules? These should install the dependencies automatically. Show quoted text
> at /usr/local/lib/perl5/site_perl/5.8.8/Class/DBI/Oracle.pm line 172. > # Compilation failed in require at /usr/src/12-05-06/Class-DBI-Loader- > Oracle-0.01/blib/lib/Class/DBI/Loader/Oracle.pm line 7. > # Compilation failed in require at (eval 3) line 2. > # BEGIN failed--compilation aborted at t/00-load.t line 4. > # Looks like you failed 1 test of 1. > t/00-load.........dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 1 > Failed 1/1 tests, 0.00% okay > t/01-basic........ > # Failed test in t/01-basic.t at line 65. > # got: undef > # expected: 'OracleTest::LoaderTest1' > > # Failed test in t/01-basic.t at line 66. > # got: undef > # expected: 'OracleTest::LoaderTest2' > Can't call method "retrieve" on an undefined value at t/01-basic.t > line 68. > t/01-basic........NOK 2# Looks like you planned 6 tests but only ran 2. > # Looks like you failed 2 tests of 2 run. > # Looks like your test died just after 2. > t/01-basic........dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1-6 > Failed 6/6 tests, 0.00% okay > t/pod-coverage....skipped > all skipped: Test::Pod::Coverage 1.04 required for testing POD > coverage > t/pod.............skipped > all skipped: Test::Pod 1.14 required for testing POD > Failed Test Stat Wstat Total Fail Failed List of Failed > ----------------------------------------------------------------------- > -------- > t/00-load.t 1 256 1 1 100.00% 1 > t/01-basic.t 255 65280 6 10 166.67% 1-6 > 2 tests skipped. > Failed 2/4 test scripts, 50.00% okay. 7/7 subtests failed, 0.00% okay. > make: *** [test_dynamic] Error 255