#9591: Upgrade genus2reduction due to Pari upgrade to svn snapshot 12577 - a 
pre-
release of Pari 2.4.3
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  tbd       
       Type:  defect          |      Status:  needs_work
   Priority:  major           |   Milestone:  sage-4.6  
  Component:  packages        |    Keywords:            
     Author:  Jeroen Demeyer  |    Upstream:  N/A       
   Reviewer:                  |      Merged:            
Work_issues:                  |  
------------------------------+---------------------------------------------
Changes (by drkirkby):

  * status:  needs_review => needs_work


Comment:

 If I'm not mistaken, it should be .p7, .p8, as the one version in
 sage-4.5.3.alpha0 is a .p6.

 But this fails to build on !OpenSolaris 32-bit, despite the previous
 version working fine.

 {{{
 drkir...@hawk:~/32/sage-4.5.3.alpha0$ ./sage -i
 http://cage.ugent.be/~jdemeyer/sage/genus2reduction-0.3.p8.spkg
 Installing http://cage.ugent.be/~jdemeyer/sage/genus2reduction-0.3.p8.spkg
 Calling sage-spkg on
 http://cage.ugent.be/~jdemeyer/sage/genus2reduction-0.3.p8.spkg
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 genus2reduction-0.3.p8
 Machine:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 Deleting directories from past builds of previous/current versions of
 genus2reduction-0.3.p8
 Extracting package
 
/export/home/drkirkby/32/sage-4.5.3.alpha0/spkg/optional/genus2reduction-0.3.p8.spkg
 ...
 -rw-r--r--   1 drkirkby staff      53471 Aug 14 23:35
 
/export/home/drkirkby/32/sage-4.5.3.alpha0/spkg/optional/genus2reduction-0.3.p8.spkg
 genus2reduction-0.3.p8/
 genus2reduction-0.3.p8/.hg/
 genus2reduction-0.3.p8/.hg/requires
 genus2reduction-0.3.p8/.hg/store/
 genus2reduction-0.3.p8/.hg/store/data/
 genus2reduction-0.3.p8/.hg/store/data/src/
 genus2reduction-0.3.p8/.hg/store/data/src/genus2reduction.c.i
 genus2reduction-0.3.p8/.hg/store/data/.hgignore.i
 genus2reduction-0.3.p8/.hg/store/data/dist/
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/rules.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/control.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/compat.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/copyright.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/patches/
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/patches/series.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/patches/makefile.patch.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/control.in.i
 genus2reduction-0.3.p8/.hg/store/data/dist/debian/changelog.i
 genus2reduction-0.3.p8/.hg/store/data/spkg-install.i
 genus2reduction-0.3.p8/.hg/store/data/_s_p_k_g.txt.i
 genus2reduction-0.3.p8/.hg/store/undo
 genus2reduction-0.3.p8/.hg/store/00manifest.i
 genus2reduction-0.3.p8/.hg/store/00changelog.i
 genus2reduction-0.3.p8/.hg/undo.dirstate
 genus2reduction-0.3.p8/.hg/dirstate
 genus2reduction-0.3.p8/.hg/00changelog.i
 genus2reduction-0.3.p8/.hg/branch
 genus2reduction-0.3.p8/.hg/undo.branch
 genus2reduction-0.3.p8/src/
 genus2reduction-0.3.p8/src/.pc/
 genus2reduction-0.3.p8/src/.pc/.version
 genus2reduction-0.3.p8/src/TODO
 genus2reduction-0.3.p8/src/README
 genus2reduction-0.3.p8/src/THANKS
 genus2reduction-0.3.p8/src/genus2reduction.c
 genus2reduction-0.3.p8/src/gpl-email.txt
 genus2reduction-0.3.p8/src/SAGE.txt
 genus2reduction-0.3.p8/src/RELEASE.NOTES
 genus2reduction-0.3.p8/src/WARNING
 genus2reduction-0.3.p8/src/INSTALL
 genus2reduction-0.3.p8/src/CHANGES
 genus2reduction-0.3.p8/src/COPYING
 genus2reduction-0.3.p8/dist/
 genus2reduction-0.3.p8/dist/debian/
 genus2reduction-0.3.p8/dist/debian/control
 genus2reduction-0.3.p8/dist/debian/rules
 genus2reduction-0.3.p8/dist/debian/changelog
 genus2reduction-0.3.p8/dist/debian/compat
 genus2reduction-0.3.p8/dist/debian/control.in
 genus2reduction-0.3.p8/dist/debian/patches/
 genus2reduction-0.3.p8/dist/debian/patches/makefile.patch
 genus2reduction-0.3.p8/dist/debian/patches/series
 genus2reduction-0.3.p8/dist/debian/copyright
 genus2reduction-0.3.p8/.hgignore
 genus2reduction-0.3.p8/SPKG.txt
 genus2reduction-0.3.p8/spkg-install
 Finished extraction
 ****************************************************
 Host system
 uname -a:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 ****************************************************
 ****************************************************
 CC Version
 gcc -v
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5.0/libexec/gcc/i386-pc-
 solaris2.10/4.5.0/lto-wrapper
 Target: i386-pc-solaris2.10
 Configured with: ../gcc-4.5.0/configure --prefix=/usr/local/gcc-4.5.0
 --build=i386-pc-solaris2.10 --enable-languages=c,c++,fortran --with-
 gmp=/usr/local/gcc-4.5.0 --with-mpfr=/usr/local/gcc-4.5.0 --disable-nls
 --enable-checking=release --enable-werror=no --enable-multilib -with-
 system-zlib --enable-bootstrap --with-gnu-as --with-
 as=/usr/local/binutils-2.20/bin/as --without-gnu-ld --with-
 ld=/usr/ccs/bin/ld
 Thread model: posix
 gcc version 4.5.0 (GCC)
 ****************************************************
 Compiling genus2reduction.c
 genus2reduction.c:32:1: error: expected identifier or '(' before 'long'
 genus2reduction.c:32:1: error: expected ')' before '>' token
 genus2reduction.c:39:1: error: expected identifier or '(' before 'long'
 genus2reduction.c:39:1: error: expected ')' before '>' token
 genus2reduction.c: In function 'main':
 genus2reduction.c:494:27: error: called object 'pol_1' is not a function
 genus2reduction.c:545:24: error: called object 'pol_1' is not a function
 genus2reduction.c:618:37: error: called object 'pol_x' is not a function
 genus2reduction.c:618:55: error: called object 'pol_x' is not a function
 genus2reduction.c:676:46: error: called object 'pol_x' is not a function
 genus2reduction.c:692:46: error: called object 'pol_x' is not a function
 genus2reduction.c:741:44: error: called object 'pol_x' is not a function
 genus2reduction.c:770:42: error: called object 'pol_x' is not a function
 genus2reduction.c: In function 'factorpadicnonun':
 genus2reduction.c:1685:37: error: subscripted value is neither array nor
 pointer
 genus2reduction.c:1694:58: error: called object 'pol_x' is not a function
 genus2reduction.c:1695:54: error: called object 'pol_x' is not a function
 genus2reduction.c:1695:7: warning: passing argument 1 of 'gsubst' makes
 pointer from integer without a cast
 
/export/home/drkirkby/32/sage-4.5.3.alpha0/local/include/pari/paridecl.h:1138:9:
 note: expected 'GEN' but argument is of type 'int'
 genus2reduction.c: In function 'polymini':
 genus2reduction.c:1719:28: error: called object 'pol_x' is not a function
 genus2reduction.c:1719:59: error: called object 'pol_x' is not a function
 genus2reduction.c:1734:46: error: called object 'pol_x' is not a function
 genus2reduction.c:1753:33: error: called object 'pol_x' is not a function
 genus2reduction.c:1762:34: error: called object 'pol_x' is not a function
 genus2reduction.c:1774:42: error: called object 'pol_x' is not a function
 genus2reduction.c:1783:31: error: called object 'pol_x' is not a function
 genus2reduction.c:1789:47: error: called object 'pol_x' is not a function
 genus2reduction.c: In function 'discpart':
 genus2reduction.c:1836:13: error: called object 'pol_1' is not a function
 genus2reduction.c: In function 'polyminizi':
 genus2reduction.c:1874:3: warning: passing argument 2 of 'gadd' makes
 pointer from integer without a cast
 
/export/home/drkirkby/32/sage-4.5.3.alpha0/local/include/pari/paridecl.h:1014:9:
 note: expected 'GEN' but argument is of type 'int'
 genus2reduction.c:1877:32: error: called object 'pol_x' is not a function
 genus2reduction.c:1882:46: error: called object 'pol_x' is not a function
 genus2reduction.c:1900:38: error: called object 'pol_x' is not a function
 genus2reduction.c: In function 'polyminizi2':
 genus2reduction.c:1956:39: error: called object 'pol_x' is not a function
 genus2reduction.c:1959:68: warning: assignment makes pointer from integer
 without a cast
 genus2reduction.c:1969:32: error: called object 'pol_x' is not a function
 genus2reduction.c:1974:46: error: called object 'pol_x' is not a function
 genus2reduction.c: In function 'zi2mod':
 genus2reduction.c:2018:3: warning: passing argument 2 of 'gmul' makes
 pointer from integer without a cast
 
/export/home/drkirkby/32/sage-4.5.3.alpha0/local/include/pari/paridecl.h:1018:9:
 note: expected 'GEN' but argument is of type 'int'
 Error building genus2reduction

 real    0m0.069s
 user    0m0.052s
 sys     0m0.014s
 sage: An error occurred while installing genus2reduction-0.3.p8
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9591#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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.

Reply via email to