Subject: | tests failing with Math::BigInt 1.80 |
Dear,
I tried to build Math::BigInt::GMP with version 1.80 of Math::BigInt
installed. But I failed with the following errors:
cpan[33]> test Math::BigInt::Pari
Running test for module Math::BigInt::Pari
Running make for T/TE/TELS/math/Math-BigInt-Pari-1.11.tar.gz
Is already unwrapped into directory /root/.cpan/build/Math-BigInt-
Pari-1.11
Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/bigfltpm......Math::BigInt::Pari is missing method '_from_oct' at
t/bigfltpm.t line 16
Cannot load outdated Math::BigInt::Pari v1.11, please upgrade at
t/bigfltpm.t line 16
Math::BigInt: couldn't load specified math lib(s), fallback to
Math::BigInt::Calc at t/bigfltpm.t line 16
# Test 1 got: "Math::BigInt::Calc" (bigfltpm.inc at line 3)
# Expected: "Math::BigInt::Pari"
t/bigfltpm......NOK 838/1992# Test 838 got: "1" (bigfltpm.inc at line
360)
# Expected: "undef"
t/bigfltpm......NOK 839/1992# Test 839 got: "1" (bigfltpm.inc at line
360 fail #2)
# Expected: "undef"
t/bigfltpm......NOK 840/1992# Test 840 got: "1" (bigfltpm.inc at line
360 fail #3)
# Expected: "undef"
t/bigfltpm......NOK 901/1992# Test 901 got: "1" (bigfltpm.inc at line
360 fail #4)
# Expected: "undef"
t/bigfltpm......NOK 902/1992# Test 902 got: "1" (bigfltpm.inc at line
360 fail #5)
# Expected: "undef"
t/bigfltpm......NOK 903/1992# Test 903 got: "1" (bigfltpm.inc at line
360 fail #6)
# Expected: "undef"
t/bigfltpm......NOK 904/1992# Test 904 got: "1" (bigfltpm.inc at line
360 fail #7)
# Expected: "undef"
t/bigfltpm......FAILED tests 1, 838-840, 901-904
Failed 8/1992 tests, 99.60% okay
t/bigintpari....ok
t/bigintpm......Math::BigInt::Pari is missing method '_from_oct' at
t/bigintpm.t line 16
Cannot load outdated Math::BigInt::Pari v1.11, please upgrade at
t/bigintpm.t line 16
Math::BigInt: couldn't load specified math lib(s), fallback to
Math::BigInt::Calc at t/bigintpm.t line 16
Math::BigInt: couldn't load specified math lib(s), fallback to
Math::BigInt::Calc at bigintpm.inc line 12
t/bigintpm......NOK 1/2962# Test 1 got: "Math::BigInt::Calc"
(bigintpm.inc at line 39)
# Expected: "Math::BigInt::Pari"
t/bigintpm......NOK 790/2962# Test 790 got: "1" (bigintpm.inc at line
670)
# Expected: "undef"
t/bigintpm......NOK 791/2962# Test 791 got: "1" (bigintpm.inc at line
670 fail #2)
# Expected: "undef"
t/bigintpm......NOK 792/2962# Test 792 got: "1" (bigintpm.inc at line
670 fail #3)
# Expected: "undef"
t/bigintpm......NOK 828/2962# Test 828 got: "1" (bigintpm.inc at line
670 fail #4)
# Expected: "undef"
t/bigintpm......NOK 829/2962# Test 829 got: "1" (bigintpm.inc at line
670 fail #5)
# Expected: "undef"
t/bigintpm......NOK 830/2962# Test 830 got: "1" (bigintpm.inc at line
670 fail #6)
# Expected: "undef"
t/bigintpm......NOK 831/2962# Test 831 got: "1" (bigintpm.inc at line
670 fail #7)
# Expected: "undef"
t/bigintpm......ok 2612/2962Can't locate object method "_base_len" via
package "Math::BigInt::Pari" at bigintpm.inc line 526.
Compilation failed in require at t/bigintpm.t line 22.
t/bigintpm......dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1, 790-792, 828-831
Failed 8/2962 tests, 99.73% okay
Failed Test Stat Wstat Total Fail List of Failed
-----------------------------------------------------------------------
--------
t/bigfltpm.t 1992 8 1 838-840 901-904
t/bigintpm.t 255 65280 2962 8 1 790-792 828-831
Failed 2/3 test scripts. 16/5055 subtests failed.
Files=3, Tests=5055, 19 wallclock secs (13.03 cusr + 0.50 csys =
13.53 CPU)
Failed 2/3 test programs. 16/5055 subtests failed.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Failed during this command:
TELS/math/Math-BigInt-Pari-1.11.tar.gz : make_test NO
It looks very similar to the report of Hans Lawrenz about
Math::BigInt::GMP, As you can see in:
http://rt.cpan.org/Public/Bug/Display.html?id=25328
(I also failed to install Math::BigInt::GMP with the same error, too)
I wish this problem be fixed soon :-) Thank you very much for your
effort.
I'm sorry I'm not good at English.
G.Y.Park in South Korea.