Unable to build py25-scipy or py26-scipy

Rodolfo Aramayo raramayo at gmail.com
Thu Feb 24 21:00:10 PST 2011


Trying to build py25-scipy or py26-scipy I get the following error:

--->  Computing dependencies for py26-scipy
--->  Building py26-scipy
Error: Target org.macports.build returned: shell command failed (see
log for details)
Log for py26-scipy is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-scipy/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The main.log reads as follows:

==
:info:build building extension "scipy.signal.spline" sources
:info:build building extension "scipy.sparse.linalg.isolve._iterative" sources
:info:build f2py options: []
:info:build   adding
'build/src.macosx-10.6-x86_64-2.6/fortranobject.c' to sources.
:info:build   adding 'build/src.macosx-10.6-x86_64-2.6' to include_dirs.
:info:build building extension "scipy.sparse.linalg.dsolve._superlu" sources
:info:build building extension
"scipy.sparse.linalg.dsolve.umfpack.__umfpack" sources
:info:build   adding 'scipy/sparse/linalg/dsolve/umfpack/umfpack.i' to sources.
:info:build swig: scipy/sparse/linalg/dsolve/umfpack/umfpack.i
:info:build swig -python -I/opt/local/include -o
build/src.macosx-10.6-x86_64-2.6/scipy/sparse/linalg/dsolve/umfpack/_umfpack_wrap.c
-outdir build/src.macosx-10.6-x86_64-2.6/scipy/sparse/linalg/dsolve/umfpack
scipy/sparse/linalg/dsolve/umfpack/umfpack.i
:info:build :3: Error: Unable to find 'python.swg'
:info:build scipy/sparse/linalg/dsolve/umfpack/umfpack.i:233: Error:
Unable to find 'typemaps.i'
:info:build error: command 'swig' failed with exit status 1
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-scipy/work/scipy-0.8.0"
&& /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.4 --f90exec
/opt/local/bin/gfortran-mp-4.4 config --cc /opt/local/bin/gcc-mp-4.4
--include-dirs /opt/local/include --library-dirs /opt/local/lib build
" returned error 1
:error:build Target org.macports.build returned: shell command failed
(see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for
py26-scipy): org.macports.activate org.macports.build
org.macports.destroot org.macports.install
:notice:build Log for py26-scipy is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-scipy/main.log
==

Ideas??

Thanks

--Rodolfo


More information about the macports-users mailing list