#4794: [with spkg, needs work] Update pari to 2.3.4svn
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: assigned
Priority: major | Milestone: sage-3.4.1
Component: packages | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Changes (by mabshoff):
* summary: Update pari to 2.3.4svn => [with spkg, needs work] Update
pari to 2.3.4svn
* milestone: sage-3.4 => sage-3.4.1
Comment:
The spkg at
http://sage.math.washington.edu/home/mabshoff/spkgs/pari-2.4.3-svn11590.spkg
contains today's development snapshot. Unfortunately gen.pyx does not
build at the moment:
{{{
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-fPIC
-I/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local//include
-I/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local//include/csage
-I/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/devel//sage/sage/ext
-I/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local/include/python2.5
-c sage/libs/pari/gen.c -o
build/temp.linux-x86_64-2.5/sage/libs/pari/gen.o -w
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen___hex__’:
sage/libs/pari/gen.c:7100: error: ‘BYTES_IN_LONG’ undeclared (first use in
this function)
sage/libs/pari/gen.c:7100: error: (Each undeclared identifier is reported
only once
sage/libs/pari/gen.c:7100: error: for each function it appears in.)
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_idealred’:
sage/libs/pari/gen.c:21573: error: too many arguments to function
‘idealred0’
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_idealmul’:
sage/libs/pari/gen.c:22203: error: too many arguments to function
‘idealmulred’
sage/libs/pari/gen.c:23069:361: error: macro "nfdiscf0" passed 3
arguments, but takes just 1
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_nfdisc’:
sage/libs/pari/gen.c:23069: error: ‘nfdiscf0’ undeclared (first use in
this function)
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_qflll’:
sage/libs/pari/gen.c:27453: error: too many arguments to function ‘qflll0’
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_qflllgram’:
sage/libs/pari/gen.c:27554: error: too many arguments to function
‘qflllgram0’
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_algdep’:
sage/libs/pari/gen.c:30284: error: too many arguments to function
‘algdep0’
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_3gen_lindep’:
sage/libs/pari/gen.c:30417: error: too many arguments to function
‘lindep0’
sage/libs/pari/gen.c: In function
‘__pyx_pf_4sage_4libs_4pari_3gen_12PariInstance_listcreate’:
sage/libs/pari/gen.c:35975: error: too many arguments to function
‘listcreate’
sage/libs/pari/gen.c: In function
‘__pyx_f_4sage_4libs_4pari_3gen_fix_size’:
sage/libs/pari/gen.c:37409: error: ‘BYTES_IN_LONG’ undeclared (first use
in this function)
error: command 'gcc' failed with exit status 1
sage: There was an error installing modified sage library code.
}}}
Ironically the doctests for gen.pyx pass:
{{{
mabsh...@sage:/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special$
./sage -t devel/sage/sage/libs/pari/gen.pyx
sage -t "devel/sage/sage/libs/pari/gen.pyx"
[2.4 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 2.4 seconds
}}}
And we are linking against the correct development snapshot:
{{{
sage-3.3.alpha6-pari2.4.3-special$ ldd
devel/sage/build/sage/libs/pari/gen.so
linux-vdso.so.1 => (0x00007fff01ffe000)
libcsage.so =>
/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local/lib/libcsage.so
(0x00007f4af99f2000)
libpari-gmp.so.2 =>
/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local/lib/libpari-
gmp.so.2 (0x00007f4af94ad000)
libgmp.so.3 =>
/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local/lib/libgmp.so.3
(0x00007f4af925c000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f4af8f40000)
libntl-5.4.2.so =>
/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local/lib/libntl-5.4.2.so
(0x00007f4af8b61000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4af8945000)
libc.so.6 => /lib/libc.so.6 (0x00007f4af85e3000)
libpari-gmp-2.4.so.3 =>
/scratch/mabshoff/gp/sage-3.3.alpha6-pari2.4.3-special/local/lib/libpari-
gmp-2.4.so.3 (0x00007f4af7f62000)
libm.so.6 => /lib/libm.so.6 (0x00007f4af7ce1000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f4af7ad3000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f4af78ce000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4af9ece000)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4794#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---