Mail Archives: cygwin/2009/06/04/07:13:49
Marc Girod wrote:
>
> My make test fails however:
>
> Test Summary Report
> -------------------
> t/00_Pari.t (Wstat: 65280 Tests: 30 Failed: 0)
> Non-zero exit status: 255
> Parse errors: Bad plan. You planned 546 tests but ran 30.
> ...
>
If I run this first test alone, I reproducibly get it to fail after test 30:
Math-Pari-2.010801> perl "-Iblib/lib" "-Iblib/arch" t/00_Pari.t
1..546
ok 1
...
ok 30
panic: PARI narg value not attached at t/00_Pari.t line 97.
(in cleanup) panic: PARI narg value not attached during global destruction.
If I run it under the debugger, giving a 'continue', the error,
as it seems as reproducible, is after test 33:
Math-Pari-2.010801> make testdb TEST_FILE=t/00_Pari.t
...
/usr/bin/perl.exe -d "-Iblib/lib" "-Iblib/arch" t/00_Pari.t
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(t/00_Pari.t:7): $test = 0;
DB<1> c
1..546
ok 1
...
ok 33
panic: PARI narg value not attached at t/00_Pari.t line 106.
at t/00_Pari.t line 106
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<1> q
make: *** [testdb_dynamic] Error 255
If I continue to test 33, then step a bit, and continue,
I get all the tests to pass:
Math-Pari-2.010801> perl -d "-Iblib/lib" "-Iblib/arch" t/00_Pari.t
Loading DB routines from perl5db.pl version 1.3
Editor support available.
Enter h or `h h' for help, or `man perldebug' for more help.
main::(t/00_Pari.t:7): $test = 0;
DB<1> c 104
1..546
ok 1
...
ok 33
main::(t/00_Pari.t:104): $g=(new Math::Pari "[1,2;3,2]")**-1;
DB<2> s
Math::Pari::new(blib/lib/Math/Pari.pm:1030):
1030: shift;
DB<2> r
scalar context return from Math::Pari::new: 0 Math::Pari=ARRAY(0x1e66378)
0 Math::Pari=SCALAR(0x1e7ffe8)
-> 2136213336
1 Math::Pari=SCALAR(0x1e813d8)
-> 2136213324
1 Math::Pari=ARRAY(0x1e7f868)
0 Math::Pari=SCALAR(0x1e7ff40)
-> 2136213300
1 Math::Pari=SCALAR(0x1e81408)
-> 2136213288
main::(t/00_Pari.t:106): test($g == $gg); # 34
DB<2> c
ok 34
...
# `-10000000000000000000000' ==> Perl `-10000000000000000000000' ==>
Math::Pari `-9.999999999999999999E21'
ok 546
Debugged program terminated. Use q to quit or R to restart,
use o inhibit_exit to avoid stopping after program termination,
h q, h R or h o to get additional info.
DB<2> q
I guess this kind of behaviour means: bloda interference?
What can I do?
Marc
--
View this message in context: http://www.nabble.com/Re%3A-Re%3A-Trying-to-install-CPAN-Math%3A%3AGMP.-Can-libgmp3-provide------libgmp--tp23850368p23867903.html
Sent from the Cygwin list mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -