Skip Menu |

This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id: 69295
Status: open
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.01080605
Fixed in: (no value)



Subject: RFE: pari 2.5.0 support
The new stable release 2.5.0 isn't building for me: gcc -c -I ./pari-2.5.0/src -I ./pari-2.5.0/src/headers -I ./pari-2.5.0/src -I ./libPARI -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/pari -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wl,-z,relro -m64 -mtune=generic -DVERSION=\"2.01080605\" -DXS_VERSION=\"2.01080605\" -fPIC "-I/usr/lib64/perl5/CORE" -DNO_HIGHLEVEL_PARI -DPARI_VERSION_EXP=2005000 -DDEBUG_PARI -DUSE_SLOW_ARRAY_ACCESS -DUSE_SLOW_NARGS_ACCESS -DLSB_in_U32=0 -Derr=pari_err -DHAVE_PARIPRIV -DNO_GRAPHICS_PARI Pari.c Pari.xs:1118:0: warning: "BL_HEAD" redefined [enabled by default] ./pari-2.5.0/src/language/anal.h:29:0: note: this is the location of the previous definition Pari.xs:1733:0: warning: "NO_GRAPHICS_PARI" redefined [enabled by default] <command-line>:0:0: note: this is the location of the previous definition Pari.xs: In function 'PARIvar': Pari.xs:466:8: warning: unused variable 'hash' [-Wunused-variable] Pari.xs: In function 'findVariable': Pari.xs:550:24: error: 'ordvar' undeclared (first use in this function) Pari.xs:550:24: note: each undeclared identifier is reported only once for each function it appears in Pari.xs:531:8: warning: unused variable 'hash' [-Wunused-variable] Pari.xs: In function 'svErrflush': Pari.xs:743:6: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat] Pari.xs: At top level: Pari.xs:768:1: warning: excess elements in struct initializer [enabled by default] Pari.xs:768:1: warning: (near initialization for 'perlOut') [enabled by default] Pari.xs:769:1: warning: excess elements in struct initializer [enabled by default] Pari.xs:769:1: warning: (near initialization for 'perlErr') [enabled by default] Pari.xs: In function 'pari2iv': Pari.xs:937:14: error: 'TWOPOTBYTES_IN_LONG' undeclared (first use in this function) Pari.xs: In function 'pari2pv': Pari.xs:1013:2: warning: implicit declaration of function 'bruteall' [-Wimplicit-function-declaration] Pari.xs: In function 'setprecision': Pari.xs:1036:73: error: 'BYTES_IN_LONG' undeclared (first use in this function) Pari.xs: In function 'pari_pprint': Pari.xs:1086:3: warning: implicit declaration of function 'sor' [-Wimplicit-function-declaration] Pari.xs: In function 'heap_dump_one': Pari.xs:1139:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat] Pari.xs: In function 'installPerlFunctionCV': Pari.xs:1272:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Pari.xs: In function 'freePerlFunction': Pari.xs:1290:2: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [enabled by default] /usr/include/stdlib.h:488:13: note: expected 'void *' but argument is of type 'const char *' Pari.xs:1292:2: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [enabled by default] /usr/include/stdlib.h:488:13: note: expected 'void *' but argument is of type 'const char *' Pari.xs: At top level: Pari.xs:1321:1: error: conflicting types for 'allocatemem' ./pari-2.5.0/src/headers/paridecl.h:1887:6: note: previous declaration of 'allocatemem' was here Pari.xs: In function 'allocatemem': Pari.xs:1325:2: warning: implicit declaration of function 'allocatemoremem' [-Wimplicit-function-declaration] Pari.xs: In function 'callPerlFunction': Pari.xs:1337:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] Pari.xs: In function 'exprHandler_Perl': Pari.xs:1420:10: warning: variable 'count' set but not used [-Wunused-but-set-variable] Pari.xs: In function 'XS_Math__Pari_interface_flexible_void': Pari.xs:1974:4: warning: passing argument 2 of 'fill_argvect' discards 'const' qualifier from pointer target type [enabled by default] Pari.xs:1532:1: note: expected 'char *' but argument is of type 'const char *' Pari.xs: In function 'XS_Math__Pari_interface_flexible_gen': Pari.xs:2002:4: warning: passing argument 2 of 'fill_argvect' discards 'const' qualifier from pointer target type [enabled by default] Pari.xs:1532:1: note: expected 'char *' but argument is of type 'const char *' Pari.xs: In function 'XS_Math__Pari_interface_flexible_long': Pari.xs:2032:4: warning: passing argument 2 of 'fill_argvect' discards 'const' qualifier from pointer target type [enabled by default] Pari.xs:1532:1: note: expected 'char *' but argument is of type 'const char *' Pari.xs: In function 'XS_Math__Pari_interface_flexible_int': Pari.xs:2062:4: warning: passing argument 2 of 'fill_argvect' discards 'const' qualifier from pointer target type [enabled by default] Pari.xs:1532:1: note: expected 'char *' but argument is of type 'const char *' Pari.xs: In function 'XS_Math__Pari_loadPari': Pari.xs:3462:39: error: 'EpUSER' undeclared (first use in this function) Pari.xs:3574:14: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] Pari.c:4523:6: warning: variable 'v' set but not used [-Wunused-but-set-variable] Pari.xs: In function 'XS_Math__Pari_listPari': Pari.xs:3624:29: error: 'functions_basic' undeclared (first use in this function) Pari.xs: In function 'XS_Math__Pari_dumpStack': Pari.xs:3806:7: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat] Pari.xs:3806:7: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat] Pari.xs:3806:7: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat] Pari.xs:3809:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'UV' [-Wformat] Pari.c: In function 'XS_Math__Pari_set_gnuterm': Pari.c:5452:5: warning: variable 'c' set but not used [-Wunused-but-set-variable] Pari.c:5451:5: warning: unused variable 'b' [-Wunused-variable] Pari.c:5450:5: warning: unused variable 'a' [-Wunused-variable] Pari.c: In function 'XS_Math__Pari_int_set_term_ftable': Pari.c:5561:5: warning: unused variable 'a' [-Wunused-variable] Pari.xs: In function 'boot_Math__Pari': Pari.xs:3772:20: warning: assignment from incompatible pointer type [enabled by default] I guess now would be a good time to ask for perl 5.14 support too (RT#61271)...
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #69295] RFE: pari 2.5.0 support
Date: Fri, 8 Jul 2011 03:32:30 -0700
To: "paul [...] city-fan.org via RT" <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
Show quoted text
> The new stable release 2.5.0 isn't building for me:
As expected... AFAIK, they removed a lot of interface functions... Show quoted text
> I guess now would be a good time to ask for perl 5.14 support too > (RT#61271)...
I thought that I released an updated version before moving away for the summer... Did I screw things up? Ilya
From: paul [...] city-fan.org
On Fri Jul 08 06:32:41 2011, nospam-abuse@ilyaz.org wrote: Show quoted text
> > The new stable release 2.5.0 isn't building for me:
> > As expected... AFAIK, they removed a lot of interface functions... >
> > I guess now would be a good time to ask for perl 5.14 support too > > (RT#61271)...
> > I thought that I released an updated version before moving away for > the summer... Did I screw things up?
No you didn't; my apologies. I'd looked at RT#61271 and there was no indication there that a fix had been released but it's there in the changelog and indeed the build works.