#6493: new scipy-0.7.p2 spkg is broken on 64-bit OS X
----------------------+-----------------------------------------------------
 Reporter:  was       |       Owner:  mabshoff  
     Type:  defect    |      Status:  new       
 Priority:  major     |   Milestone:  sage-4.1.1
Component:  packages  |    Keywords:            
 Reviewer:            |      Author:            
   Merged:            |  
----------------------+-----------------------------------------------------
 To replicate this on OS X:

  1. export SAGE64="yes"
  2. Try to build Sage, which will fail because of Fortran
  3. install the experimental fortran spkg:
 {{{
 sage -i fortran-OSX64-20090120
 }}}
  4. fix ratpoints using the spkg in #6492
  5. continue the build and get the following error.  Note that scipy used
 to work, for sage-4.0.  So something got messed up when we ugpraded scipy.


 {{{
 ...
 Fortran f77 compiler: sage_fortran -Wall -ffixed-form -fno-second-
 underscore -arch ppc -arch i686 -fPIC -O3 -funroll-loops
 Fortran f90 compiler: sage_fortran -Wall -fno-second-underscore -arch ppc
 -arch i686 -fPIC -O3 -funroll-loops
 Fortran fix compiler: sage_fortran -Wall -ffixed-form -fno-second-
 underscore -Wall -fno-second-underscore -arch ppc -arch i686 -fPIC -O3
 -funroll-loops
 creating build/temp.macosx-10.3-i386-2.6
 creating build/temp.macosx-10.3-i386-2.6/scipy
 creating build/temp.macosx-10.3-i386-2.6/scipy/fftpack
 creating build/temp.macosx-10.3-i386-2.6/scipy/fftpack/src
 creating build/temp.macosx-10.3-i386-2.6/scipy/fftpack/src/dfftpack
 compile options:
 '-I/Users/was/build/64bit/sage-4.1.rc1/local/lib/python2.6/site-
 packages/numpy/core/include -c'
 sage_fortran:f77: scipy/fftpack/src/dfftpack/dcosqb.f
 scipy/fftpack/src/dfftpack/dcosqb.f:0: error: CPU you selected does not
 support x86-64 instruction set
 lipo: can't figure out the architecture type of: /var/tmp//cc7wivPN.out
 scipy/fftpack/src/dfftpack/dcosqb.f:0: error: CPU you selected does not
 support x86-64 instruction set
 lipo: can't figure out the architecture type of: /var/tmp//cc7wivPN.out
 error: Command "sage_fortran -Wall -ffixed-form -fno-second-underscore
 -arch ppc -arch i686 -fPIC -O3 -funroll-loops
 -I/Users/was/build/64bit/sage-4.1.rc1/local/lib/python2.6/site-
 packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dcosqb.f -o
 build/temp.macosx-10.3-i386-2.6/scipy/fftpack/src/dfftpack/dcosqb.o"
 failed with exit status 1
 Error building scipy.

 real    0m28.097s
 user    0m26.180s
 sys     0m1.497s
 sage: An error occurred while installing scipy-0.7.p2
 Please email sage-devel http://groups.google.com/group/sage-devel
 explaining the problem and send the relevant part of
 of /Users/was/build/64bit/sage-4.1.rc1/install.log.  Describe your
 computer, operating system, etc.
 If you want to try to fix the problem, yourself *don't* just cd to
 /Users/was/build/64bit/sage-4.1.rc1/spkg/build/scipy-0.7.p2 and type
 'make'.
 Instead type "/Users/was/build/64bit/sage-4.1.rc1/sage -sh"
 in order to set all environment variables correctly, then cd to
 /Users/was/build/64bit/sage-4.1.rc1/spkg/build/scipy-0.7.p2
 (When you are done debugging, you can type "exit" to leave the
 subshell.)
 make[1]: *** [installed/scipy-0.7.p2] Error 1

 real    39m40.718s
 user    34m27.276s
 sys     4m20.496s
 Error building Sage.
 wst...@bsd:~/build/64bit/sage-4.1.rc1$
 }}}

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