[MacPorts] #28529: swig language bindings need to be updated to the same version as swig
MacPorts
noreply at macports.org
Wed Feb 23 14:59:22 PST 2011
#28529: swig language bindings need to be updated to the same version as swig
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: jwa@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: swig-allegro, swig-chicken, swig-clisp, swig-csharp, swig-gcj, swig-go, swig-guile, swig-java, swig-lua, swig-mzscheme, swig-ocaml, swig-octave, swig-perl, swig-php5, swig-pike, swig-python, swig-r, swig-ruby, swig-tcl
-------------------------------------+--------------------------------------
The swig 2.0.2 update has caused py26-pynifti to fail to install because
swig-python was not also updated to 2.0.2:
{{{
---> Building py26-pynifti
DEBUG: build phase started at Wed Feb 23 16:51:45 CST 2011
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py26-pynifti)
DEBUG: Environment: CFLAGS='-m64' CXXFLAGS='-m64'
CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.6' CCFLAGS='-I/opt/local/include
-L/opt/local/lib -I/opt/local/include/nifti' F90FLAGS='-m64'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py26-pynifti/work/.CC_PRINT_OPTIONS'
LDFLAGS='' FCFLAGS='-m64' OBJCFLAGS='-m64' FFLAGS='-m64'
CC_PRINT_OPTIONS='YES'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py26-pynifti/work/pynifti-0.20090303.1"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
setup.py --no-user-cfg build'
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands
--compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler options
running build_src
build_src
building extension "nifti._clib" sources
creating build
creating build/src.macosx-10.6-x86_64-2.6
creating build/src.macosx-10.6-x86_64-2.6/nifti
swig: nifti/clib.i
swig -python -I/opt/local/include/nifti -o
build/src.macosx-10.6-x86_64-2.6/nifti/clib_wrap.c -outdir
build/src.macosx-10.6-x86_64-2.6/nifti nifti/clib.i
:3: Error: Unable to find 'python.swg'
nifti/clib.i:259: Error: Unable to find 'typemaps.i'
Language subdirectory: python
Search paths:
./
/opt/local/include/nifti/
./swig_lib/python/
/opt/local/share/swig/2.0.2/python/
./swig_lib/
/opt/local/share/swig/2.0.2/
Preprocessing...
error: command 'swig' failed with exit status 1
shell command " cd
"/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py26-pynifti/work/pynifti-0.20090303.1"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
setup.py --no-user-cfg build " returned error 1
Error: Target org.macports.build returned: shell command failed (see log
for details)
}}}
python.swg is in fact in /opt/local/share/swig/2.0.1/python/python.swg.
All swig language binding ports must be updated to a new version when swig
itself is updated. A note was added to the swig port in r72490 that was
supposed to remind us of this fact.
--
Ticket URL: <https://trac.macports.org/ticket/28529>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list