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

Report information
The Basics
Id:
106731
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
kalaria [...] gmail.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Failed test at t/bigfltpm.inc line 182
Date: Fri, 28 Aug 2015 23:15:32 -0400
To: bug-Math-BigInt-FastCalc@rt.cpan.org
From: Janak <kalaria@gmail.com>
Checking if you have Math::BigInt 1.9993 ... Yes (1.9997)
Building and testing Math-BigInt-FastCalc-0.31
cp lib/Math/BigInt/FastCalc.pm blib/lib/Math/BigInt/FastCalc.pm
Running Mkbootstrap for Math::BigInt::FastCalc ()
chmod 644 "FastCalc.bs"
"/usr/bin/perl" "-Iinc" "/usr/local/share/perl/5.18.2/ExtUtils/xsubpp"  -typemap "/usr/share/perl/5.18/ExtUtils/typemap"  FastCalc.xs > FastCalc.xsc && mv FastCalc.xsc FastCalc.c
cc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" -fPIC "-I/usr/lib/perl/5.18/CORE"   FastCalc.c
rm -f blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so
cc  -shared -L/usr/local/lib -fstack-protector FastCalc.o  -o blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so   \
                \
          
chmod 755 blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so
"/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs blib/arch/auto/Math/BigInt/FastCalc/FastCalc.bs 644
Manifying 1 pod document
Running Mkbootstrap for Math::BigInt::FastCalc ()
chmod 644 "FastCalc.bs"
PERL_DL_NONLAZY=1 "/usr/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.
# Testing Math::BigInt::FastCalc 0.31
# ==> Perl 5.018002, /usr/bin/perl
# ==> Math::BigInt 1.9997
t/01load.t ..... ok
t/02pod.t ...... skipped: Test::Pod 1.22 required for testing POD
t/03podcov.t ... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage

#   Failed test at t/bigfltpm.inc line 182.
#          got: '2,1'
#     expected: '2.25,1'

#   Failed test at t/bigfltpm.inc line 182.
#          got: '1,4'
#     expected: '1.8,4'
# Looks like you failed 2 tests of 2343.
t/bigfltpm.t ... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2343 subtests 
t/bigintfc.t ... ok
t/bigintpm.t ... ok
t/bootstrap.t .. ok
t/leak.t ....... ok
t/mbi_rand.t ... ok
t/mbimbf.t ..... ok

Test Summary Report
-------------------
t/bigfltpm.t (Wstat: 512 Tests: 2343 Failed: 2)
  Failed tests:  1626-1627
  Non-zero exit status: 2
Files=11, Tests=7350,  1 wallclock secs ( 0.41 usr  0.02 sys +  1.60 cusr  0.04 csys =  2.07 CPU)
Result: FAIL
Failed 1/11 test programs. 2/7350 subtests failed.
make: *** [test_dynamic] Error 255
On 2015-08-28 23:16:08, kalaria@gmail.com wrote:
Show quoted text
> Checking if you have Math::BigInt 1.9993 ... Yes (1.9997) > Building and testing Math-BigInt-FastCalc-0.31 > cp lib/Math/BigInt/FastCalc.pm blib/lib/Math/BigInt/FastCalc.pm > Running Mkbootstrap for Math::BigInt::FastCalc () > chmod 644 "FastCalc.bs" > "/usr/bin/perl" "-Iinc" "/usr/local/share/perl/5.18.2/ExtUtils/xsubpp" > -typemap "/usr/share/perl/5.18/ExtUtils/typemap" FastCalc.xs > > FastCalc.xsc && mv FastCalc.xsc FastCalc.c > cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector > -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" > -fPIC "-I/usr/lib/perl/5.18/CORE" FastCalc.c > rm -f blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so > cc -shared -L/usr/local/lib -fstack-protector FastCalc.o -o > blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so \ > \ > > chmod 755 blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so > "/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- > FastCalc.bs blib/arch/auto/Math/BigInt/FastCalc/FastCalc.bs 644 > Manifying 1 pod document > Running Mkbootstrap for Math::BigInt::FastCalc () > chmod 644 "FastCalc.bs" > PERL_DL_NONLAZY=1 "/usr/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. > # Testing Math::BigInt::FastCalc 0.31 > # ==> Perl 5.018002, /usr/bin/perl > # ==> Math::BigInt 1.9997 > t/01load.t ..... ok > t/02pod.t ...... skipped: Test::Pod 1.22 required for testing POD > t/03podcov.t ... skipped: Test::Pod::Coverage 1.08 required for testing POD > coverage > > # Failed test at t/bigfltpm.inc line 182. > # got: '2,1' > # expected: '2.25,1' > > # Failed test at t/bigfltpm.inc line 182. > # got: '1,4' > # expected: '1.8,4' > # Looks like you failed 2 tests of 2343. > t/bigfltpm.t ... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/2343 subtests > t/bigintfc.t ... ok > t/bigintpm.t ... ok > t/bootstrap.t .. ok > t/leak.t ....... ok > t/mbi_rand.t ... ok > t/mbimbf.t ..... ok > > Test Summary Report > ------------------- > t/bigfltpm.t (Wstat: 512 Tests: 2343 Failed: 2) > Failed tests: 1626-1627 > Non-zero exit status: 2 > Files=11, Tests=7350, 1 wallclock secs ( 0.41 usr 0.02 sys + 1.60 cusr > 0.04 csys = 2.07 CPU) > Result: FAIL > Failed 1/11 test programs. 2/7350 subtests failed. > make: *** [test_dynamic] Error 255
Looks like the same problem as described in https://rt.cpan.org/Ticket/Display.html?id=96113
This bug was caused by the test files begin out of sync with Math-BigInt. This has been fixed.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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