Skip Menu |

This queue is for tickets about the Math-BigInt-Pari CPAN distribution.

Report information
The Basics
Id: 25409
Status: resolved
Worked: 15 min
Priority: 0/
Queue: Math-BigInt-Pari

People
Owner: TELS [...] cpan.org
Requestors: gypark [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.11
Fixed in: (no value)



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.
Subject: Re: [rt.cpan.org #25409] tests failing with Math::BigInt 1.80
Date: Tue, 13 Mar 2007 18:39:01 +0000
To: bug-Math-BigInt-Pari [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Moin, On Tuesday 13 March 2007 12:02:17 gypark@gmail.com via RT wrote: Show quoted text
> Tue Mar 13 08:02:14 2007: Request 25409 was acted upon. > Transaction: Ticket created by gypark@gmail.com > Queue: Math-BigInt-Pari > Subject: tests failing with Math::BigInt 1.80 > Broken in: 1.11 > Severity: (no value) > Owner: Nobody > Requestors: gypark@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=25409 > > > > Dear, > > I tried to build Math::BigInt::GMP
I think you meant Math::BigInt::Pari here :) Yes, Math::BigInt::Pari does not work with the newest BigInt, I need to release a new version. I don't know when I will find the time for this. Show quoted text
> 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)
This is another, slightly releated problem: Math::BigInt::GMP shares part of it's testsuite with Math::BigInt. But Math::BigInt was updated to handle NaN in comparisions finally right, and so the testsuite needed to be adjusted for this. However, Math::BigInt::GMPs testsuite was not yet adjusted. I will release a new version of these two modules, but I don't know when. All the best, tels - -- Signed on Tue Mar 13 18:35:40 2007 with key 0x93B84C15. Get one of my photo posters: http://bloodgate.com/posters PGP key on http://bloodgate.com/tels.asc or per email. "Retsina?" - "Ja, Papa?" - "Rasenmähen." - "Is gut, Papa." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQEVAwUBRfbvz3cLPEOTuEwVAQJvagf+LX7v4AysOVSuXvteHldVqMJW2AuT8Ob6 AY5vyGlpegrJvzLKSzmiAvSlu9Z9p76/UZKSIN9fzvjfB0cbCuwLQk53edv3Leew 3v6rzT6dk4NdgteqPHybpQh9rrF9mhlkKapeLUeljD6Mm2SdwF+rltRZQRVB3uvP tl6qhjfvIN6nOT2c+AbGETYzqtTtudWSpzBJw+idpGbzYkbBqIBVYsjC5bk+8IxF CTnPC7Yu0miHKtwrJVdeULS/0CmDsyy1sA56q2sj5wVkEafjvVGp9ngktSVGUDsV HtS70AnS5JH63fR0pzZjMmI3k744ThNppLmXQ7YJxxdY7Yq5fQy/+g== =MEHb -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #25409] tests failing with Math::BigInt 1.80
Date: Wed, 14 Mar 2007 07:01:10 +0900
To: bug-Math-BigInt-Pari [...] rt.cpan.org
From: "GeunYoung Park" <gypark [...] gmail.com>
Dear, Thanks for your kind reply. :-) 2007/3/14, nospam-abuse@bloodgate.com via RT <bug-Math-BigInt-Pari@rt.cpan.org>: Show quoted text
> > I tried to build Math::BigInt::GMP
> > I think you meant Math::BigInt::Pari here :)
Yes, you're right. I copy the report of Hans Lawrenz :-) As he'd mentioned, I downgrade Math::BigInt 1.79 and succeeded to install MB::GMP, but still failed to install MB::Pari. I need only one of these two modules because Crypt::DH. (And I need DH because of Net::OpenID::JanRain::Consumer) So I stop trying to install Pari any more :-D Anyway, thanks for your module again. Sincerely, G.Y.Park in South Korea
The new release of Math::BigInt::Pari (as well of Math::BigInt) should solve this issue. If they do not, please re-open this bugreport by replying to this mail. All the best, Tels