[MacPorts] #19397: scipy not completely universal

MacPorts noreply at macports.org
Wed Apr 22 05:04:58 PDT 2009


#19397: scipy not completely universal
-------------------------------------------+--------------------------------
 Reporter:  daweonline@…                   |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:  Port Bugs                            
Component:  ports                          |     Version:  1.7.1                                
 Keywords:  scipy python universal binary  |        Port:  py26-scipy                           
-------------------------------------------+--------------------------------
 I've added "i386 x86_64" as universal flags in macports.conf. I've built
 python2.6 enabling universal and I successfully run it in 64 bit mode.
 I've built p26-scipy +universal but:


 {{{
 >>> import scipy.signal
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/signal/__init__.py", line 9, in <module>
     from bsplines import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/signal/bsplines.py", line 3, in <module>
     import scipy.special
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/special/__init__.py", line 8, in <module>
     from basic import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/special/basic.py", line 8, in <module>
     from _cephes import *
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/special/_cephes.so, 2): no suitable image found.  Did
 find:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/special/_cephes.so: mach-o, but wrong architecture
 }}}


 and also:



 {{{
 >>> import scipy.linalg
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/linalg/__init__.py", line 8, in <module>
     from basic import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/linalg/basic.py", line 17, in <module>
     from lapack import get_lapack_funcs
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/linalg/lapack.py", line 17, in <module>
     from scipy.linalg import flapack
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/linalg/flapack.so, 2): no suitable image found.  Did
 find:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/scipy/linalg/flapack.so: mach-o, but wrong architecture

 }}}


 I've checked and there are a lot of others object only built for i386.
 Changing the universal flags to x86_64 only doesn't work. It appears that
 the build chain of scipy understands "universal" as "i386 ppc" only.


 {{{
 $ port version
 Version: 1.710

 $ uname -a
 Darwin host032.2b11.ifom-ieo-campus.it 9.6.3 Darwin Kernel Version 9.6.3:
 Tue Jan 20 18:26:40 PST 2009; root:xnu-1228.10.33~1/RELEASE_I386 i386

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19397>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list