#9312: Fix GLPK spkg for SAGE64
---------------------------------------------------------------+------------
   Reporter:  rlm                                              |       Owner:  
tbd       
       Type:  defect                                           |      Status:  
needs_info
   Priority:  major                                            |   Milestone:  
sage-4.5  
  Component:  optional packages                                |    Keywords:   
         
     Author:  David Kirkby                                     |    Upstream:  
N/A       
   Reviewer:                                                   |      Merged:   
         
Work_issues:  Needs extensive testing - I've done very little  |  
---------------------------------------------------------------+------------

Comment(by drkirkby):

 I'm attaching an '''very briefly tested''' {{{spkg/standard/deps}}} file.
 It is based on the deps file at #9351, so if this is merged, #9351 can be
 closed too.

 I've not tried building Sage from scratch using this deps file - just
 tried that

 {{{
 drkir...@hawk:~/SAGE-4.5.alpha1$ ./sage -f glpk-4.44
 Force installing glpk-4.44
 Calling sage-spkg on glpk-4.44
 Warning: Attempted to overwrite SAGE_ROOT environment variable
 Building Sage on Solaris in 64-bit mode
 Creating SAGE_LOCAL/lib/sage-64.txt since it does not exist
 Detected SAGE64 flag
 Building Sage on Solaris in 64-bit mode
 glpk-4.44
 Machine:
 SunOS hawk 5.11 snv_134 i86pc i386 i86pc
 Deleting directories from past builds of previous/current versions of
 glpk-4.44
 Extracting package
 /export/home/drkirkby/SAGE-4.5.alpha1/spkg/standard/glpk-4.44.spkg ...
 -rw-r--r--   1 drkirkby staff    2937482 Jun 23 20:24
 /export/home/drkirkby/SAGE-4.5.alpha1/spkg/standard/glpk-4.44.spkg
 glpk-4.44/
 glpk-4.44/patch/

 <SNIP>

 patch/mipGlpk.cpp:857: warning: dereferencing pointer '__pyx_t_3' does
 break strict-aliasing rules
 patch/mipGlpk.cpp:857: warning: dereferencing pointer '__pyx_t_3' does
 break strict-aliasing rules
 patch/mipGlpk.cpp:853: note: initialized from here
 creating build/lib.solaris-2.11-i86pc-2.6
 creating build/lib.solaris-2.11-i86pc-2.6/sage
 creating build/lib.solaris-2.11-i86pc-2.6/sage/numerical
 g++ -m64 -shared -L/export/home/drkirkby/SAGE-4.5.alpha1/local/lib -m64
 -m64 -I /export/home/drkirkby/SAGE-4.5.alpha1/local/include -m64
 build/temp.solaris-2.11-i86pc-2.6/patch/mipGlpk.o
 -L/export/home/drkirkby/SAGE-4.5.alpha1/local/lib -lcsage -lstdc++ -lglpk
 -lpython2.6 -o build/lib.solaris-2.11-i86pc-2.6/sage/numerical/mipGlpk.so
 running install_lib
 copying build/lib.solaris-2.11-i86pc-2.6/sage/numerical/mipGlpk.so ->
 /export/home/drkirkby/SAGE-4.5.alpha1/local/lib/python2.6/site-
 packages/sage/numerical
 running install_egg_info
 Removing /export/home/drkirkby/SAGE-4.5.alpha1/local/lib/python2.6/site-
 packages/UNKNOWN-0.0.0-py2.6.egg-info
 Writing /export/home/drkirkby/SAGE-4.5.alpha1/local/lib/python2.6/site-
 packages/UNKNOWN-0.0.0-py2.6.egg-info

 real    0m13.830s
 user    0m9.231s
 sys     0m3.341s
 Successfully installed glpk-4.44
 Now cleaning up tmp files.
 rm: Cannot remove any directory in the path of the current working
 directory
 /export/home/drkirkby/SAGE-4.5.alpha1/spkg/build/glpk-4.44
 Making Sage/Python scripts relocatable...
 Making script relocatable
 Finished installing glpk-4.44.spkg
 }}}

 worked.

 I've not attached a diff. Not sure if that should be a mercurial one or
 not. I'll sort that out after I've had some sleep.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9312#comment:13>
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