delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/04/07:13:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT
X-Spam-Check-By: sourceware.org
Message-ID: <23867903.post@talk.nabble.com>
Date: Thu, 4 Jun 2009 04:13:31 -0700 (PDT)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Trying to install CPAN Math::GMP. Can libgmp3 provide -libgmp?
In-Reply-To: <23867664.post@talk.nabble.com>
MIME-Version: 1.0
References: <200906031216 DOT n53CGKUO010222 AT mail10 DOT syd DOT optusnet DOT com DOT au> <23850818 DOT post AT talk DOT nabble DOT com> <4A26AF36 DOT 2000200 AT x-ray DOT at> <23867664 DOT post AT talk DOT nabble DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019