[MacPorts] #23430: py26-scipy fails to build

MacPorts noreply at macports.org
Sun Apr 25 23:47:25 PDT 2010


#23430: py26-scipy fails to build
---------------------------------------+------------------------------------
 Reporter:  laurent.farvacque@…        |       Owner:  ram@…           
     Type:  defect                     |      Status:  new             
 Priority:  Normal                     |   Milestone:                  
Component:  ports                      |     Version:  1.8.2           
 Keywords:                             |        Port:  py26-scipy      
---------------------------------------+------------------------------------

Comment(by andre.david@…):

 Whatever was touched, tickled (and broke) my gear:

 {{{
 $ sudo port upgrade py26-scipy
 --->  Computing dependencies for py26-scipy
 --->  Building py26-scipy
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-scipy/work/scipy-0.7.2"
 &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec
 /opt/local/bin/gfortran-mp-4.3 --f90exec /opt/local/bin/gfortran-mp-4.3
 config --cc /opt/local/bin/gcc-mp-4.3 --include-dirs /opt/local/include
 --library-dirs /opt/local/lib build " returned error 1
 Command output:   adding 'build/src.macosx-10.6-intel-2.6/fortranobject.c'
 to sources.
   adding 'build/src.macosx-10.6-intel-2.6' to include_dirs.
 building extension "scipy.stats.mvn" sources
 f2py options: []
   adding 'build/src.macosx-10.6-intel-2.6/fortranobject.c' to sources.
   adding 'build/src.macosx-10.6-intel-2.6' to include_dirs.
   adding 'build/src.macosx-10.6-intel-2.6/scipy/stats/mvn-f2pywrappers.f'
 to sources.
 building extension "scipy.ndimage._nd_image" sources
 building data_files sources
 build_src: building npy-pkg config files
 running build_py
 copying scipy/version.py -> build/lib.macosx-10.6-intel-2.6/scipy
 copying build/src.macosx-10.6-intel-2.6/scipy/__config__.py ->
 build/lib.macosx-10.6-intel-2.6/scipy
 running build_clib
 customize UnixCCompiler
 customize UnixCCompiler using build_clib
 customize Gnu95FCompiler
 Found executable /opt/local/bin/gfortran-mp-4.3
 customize Gnu95FCompiler using build_clib
 building 'rootfind' library
 compiling C sources
 C compiler: /opt/local/bin/gcc-mp-4.3 -arch x86_64 -arch i386 -isysroot /
 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall
 -Wstrict-prototypes

 compile options:
 '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/core/include -c'
 gcc-mp-4.3: scipy/optimize/Zeros/brentq.c
 cc1: error: unrecognized command line option "-arch"
 cc1: error: unrecognized command line option "-arch"
 cc1: error: unrecognized command line option "-arch"
 cc1: error: unrecognized command line option "-arch"
 error: Command "/opt/local/bin/gcc-mp-4.3 -arch x86_64 -arch i386
 -isysroot / -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv
 -O3 -Wall -Wstrict-prototypes
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/numpy/core/include -c scipy/optimize/Zeros/brentq.c -o
 build/temp.macosx-10.6-intel-2.6/scipy/optimize/Zeros/brentq.o" failed
 with exit status 1

 Error: Unable to upgrade port: 1
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 }}}

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


More information about the macports-tickets mailing list