swiginac

Joshua Root jmr at macports.org
Fri Nov 13 23:38:10 PST 2015


On 2015-11-14 17:54 , Mark Brethen wrote:
> 
> :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_Users_marbre_ports_python_py-swiginac/py27-swiginac/work/swiginac-1.5.1.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
> :debug:build Executing command line:  cd "/opt/local/var/macports/build/_Users_marbre_ports_python_py-swiginac/py27-swiginac/work/swiginac-1.5.1.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
> :info:build running build
> :info:build running build_py
> :info:build file swiginac.py (for module swiginac) not found
> :info:build file swiginac.py (for module swiginac) not found
> :info:build running build_ext
> :info:build building '_swiginac' extension
> :info:build swigging swiginac.i to swiginac_wrap.c
> :info:build swig -python -o swiginac_wrap.c swiginac.i
> :info:build /opt/local/share/swig/3.0.7/python/std_common.i:73: Error: Syntax error in input(1).
> :info:build error: command 'swig' failed with exit status 1
> :info:build Command failed:  cd "/opt/local/var/macports/build/_Users_marbre_ports_python_py-swiginac/py27-swiginac/work/swiginac-1.5.1.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 

Looks like the setup.py is working fine, but the interface files
themselves are not compatible with the current versions of swig. There
may be some command line options that can be added to make swig behave
like older versions in whatever respect is needed, or the interfaces may
just need to be updated (which is the correct long-term solution).

- Josh


More information about the macports-dev mailing list