Your message dated Sun, 23 Oct 2016 21:18:27 +0000
with message-id <[email protected]>
and subject line Bug#841738: fixed in lcalc 1.23+dfsg-6
has caused the Debian Bug report #841738,
regarding patch for building with PARI 2.9
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.)
--
841738: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841738
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lcalc
Version: 1.23+dfsg-5
Severity: important
Dear Debian science team,
lcalc will FTBFS when pari 2.9.0 is uploaded to Debian.
Please find two patches to fix that.
The first one fixes lcalc to use current function names.
(another way to fix this is to add
#include <pari/pariold.h>
to Lcommandline_elliptic.cc to add back the old names)
The second fixes an API change between pari 2.7 and 2.9.
With theses patches, lcalc should build with both PARI 2.7.6
and 2.9.0.
Cheers,
--
Bill. <[email protected]>
Imagine a large red swirl here.
Index: lcalc-1.23+dfsg/src/Lcommandline_elliptic.cc
===================================================================
--- lcalc-1.23+dfsg.orig/src/Lcommandline_elliptic.cc
+++ lcalc-1.23+dfsg/src/Lcommandline_elliptic.cc
@@ -133,15 +133,15 @@ void data_E(char *a1, char *a2, char *a3
//gaffsg(a4,(GEN) F[4]);
//gaffsg(a6,(GEN) F[5]);
- gaffect(strtoGEN(a1), (GEN) F[1]);
- gaffect(strtoGEN(a2), (GEN) F[2]);
- gaffect(strtoGEN(a3), (GEN) F[3]);
- gaffect(strtoGEN(a4), (GEN) F[4]);
- gaffect(strtoGEN(a6), (GEN) F[5]);
+ gaffect(gp_read_str(a1), (GEN) F[1]);
+ gaffect(gp_read_str(a2), (GEN) F[2]);
+ gaffect(gp_read_str(a3), (GEN) F[3]);
+ gaffect(gp_read_str(a4), (GEN) F[4]);
+ gaffect(gp_read_str(a6), (GEN) F[5]);
E = ellinit(F, NULL, BIGDEFAULTPREC);
- C=globalreduction(E);
+ C=ellglobalred(E);
x=gtodouble((GEN) C[1]);
@@ -167,8 +167,8 @@ void data_E(char *a1, char *a2, char *a3
p=n;
gaffsg(p,y);
- coeff[p] =
Double(1.*llrint(gtodouble(apell(E,y))))/sqrt(Double(1.*p));
- //coeff[p] =
Double(1.*Long(gtodouble(apell(E,y))+.1))/sqrt(Double(1.*p));
+ coeff[p] =
Double(1.*llrint(gtodouble(ellap(E,y))))/sqrt(Double(1.*p));
+ //coeff[p] =
Double(1.*Long(gtodouble(ellap(E,y))+.1))/sqrt(Double(1.*p));
if(gtolong(gmod((GEN) E[12],(GEN) y))==0) // if p|discriminant,
i.e. bad reduction
{
Author: Bill Allombert <[email protected]>
Index: lcalc-1.23+dfsg/src/Lcommandline.cc
===================================================================
--- lcalc-1.23+dfsg.orig/src/Lcommandline.cc
+++ lcalc-1.23+dfsg/src/Lcommandline.cc
@@ -473,7 +473,11 @@ int main (int argc, char *argv[])
#ifdef INCLUDE_PARI
if(do_elliptic_curve){
+#if PARI_VERSION_CODE >= PARI_VERSION(2,8,0)
+ paristack_resize((size_t)N_terms*16 + 1000000);
+#else
pari_init_stack((size_t)N_terms*16 + 1000000, top-bot); //
Allocate bigger PARI stack
+#endif
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);
}
--- End Message ---
--- Begin Message ---
Source: lcalc
Source-Version: 1.23+dfsg-6
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.
Tobias Hansen <[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: Sun, 23 Oct 2016 19:10:37 +0100
Source: lcalc
Binary: lcalc liblfunction0 liblfunction-dev
Architecture: source amd64
Version: 1.23+dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Tobias Hansen <[email protected]>
Description:
lcalc - program for calculating with L-functions
liblfunction-dev - development files for liblfunction
liblfunction0 - library for calculating with L-functions
Closes: 841738
Changes:
lcalc (1.23+dfsg-6) unstable; urgency=medium
.
* Apply two patches to allow building with PARI 2.9. (Closes: #841738)
* Bump Standards-Version to 3.9.8.
Checksums-Sha1:
2332db847b4b0f1d91cb885252317f67088be577 2140 lcalc_1.23+dfsg-6.dsc
dabda1ab5f355f7c53ef9beb44dbb12666e77f91 12036 lcalc_1.23+dfsg-6.debian.tar.xz
59131d67b454ef94d11b137236bdd2341abdef9f 794308
lcalc-dbgsym_1.23+dfsg-6_amd64.deb
79a529e0d6ea0a5a2a216cd26541e473095ba1ba 138712 lcalc_1.23+dfsg-6_amd64.deb
41a9224a7950feab1fdb53b83159fdaae0c8e904 49964
liblfunction-dev_1.23+dfsg-6_amd64.deb
676d84842ec0e25898581146077191dafa8eea10 124276
liblfunction0-dbgsym_1.23+dfsg-6_amd64.deb
36a5da77c1666a243c11bf07037e8c1d7ccad161 38382
liblfunction0_1.23+dfsg-6_amd64.deb
Checksums-Sha256:
0ec47b69f2cb21c3daac83212baf33f45914bb51a843c1e7ad5c7cb64f615ab9 2140
lcalc_1.23+dfsg-6.dsc
1234fbb4995a8bce7b747735f2596dfcf1500d084c1162b35637768b6c289d09 12036
lcalc_1.23+dfsg-6.debian.tar.xz
f36390429bd43b27bfb69ccfad6a4effe61b4598406abbaa2a79df459c1acebb 794308
lcalc-dbgsym_1.23+dfsg-6_amd64.deb
56ed5519ddd66e25995a7121a3ed14b040a3f0be9afd341a5abe6ef39e75c9d8 138712
lcalc_1.23+dfsg-6_amd64.deb
c96d67807b243049e82068688dda3fcbc256af2904084160689acea69bb25d6e 49964
liblfunction-dev_1.23+dfsg-6_amd64.deb
567263ca12a928960d8e76cc3edbaf78cfec3a68d09acd17057bfcbbb09c503e 124276
liblfunction0-dbgsym_1.23+dfsg-6_amd64.deb
593c90b96a53bec0b24924469b022e1c95d9bad5ef67e12f8ce75060b72bf5a5 38382
liblfunction0_1.23+dfsg-6_amd64.deb
Files:
7800c7862ba3da42203c49663b16f7fc 2140 math optional lcalc_1.23+dfsg-6.dsc
4dfeafa81aea2fc15bf9025ead7724ee 12036 math optional
lcalc_1.23+dfsg-6.debian.tar.xz
4e167d958b6a03dc3d406de92db978c1 794308 debug extra
lcalc-dbgsym_1.23+dfsg-6_amd64.deb
ccabeb386f4de16605d13c4122b71827 138712 math optional
lcalc_1.23+dfsg-6_amd64.deb
63eddf9c69af962d7d66f174a92c82c7 49964 libdevel optional
liblfunction-dev_1.23+dfsg-6_amd64.deb
6b562a84d23572169f7549cf69d1f6a3 124276 debug extra
liblfunction0-dbgsym_1.23+dfsg-6_amd64.deb
bfb554131b70a21df761e93555cb726c 38382 math optional
liblfunction0_1.23+dfsg-6_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJYDP6iAAoJEIyCFp2Ozs0q/TIP/2H0cQPHCSU/2OspW6qpjzKm
4ycWkS6VYelRm7oCp7Br88Wq/vRVwZA7aLbBEjoB1gnlb+3kB1uxoe3sldyiaFFH
i3V6+U2pXIjYi0FuZiN4/rEVESO7S6dkKRwpYGhcUnH0aTu6L3QMWtfK6s0kdRUI
Dq7/aXsmJF29rUx6PTLfQ7+JLGp9QiuDcP9WfDzHdqNTgYfYCRpYdxlFfaDOoD4H
ZC4TsStfPfE5yIgs2JnFe5h+2OXtcSLDlN6cBUkdXWicsJBW4UN6e4gm45tSvbQm
IYcAiq6OFXhBYHj0q98hAhAtYOo9RNAQLSFEdy6nYWBUy30fPJlcWKN3tH4EA/mb
h6ktvsocKX+32tHOulW7j1C8pSPzxnOEPUCletR2mEHA6ubN5MdZ3Jsn+89Tcnrp
y36kYS+CdAoCOsgcmazcmXAdHNUxJuvDQwffLRhz5e/g8ZcpzTu0sRaZdhWho2Tv
viOwb4wOM6DHFjBTNE3loF5z4i7XsVmg9N3rS5yi5sLCGC7IwX5UuawoI5gscDXD
PsmE5bhXhXuGAtumxlnVlrNsZJBMmPF+KqB9ETFr8X/vIDPnfKN/wTM8RtLFQYNh
Nbv9dF+/oUqHvUYpy/Y8NXSIT8lOHnqfXff9fKwhnT97DNhyd9Y1OUTdxmFKUlZh
FMNm4Qsoi/sPEExmG3Bo
=82NA
-----END PGP SIGNATURE-----
--- End Message ---