Skip Menu |

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

Report information
The Basics
Id: 1480
Status: open
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: mock [...] obscurity.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.010305
Fixed in: 2.010305



Subject: fails tests on OpenBSD 3.1 with perl 5.8.0
-bash-2.05b# make test cd libPARI && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/usr/local" OPTIMIZE="-O2" PASTHRU_DEFINE="" PASTHRU_INC="" cc -c -I./pari-2.1.4/src/headers -I./pari-2.1.4/src -I./libPARI -fno-strict-aliasing -I/usr/local/include -O2 -DVERSION=\"2.010305\" -DXS_VERSION=\"2.010305\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.0/OpenBSD.i386-openbsd/CORE" -DPARI_VERSION_EXP=2001004 -DDEBUG_PARI -DLSB_in_U32=0 -Derr=pari_err -DGCC_INLINE Pari.c rm -f blib/arch/auto/Math/Pari/Pari.so LD_RUN_PATH="/usr/lib" cc -shared -fPIC -L/usr/local/lib Pari.o -o blib/arch/auto/Math/Pari/Pari.so libPARI/libPARI.a -lm chmod 755 blib/arch/auto/Math/Pari/Pari.so PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/analyz......ok 2/6 skipped: various reasons t/elliptic....ok 2/46 skipped: various reasons t/graph.......# Can't locate Term/Gnuplot.pm in @INC, ignoring plotting t/graph.......ok 3/28 skipped: various reasons t/linear......FAILED test 11 Failed 1/105 tests, 99.05% okay (less 2 skipped tests: 102 okay, 97.14%)t/nfields.....ok 23/161PARI: *** Warning: insufficient precision for fundamental units, not given. t/nfields.....ok 156/161PARI: *** Warning: not a fundamental discriminant in quadclassunit. t/nfields.....ok 3/161 skipped: various reasons t/number......ok 3/83 skipped: various reasons t/objets......FAILED test 39 Failed 1/62 tests, 98.39% okay (less 5 skipped tests: 56 okay, 90.32%) t/Pari........ok t/ploth.......# Can't locate Term/Gnuplot.pm in @INC, ignoring plotting t/ploth.......ok 11/34 skipped: various reasons t/PlotRect....# Can't locate Term/Gnuplot.pm in @INC, ignoring the test skipped all skipped: no reason given t/polyser.....FAILED test 32 Failed 1/51 tests, 98.04% okay (less 5 skipped tests: 45 okay, 88.24%) t/program.....ok 17/37 skipped: various reasons t/sumiter.....FAILED test 8 Failed 1/21 tests, 95.24% okay (less 6 skipped tests: 14 okay, 66.67%) t/trans.......FAILED tests 35, 44, 57 Failed 3/62 tests, 95.16% okay (less 4 skipped tests: 55 okay, 88.71%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/linear.t 105 1 0.95% 11 t/objets.t 62 1 1.61% 39 t/polyser.t 51 1 1.96% 32 t/sumiter.t 21 1 4.76% 8 t/trans.t 62 3 4.84% 35 44 57 1 test and 63 subtests skipped. Failed 5/14 test scripts, 64.29% okay. 7/804 subtests failed, 99.13% okay. *** Error code 2 Stop in /root/.cpan/build/Math-Pari-2.010305 (line 832 of Makefile). Make test is failing as above. Build environment is Perl 5.8.0 on OpenBSD i386 3.1 GCC 2.95.3 Willing to offer ssh access to openbsd machine to help fix problem. mock
Date: Wed, 28 Aug 2002 11:15:58 -0700
From: Ilya Zakharevich <ilya [...] Math.Berkeley.EDU>
To: Guest via RT <bug-Math-Pari [...] rt.cpan.org>
Cc: "'AdminCc of cpan Ticket #1480'": ;
Subject: Re: [cpan #1480] fails tests on OpenBSD 3.1 with perl 5.8.0
On Wed, Aug 28, 2002 at 05:27:12AM -0400, Guest via RT wrote: Show quoted text
> > > This message about Math-Pari was sent to you by guest via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=1480 >
My results are: perl -Mblib -MMath::Pari=:DEFAULT,matcompanion -wle "$x=PARIvar 'x'; print matcompanion($x**5-12*$x**3+0.0005)" [0,0,0,0,-0.0005000000000000000104;1,0,0,0,0;0,1,0,0,0;0,0,1,0,12;0,0,0,1,0] Must be -0.0005000000000000000000000000000 so there is a precision loss even on my system. Aha, it should be been perl -Mblib -MMath::Pari=:DEFAULT,matcompanion -wle "$x=PARIvar 'x'; print matcompanion($x**5-12*$x**3+'0.0005')" [0,0,0,0,-0.0004999999999999999999999999999;1,0,0,0,0;0,1,0,0,0;0,0,1,0,12;0,0,0,1,0] which is much better... (I quoted 0.0005.) But on my system it still passes the test... What is the output of the above commands on your system (you need to change the quoting style to suite your shell)? Thanks, Ilya
Looking at http://cpantesters.perl.org/show/Math-Pari.html#Math-Pari-2.010709 it works with OpenBSD, but does not work with NetBSD. Can you test latest version? -- Alexandr Ciornii, http://chorny.net
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #1480] fails tests on OpenBSD 3.1 with perl 5.8.0
Date: Sun, 7 Oct 2007 14:16:22 -0700
To: Alexandr Ciornii via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Sun, Oct 07, 2007 at 03:44:02PM -0400, Alexandr Ciornii via RT wrote: Show quoted text
> > Queue: Math-Pari > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=1480 > > > Looking at > http://cpantesters.perl.org/show/Math-Pari.html#Math-Pari-2.010709 > it works with OpenBSD, but does not work with NetBSD. Can you test > latest version?
Did you test it? 5.8.0 is very broken anyway... Puzzled, Ilya