#10751: Upgrading 4.5.3 -> 4.6.2.alpha4 fails
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |       Owner:  GeorgSWeber   
       Type:  defect    |      Status:  new           
   Priority:  blocker   |   Milestone:  sage-4.6.2    
  Component:  build     |    Keywords:  upgrade cython
     Author:            |    Upstream:  N/A           
   Reviewer:            |      Merged:                
Work_issues:            |  
------------------------+---------------------------------------------------
 This is a problem I discovered when upgrading from sage-4.5.3 to a
 candidate 4.6.2.alpha4.  Probably, the problem has existed for a while, it
 just "surfaced" or got noticed now.

 The problem is that the file
 `sage/algebras/quatalg/quaternion_algebra_element.cpp`
 is '''not''' recreated from the corresponding .pyx file when upgrading.
 This then causes a compile error.

 The file `sage/algebras/quatalg/quaternion_algebra_element.pyx`
 includes (using Cython's `include` statement) `sage/ext/gmp.pxi` and the
 latter file was changed some Sage versions ago.

 The following happens:
 {{{
 $ ./sage -b

 ----------------------------------------------------------
 sage: Building and installing modified Sage library files.


 Installing c_lib
 scons: `install' is up to date.
 =================== setup.py ========================
 Updating Cython code....
 Time to execute 0 commands: 1.31130218506e-05 seconds
 Finished compiling Cython code (time = 0.0120220184326 seconds)
 running install
 running build
 running build_py
 running build_ext
 building 'sage.algebras.quatalg.quaternion_algebra_element' extension
 building 'sage.calculus.riemann' extension
 [...]
 building 'sage.symbolic.pynac' extension
 building 'sage.symbolic.ring' extension
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall
 -Wstrict-prototypes -fPIC
 -I/mnt/usb1/scratch/jdemeyer/sage-4.5.3-4.6.2.alpha4/local/include/FLINT/
 -I/mnt/usb1/scratch/jdemeyer/sage-4.5.3-4.6.2.alpha4/local/include
 -I/mnt/usb1/scratch/jdemeyer/sage-4.5.3-4.6.2.alpha4/local/include/csage
 -I/mnt/usb1/scratch/jdemeyer/sage-4.5.3-4.6.2.alpha4/devel/sage/sage/ext
 -I/mnt/usb1/scratch/jdemeyer/sage-4.5.3-4.6.2.alpha4/local/include/python2.6
 -c sage/algebras/quatalg/quaternion_algebra_element.cpp -o
 build/temp.linux-x86_64-2.6/sage/algebras/quatalg/quaternion_algebra_element.o
 -w
 [trouble...]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10751>
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