Your message dated Thu, 05 Feb 2015 10:19:01 +0000
with message-id <[email protected]>
and subject line Bug#776802: fixed in lcalc 1.23+dfsg-4
has caused the Debian Bug report #776802,
regarding We need a bigger pari stack size
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
776802: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776802
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lcalc
Version: 1.23+dfsg-3

the current debian package doesn't work as well as sagemath hopes it to:

jpuydt@cauchy:~$ lcalc -z 3 -e --a1 0 --a2 0 --a3 1 --a4 -1 --a6 0
  ***   Warning: new stack size = 1028928 (0.981 Mbytes).
  ***   Error in the PARI system. End of program.

whereas using sagemath's version (on another box) :
(sage-sh) jpuydt@localhost:sage-6.4.1$ lcalc -z 3 -e --a1 0 --a2 0 --a3 1 --a4 -1 --a6 0
 0
 5.00317001401
 6.87039121695

indeed, one of sagemath's patches against lcalc is to use a larger pari stack -- it is named init_stack.patch and contains :
diff -ru src/include/Lcommandline.h b/include/Lcommandline.h
--- src/include/Lcommandline.h  2012-08-08 23:21:55.000000000 +0200
+++ b/include/Lcommandline.h    2014-01-06 14:04:55.981027532 +0100
@@ -40,12 +40,7 @@
 #include "Lcommandline_globals.h"      //command line global variables
 #ifdef INCLUDE_PARI
 #include "pari.h"          //for pari's elliptic curve functions
-#undef init                //pari has a '#define init pari_init' which
-                           //causes trouble with the stream.h init.
-                           //pari also causes trouble with things like abs.
- //we place the pari include first since otherwise it
-                           //messes up.
-
+#include "paripriv.h"      //for pari_init_stack()
 #endif //ifdef INCLUDE_PARI


diff -ru src/src/Lcommandline.cc b/src/Lcommandline.cc
--- src/src/Lcommandline.cc     2012-08-08 23:21:56.000000000 +0200
+++ b/src/Lcommandline.cc       2014-01-06 14:02:19.463388366 +0100
@@ -473,7 +473,9 @@

 #ifdef INCLUDE_PARI
         if(do_elliptic_curve){
- allocatemoremem((int) N_terms*16+1000000); //XXXXXXXXX this should depend on whether we're double or long double or mpfr double
+             // Reallocate PARI stack
+ pari_init_stack((size_t)N_terms*16 + 1000000, top-bot); //XXXXXXXXX this should depend on whether we're double or long double or mpfr double
+
if (my_verbose>0) cout << "Will precompute " << N_terms << " elliptic L-function dirichlet coefficients..." << endl;
              initialize_new_L(a1,a2,a3,a4,a6,N_terms);
         }


This patch doesn't seem to apply cleanly, and even so the include needs a "pari/paripriv.h", but it looks like something like this would help us.

I will work on this problem in debian-science's git, but I still wanted it clearly reported.

Snark on #debian-science

--- End Message ---
--- Begin Message ---
Source: lcalc
Source-Version: 1.23+dfsg-4

