[Scitech] sagemath needs a lcalc package

Paulo César Pereira de Andrade paulo.cesar.pereira.de.andrade at gmail.com
Sun Apr 29 02:38:37 UTC 2012


  Hi,

  Not making an "official" package review request, but please review:

Spec URL: http://kenobi.mandriva.com/~pcpa/lcalc.spec
SRPM URL: http://kenobi.mandriva.com/~pcpa/lcalc-1.23-1.fc16.src.rpm

  It is not an official request because I just commented patch0 that is
required to build with pari 2.5.0, but fedora 16 has pari 2.3.5, and this
is another showstopper, as sagemath absolutely needs pari 2.5.0.

  For the record, here is where sagemath build fails now:

gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC
-fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
-I/home/pcpa/rpmbuild/BUILDROOT/sagemath-4.8-0.1.x86_64/usr/share/sagemath/local/include
-Ic_lib/include
-I/home/pcpa/rpmbuild/BUILDROOT/sagemath-4.8-0.1.x86_64/usr/share/sagemath/devel/sage/sage/ext
-I/usr/include/python2.7 -c sage/libs/pari/gen.c -o
build/temp.linux-x86_64-2.7/sage/libs/pari/gen.o -w
sage/libs/pari/gen.c: In function '__pyx_pf_4sage_4libs_4pari_3gen_3gen_82Ser':
sage/libs/pari/gen.c:12377:293: error: too many arguments to function 'gtoser'
/usr/include/pari/paridecl.h:1144:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_226bnfisnorm':
sage/libs/pari/gen.c:26636:284: error: too few arguments to function 'bnfisnorm'
/usr/include/pari/paridecl.h:844:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_248idealmul':
sage/libs/pari/gen.c:29034:288: error: too few arguments to function
'idealmulred'
/usr/include/pari/paridecl.h:637:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_283quadhilbert':
sage/libs/pari/gen.c:32540:237: error: too few arguments to function
'quadhilbert'
/usr/include/pari/paridecl.h:780:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_329qflll':
sage/libs/pari/gen.c:36863:281: error: too few arguments to function 'qflll0'
/usr/include/pari/paridecl.h:716:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_330qflllgram':
sage/libs/pari/gen.c:36969:285: error: too few arguments to function
'qflllgram0'
/usr/include/pari/paridecl.h:717:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_361type':
sage/libs/pari/gen.c:39917:31: error: 't_FFELT' undeclared (first use
in this function)
sage/libs/pari/gen.c:39917:31: note: each undeclared identifier is
reported only once for each function it appears in
sage/libs/pari/gen.c:40173:31: error: 't_CLOSURE' undeclared (first
use in this function)
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_363algdep':
sage/libs/pari/gen.c:40419:281: error: too few arguments to function 'algdep'
/usr/include/pari/paridecl.h:687:5: note: declared here
sage/libs/pari/gen.c: In function
'__pyx_pf_4sage_4libs_4pari_3gen_3gen_365lindep':
sage/libs/pari/gen.c:40582:282: error: too few arguments to function 'lindep0'
/usr/include/pari/paridecl.h:694:5: note: declared here
error: command 'gcc' failed with exit status 1

Paulo


More information about the scitech mailing list