[MacPorts] #15834: py25-scipy-0.6.0 upgrade fails to build
MacPorts
noreply at macports.org
Fri Jul 4 08:27:26 PDT 2008
#15834: py25-scipy-0.6.0 upgrade fails to build
--------------------------------+-------------------------------------------
Reporter: ralph at cs.cf.ac.uk | Owner: ram at macports.org
Type: defect | Status: assigned
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: py25-scipy
--------------------------------+-------------------------------------------
Comment (by mnoga at smp.if.uj.edu.pl):
Replying to [comment:13 ram at macports.org]:
> It shouldn't as the swig port currently only provides swig bindings for
python25 not python24.
Apparently it does affect python24 too:
{{{
mary:ms2 m$ sudo port upgrade py-scipy
---> Fetching py-scipy
---> Verifying checksum(s) for py-scipy
---> Extracting py-scipy
---> Applying patches to py-scipy
---> Configuring py-scipy
---> Building py-scipy with target build
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_py-scipy/work/scipy-0.6.0" &&
/opt/local/bin/python2.4 setup.py config_fc --fcompiler gnu95 --f77exec
/opt/local/bin/gfortran-mp-4.2 --f90exec /opt/local/bin/gfortran-mp-4.2
build " returned error 1
Command output: Constructing wrapper function
"dgmresrevcom"...
x,iter,resid,info,ndx1,ndx2,sclr1,sclr2,ijob =
dgmresrevcom(b,x,restrt,work,work2,iter,resid,info,ndx1,ndx2,ijob)
Constructing wrapper function "cgmresrevcom"...
x,iter,resid,info,ndx1,ndx2,sclr1,sclr2,ijob =
cgmresrevcom(b,x,restrt,work,work2,iter,resid,info,ndx1,ndx2,ijob)
Constructing wrapper function "zgmresrevcom"...
x,iter,resid,info,ndx1,ndx2,sclr1,sclr2,ijob =
zgmresrevcom(b,x,restrt,work,work2,iter,resid,info,ndx1,ndx2,ijob)
Constructing wrapper function "sstoptest2"...
bnrm2,resid,info = sstoptest2(r,b,bnrm2,tol,info)
Constructing wrapper function "dstoptest2"...
bnrm2,resid,info = dstoptest2(r,b,bnrm2,tol,info)
Constructing wrapper function "cstoptest2"...
bnrm2,resid,info = cstoptest2(r,b,bnrm2,tol,info)
Constructing wrapper function "zstoptest2"...
bnrm2,resid,info = zstoptest2(r,b,bnrm2,tol,info)
Wrote C/API module "_iterative" to file
"build/src.macosx-10.3-i386-2.4/build/src.macosx-10.3-i386-2.4/scipy/linalg/iterative/_iterativemodule.c"
adding 'build/src.macosx-10.3-i386-2.4/fortranobject.c' to sources.
adding 'build/src.macosx-10.3-i386-2.4' to include_dirs.
building extension "scipy.linsolve._zsuperlu" sources
building extension "scipy.linsolve._dsuperlu" sources
building extension "scipy.linsolve._csuperlu" sources
building extension "scipy.linsolve._ssuperlu" sources
building extension "scipy.linsolve.umfpack.__umfpack" sources
creating build/src.macosx-10.3-i386-2.4/scipy/linsolve
creating build/src.macosx-10.3-i386-2.4/scipy/linsolve/umfpack
adding 'scipy/linsolve/umfpack/umfpack.i' to sources.
swig: scipy/linsolve/umfpack/umfpack.i
swig -python -o
build/src.macosx-10.3-i386-2.4/scipy/linsolve/umfpack/_umfpack_wrap.c
-outdir build/src.macosx-10.3-i386-2.4/scipy/linsolve/umfpack
scipy/linsolve/umfpack/umfpack.i
:3: Error: Unable to find 'python.swg'
scipy/linsolve/umfpack/umfpack.i:233: Error: Unable to find 'typemaps.i'
error: command 'swig' failed with exit status 1
Error: Unable to upgrade port: 1
mary:ms2 m$ sudo port install swig +python
---> Fetching swig
---> Verifying checksum(s) for swig
---> Extracting swig
---> Configuring swig
---> Building swig
---> Staging swig into destroot
---> Installing swig 1.3.36_0+python
---> Activating swig 1.3.36_0+python
Error: Target org.macports.activate returned: Image error: Another version
of this port (swig @1.3.36_0) is already active.
Error: Status 1 encountered during processing.
mary:ms2 m$ sudo port deactivate swig
Password:
---> Deactivating swig
mary:ms2 m$ sudo port install swig +python
---> Activating swig 1.3.36_0+python
---> Cleaning swig
mary:ms2 m$ sudo port upgrade py-scipy
---> Activating swig 1.3.36_0+python
Error: Activating swig 1.3.36_0 failed: Image error: swig @1.3.36_0+python
is already active.
---> Building py-scipy with target build
---> Staging py-scipy into destroot
---> Deactivating py-scipy 0.6.0_7+gcc42
---> Installing py-scipy 0.6.0_9+gcc42
---> Activating py-scipy 0.6.0_9+gcc42
---> Cleaning py-scipy
}}}
or this is caused because I'm using gcc42 variant?
(BTW: I've tested gcc43 variant of py-scipy too and got the same issue)
--
Ticket URL: <http://trac.macports.org/ticket/15834#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list