Skip Menu |

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

Report information
The Basics
Id: 27641
Status: resolved
Priority: 0/
Queue: Math-GMP

People
Owner: Nobody in particular
Requestors: maik [...] mm-double.de
Cc:
AdminCc:

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



Subject: Math::GMP 2.04 tests fail x86_64 arch on Linux
Date: Tue, 19 Jun 2007 15:29:26 +0200
To: bug-Math-GMP [...] rt.cpan.org
From: Maik Hentsche <maik [...] mm-double.de>
Hi, on my AMD64, running perl v5.8.8 built for x86_64-linux-thread-multi, I can not install Math::GMP using perl -MCPAN -e 'force install Math::GMP' http://rt.cpan.org/Public/Bug/Display.html?id=12751 seems to be a dublicate of this, but since I can't download the source code from http://search.cpan.org/~chipt/Math-GMP-2.04/lib/Math/GMP.pm (permission denied), I can not apply the patch. This is the full message I get: root@siegfried # perl -MCPAN -e 'force install Math::GMP' CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sat, 16 Jun 2007 00:10:30 GMT Running install for module Math::GMP Running make for C/CH/CHIPT/Math-GMP-2.04.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/C/CH/CHIPT/Math-GMP-2.04.tar.gz ok Scanning cache /root/.cpan/build for sizes Math-GMP-2.04/ Math-GMP-2.04/Changes Math-GMP-2.04/COPYING.LIB Math-GMP-2.04/MANIFEST Math-GMP-2.04/typemap Math-GMP-2.04/GMP.xs Math-GMP-2.04/t/ Math-GMP-2.04/t/gmppm.t Math-GMP-2.04/lib/ Math-GMP-2.04/lib/Math/ Math-GMP-2.04/lib/Math/GMP.pm Math-GMP-2.04/INSTALL Math-GMP-2.04/Makefile.PL Math-GMP-2.04/README Math-GMP-2.04/LICENSE Removing previously used /root/.cpan/build/Math-GMP-2.04 CPAN.pm: Going to build C/CH/CHIPT/Math-GMP-2.04.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Math::GMP cp lib/Math/GMP.pm blib/lib/Math/GMP.pm AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP) /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GMP.xs Show quoted text
> GMP.xsc && mv GMP.xsc GMP.c
Running Mkbootstrap for Math::GMP () chmod 644 GMP.bs cp GMP.bs blib/arch/auto/Math/GMP/GMP.bs chmod 644 blib/arch/auto/Math/GMP/GMP.bs cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -g -Wall -pipe -DVERSION=\"2.04\" -DXS_VERSION=\"2.04\" -fPIC "-I/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi/CORE" GMP.c GMP.xs: In function ‘constant’: GMP.xs:49: warning: label ‘not_there’ defined but not used GMP.c: At top level: GMP.xs:35: warning: ‘not_here’ defined but not used rm -f blib/arch/auto/Math/GMP/GMP.so LD_RUN_PATH="/usr/lib64" cc -shared -L/usr/local/lib64 GMP.o -o blib/arch/auto/Math/GMP/GMP.so \ -lgmp \ chmod 755 blib/arch/auto/Math/GMP/GMP.so Manifying blib/man3/Math::GMP.3pm /usr/bin/make -j3 -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/gmppm....ok 1/350# Test 278 got: "9999999999" (t/gmppm.t at line 118 fail #278) # Expected: "1410065407" # t/gmppm.t line 118 is: print "# Tried '$try'\n" if !ok("$ans1",$ans); # need "$ans1" due to bug # Test 279 got: "99999999999" (t/gmppm.t at line 118 fail #279) # Expected: "1215752191" # Test 280 got: "999999999999" (t/gmppm.t at line 118 fail #280) # Expected: "3567587327" # Test 285 got: "9999999999" (t/gmppm.t at line 118 fail #285) # Expected: "1410065407" t/gmppm....FAILED tests 278-280, 285 Failed 4/350 tests, 98.86% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/gmppm.t 350 4 1.14% 278-280 285 Failed 1/1 test scripts, 0.00% okay. 4/350 subtests failed, 98.86% okay. make: *** [test_dynamic] Error 255 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force so long Maik -- Maik Hentsche <maik@linux-tage.de> http://chemnitzer.linux-tage.de
Fixed in version 2.05, thanks for the bug report.