Subject: | Tests fail for multiple packages |
Hi,
I tried to install Crypt::RSA for use with Net::SSH::Perl first using CPAN then by myself. I installed everything I could find needed, by hand with their respective C libraries as needed, Math::GMP, Math::Pari and such. Anyways, make test fails for this and Crypt::Random both. My output from make test is
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-errorhandler....ok
t/01-i2osp...........ok
t/02-os2ip...........ok
t/03-random_octet....ok
t/04-octet_xor.......ok
t/05-primitives......Couldn't load the public key module.
t/05-primitives......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay
t/06-oaep............Couldn't load the public key module.
t/06-oaep............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/07-pss.............ok
t/08-secretkey.......ok
t/09-publickey.......ok
t/10-keygen..........Couldn't load the public key module.
t/10-keygen..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/11-wrapper.........Can't call method "encryptblock" on an undefined value at lib/Crypt/RSA.pm line 98.
t/11-wrapper.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
Failed 12/12 tests, 0.00% okay
t/12-versioning......ok
t/13-es-pkcs1v15.....ok
t/14-ss-pkcs1v15.....Can't call method "n" on an undefined value at lib/Crypt/RSA/SS/PKCS1v15.pm line 55.
t/14-ss-pkcs1v15.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-6
Failed 6/6 tests, 0.00% okay
t/15-benchmark.......Can't call method "n" on an undefined value at lib/Crypt/RSA/SS/PKCS1v15.pm line 55.
t/15-benchmark.......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 1
Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/05-primitives.t 255 65280 5 5 100.00% 1-5
t/06-oaep.t 255 65280 2 2 100.00% 1-2
t/10-keygen.t 255 65280 15 15 100.00% 1-15
t/11-wrapper.t 255 65280 12 12 100.00% 1-12
t/14-ss-pkcs1v15.t 255 65280 6 6 100.00% 1-6
t/15-benchmark.t 255 65280 1 1 100.00% 1
Failed 6/16 test scripts, 62.50% okay. 41/94 subtests failed, 56.38% okay.
make: *** [test_dynamic] Error 2
Crypt::Random does something simmilliar, it hangs on the Class::Loaded line where the lib gets called. I'm using PERL 5.8.0 as it comes from RedHat 9, this is probably a bad call, but for what I'm using the machine for it's probably okay.