We believe that the bug you reported is fixed in the latest version of
lcalc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Puydt <[email protected]> (supplier of updated lcalc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 02 Feb 2015 11:06:33 +0100
Source: lcalc
Binary: lcalc liblfunction0 liblfunction-dev
Architecture: source amd64
Version: 1.23+dfsg-4
Distribution: sid
Urgency: medium
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Julien Puydt <[email protected]>
Description:
 lcalc      - program for calculating with L-functions
 liblfunction-dev - development files for liblfunction
 liblfunction0 - library for calculating with L-functions
Closes: 776802
Changes:
 lcalc (1.23+dfsg-4) unstable; urgency=medium
 .
   * Added a patch to allocate a bigger PARI stack. (Closes: #776802)
   * Bump standards-version to 3.9.6.
Checksums-Sha1:
 0b1d103e2d0a8c11ce78738f3e60eadfc810a42e 2158 lcalc_1.23+dfsg-4.dsc
 194fb9da9134d98a6ad4626cd8d91887b17746a8 11008 lcalc_1.23+dfsg-4.debian.tar.xz
 51c9cd68acc3060e0f4d141796eec1a45025d87c 133154 lcalc_1.23+dfsg-4_amd64.deb
 e2acd94c36bd819906de3fc8786e65f8b8fcc5ec 34104 
liblfunction0_1.23+dfsg-4_amd64.deb
 7dc25529e0107b16cfe8a911127f3f19e5d5ae91 49830 
liblfunction-dev_1.23+dfsg-4_amd64.deb
Checksums-Sha256:
 239e4a67af78615dca73604f02aa9fd99385016a2eec6ce7eac7b0df51218ab7 2158 
lcalc_1.23+dfsg-4.dsc
 f049b64ed1aab97cade84019dd7bae093c5282d800621315e1926ba35d3b3758 11008 
lcalc_1.23+dfsg-4.debian.tar.xz
 2a1f512610fc108ff350265de61b9fb7a2805475a29f5dd9c880f59743d93d11 133154 
lcalc_1.23+dfsg-4_amd64.deb
 9aa36847f2c145efdd83f6b98cf6d1c870b710444a5d737324cdacd8c7089aa9 34104 
liblfunction0_1.23+dfsg-4_amd64.deb
 8a7bf7b8eb6f4262eb5ece24619b74094d36833625c056f59dc9a8d11e16e8ed 49830 
liblfunction-dev_1.23+dfsg-4_amd64.deb
Files:
 84f0564c3a8943811568114340352391 2158 math optional lcalc_1.23+dfsg-4.dsc
 9b4910a717bff82b5b2ce490e70a8de0 11008 math optional 
lcalc_1.23+dfsg-4.debian.tar.xz
 8e882a1134de14c68af2c220a54e732e 133154 math optional 
lcalc_1.23+dfsg-4_amd64.deb
 df72e3519070fd0d71c46a3078f054a1 34104 math optional 
liblfunction0_1.23+dfsg-4_amd64.deb
 726413b05f26761b352c552af2493733 49830 libdevel optional 
liblfunction-dev_1.23+dfsg-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU0z/XAAoJEIyCFp2Ozs0qO30P/joYWICrHQTvTzYI8KJb0Bf5
rZb3LbV1FqFi8jreeJ6daG8mzWBQjaPY+4V/pNZx7aPYbves4AK/6NipgYWCm/1P
x/z0OMKoMKO28Tbkr8YJn700mz9ZLzXuo9HKzog7L/loGqI8+CfGKohhU/FcOLpi
sq/9BWvu+BzMfLiRsyB12N6/8S70tPCL4PW3ej1sJIH5KVxpV2Z3/zUOP+8uGoSD
jryzSPnJK/qGXAY+vNsMKCN7GrH7+kLkO5KbTbNKpbsO839zrJ+01zubJnUH0uSp
qSNtJaY3g2ui2U9BqwUiw/z5loTRxAPqAfq20dhhWIkTxdvGJskB5t5ptLQyHK3i
VYEH1FYMDYExLXrX+l8hJ2pZ23DTKz+V6UfFMGqh6uVEEji5MnmFdBcT+5hfOyic
b0SddtSOtYc9LrEc+Zm9VkNNscPec7NGmToY8BdfF+9NXIl90nU+7MjxXwxUkkij
sH8VoVVyq/kNgkeUI+M0GhKyJM6v8QtUZgROBYJn8JPR7qbYmydVqTH8B0wBx8dO
BIxOtXMj40wETfSzrxLTqEAQlC1p1PulVbjsJo+CFh/nQklLlysi4JWcB6qk11jO
fHAA/pC54Xnsuc4D0d4aV9eUXTjY57+aNdotSs+xJT3/5wcjbdeck1MKoQ1aWRh6
8ql/uK6Wj9vhwRBYwlkC
=fEul
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to