Skip Menu |
 

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

Report information
The Basics
Id: 108058
Status: resolved
Priority: 0/
Queue: Math-BigInt

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.999706
Fixed in: 1.999707



Subject: Insufficient dependency on Math::Complex
Download (untitled) / with headers
text/plain 699b
Latest release of Math::BigInt adds reliance on the Math::Complex::Inf() function[1], which is only available since Math::Complex 1.39[2], making the module fail tests (and likely misbehave during runtime) on perls older than 5.10.1 (with 5.8.9 being an oddball exception, since it has M::C v1.54 versus the 5.10.0 v1.37) The easiest/safest resolution would be to add a dependency on Math::Complex 1.39 to Math::BigInt. Attached is a sample failure report Cheers! [1] https://metacpan.org/diff/file?target=PJACKLAM%2FMath-BigInt-1.999706%2Flib%2FMath%2FBigFloat.pm&source=PJACKLAM%2FMath-BigInt-1.999705%2Flib%2FMath%2FBigFloat.pm [2] https://metacpan.org/changes/distribution/Math-Complex#L198
Subject: mbint_fail.txt
Download mbint_fail.txt
text/plain 7k
Running Makefile.PL Configuring Math-BigInt-1.999706 ... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Math::BigInt Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.62 ... Yes (1.001014) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04) Building and testing Math-BigInt-1.999706 ... cp lib/Math/BigInt/CalcEmu.pm blib/lib/Math/BigInt/CalcEmu.pm cp lib/Math/BigInt.pm blib/lib/Math/BigInt.pm cp lib/Math/BigFloat.pm blib/lib/Math/BigFloat.pm cp lib/Math/BigInt/Calc.pm blib/lib/Math/BigInt/Calc.pm Manifying 4 pod documents PERL_DL_NONLAZY=1 "/home/rabbit/perl5/perlbrew/perls/5.8.8/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/00sig.t ........... skipped: Set the environment variable TEST_SIGNATURE to enable this test. t/01load.t .......... 1/2 # # Testing with Perl 5.008008, /home/rabbit/perl5/perlbrew/perls/5.8.8/bin/perl # # Version Module # ------- ------ # 1.999706 Math::BigInt # 1.999706 Math::BigFloat # 1.999706 Math::BigInt::Calc # t/01load.t .......... ok t/02pod.t ........... ok t/03podcov.t ........ ok t/_e_math.t ......... ok t/bare_mbf.t ........ 1993/2363 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigFloat.pm line 451, <DATA> line 1476. Compilation failed in require at t/bare_mbf.t line 14, <DATA> line 1476. # Looks like you planned 2363 tests but ran 2320. # Looks like your test exited with 255 just after 2320. t/bare_mbf.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 43/2363 subtests t/bare_mbi.t ........ 2836/3701 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigInt.pm line 860. Compilation failed in require at t/bare_mbi.t line 18. # Looks like you planned 3701 tests but ran 3643. # Looks like your test exited with 255 just after 3643. t/bare_mbi.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 58/3701 subtests t/bare_mif.t ........ ok t/big_pi_e.t ........ ok t/bigfltpm.t ........ 243/2368 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigFloat.pm line 451, <DATA> line 1476. Compilation failed in require at t/bigfltpm.t line 34, <DATA> line 1476. # Looks like you planned 2368 tests but ran 2325. # Looks like your test exited with 255 just after 2325. t/bigfltpm.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 43/2368 subtests t/bigintc.t ......... ok t/bigintpm.t ........ 3378/3707 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigInt.pm line 860. Compilation failed in require at t/bigintpm.t line 36. # Looks like you planned 3707 tests but ran 3649. # Looks like your test exited with 255 just after 3649. t/bigintpm.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 58/3707 subtests t/bigints.t ......... ok t/biglog.t .......... ok t/bigroot.t ......... ok t/blog-mbf.t ........ skipped: these tests are for release candidate testing t/blog-mbi.t ........ skipped: these tests are for release candidate testing t/calling.t ......... ok t/config.t .......... ok t/const_mbf.t ....... ok t/constant.t ........ ok t/downgrade.t ....... ok t/inf_nan.t ......... ok t/isa.t ............. ok t/lib_load.t ........ ok t/mbf_ali.t ......... ok t/mbi_ali.t ......... ok t/mbi_rand.t ........ ok t/mbimbf.t .......... ok t/nan_cmp.t ......... ok t/new_overloaded.t .. ok t/objectify_mbf.t ... ok t/objectify_mbi.t ... ok t/req_mbf0.t ........ ok t/req_mbf1.t ........ ok t/req_mbfa.t ........ ok t/req_mbfi.t ........ ok t/req_mbfn.t ........ ok t/req_mbfw.t ........ ok t/require.t ......... ok t/round.t ........... ok t/rt-16221.t ........ ok t/sub_ali.t ......... ok t/sub_mbf.t ......... 1517/2369 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigFloat.pm line 451, <DATA> line 1476. Compilation failed in require at t/sub_mbf.t line 16, <DATA> line 1476. # Looks like you planned 2369 tests but ran 2320. # Looks like your test exited with 255 just after 2320. t/sub_mbf.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 49/2369 subtests t/sub_mbi.t ......... 2193/3706 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigInt.pm line 860. Compilation failed in require at t/sub_mbi.t line 17. # Looks like you planned 3706 tests but ran 3643. # Looks like your test exited with 255 just after 3643. t/sub_mbi.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 63/3706 subtests t/sub_mif.t ......... ok t/trap.t ............ ok t/upgrade.t ......... ok t/upgrade2.t ........ ok t/upgradef.t ........ ok t/use.t ............. ok t/use_lib1.t ........ ok t/use_lib2.t ........ ok t/use_lib3.t ........ ok t/use_lib4.t ........ ok t/use_mbfw.t ........ ok t/with_sub.t ........ 1982/2364 Undefined subroutine &Math::Complex::Inf called at /home/rabbit/.cpanm/work/1446113063.18465/Math-BigInt-1.999706/blib/lib/Math/BigFloat.pm line 451, <DATA> line 1476. Compilation failed in require at t/with_sub.t line 17, <DATA> line 1476. # Looks like you planned 2364 tests but ran 2321. # Looks like your test exited with 255 just after 2321. t/with_sub.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 43/2364 subtests Test Summary Report ------------------- t/bare_mbf.t (Wstat: 65280 Tests: 2320 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2363 tests but ran 2320. t/bare_mbi.t (Wstat: 65280 Tests: 3643 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 3701 tests but ran 3643. t/bigfltpm.t (Wstat: 65280 Tests: 2325 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2368 tests but ran 2325. t/bigintpm.t (Wstat: 65280 Tests: 3649 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 3707 tests but ran 3649. t/sub_mbf.t (Wstat: 65280 Tests: 2320 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2369 tests but ran 2320. t/sub_mbi.t (Wstat: 65280 Tests: 3643 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 3706 tests but ran 3643. t/with_sub.t (Wstat: 65280 Tests: 2321 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 2364 tests but ran 2321. Files=57, Tests=27985, 15 wallclock secs ( 3.94 usr 0.25 sys + 13.54 cusr 0.36 csys = 18.09 CPU) Result: FAIL Failed 7/57 test programs. 0/27985 subtests failed. Makefile:793: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 FAIL
I have released version 1.999707 which hopefully fixes this.
My smokers seem happy with this. Thanks!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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