[MacPorts] #28210: Swig error in py26-pybox2d prevents the port from compiling.

MacPorts noreply at macports.org
Sun Jan 30 14:58:09 PST 2011


#28210: Swig error in py26-pybox2d prevents the port from compiling.
----------------------------+-----------------------------------------------
 Reporter:  jb@…            |       Owner:  stromnov@…           
     Type:  defect          |      Status:  new                  
 Priority:  Normal          |   Milestone:                       
Component:  ports           |     Version:  1.9.2                
 Keywords:                  |        Port:  py26-pybox2d         
----------------------------+-----------------------------------------------
Changes (by jmr@…):

  * keywords:  box2d py26-pybox2d error swig =>
  * owner:  macports-tickets@… => stromnov@…


Old description:

> Swig syntax error causes the port to fail to compile. Slight digging
> around doesn't show an easily identified syntax error in the input file
> for swig.
>
> hostname:jb jb$ sudo port -v install py26-pybox2d--->  Computing
> dependencies for py26-pybox2d.--->  Fetching py26-pybox2d
> --->  Verifying checksum(s) for py26-pybox2d
> --->  Checksumming Box2D-2.0.2b1.zip
> --->  Extracting py26-pybox2d
> --->  Extracting Box2D-2.0.2b1.zip
> --->  Applying patches to py26-pybox2d
> --->  Applying
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-pybox2d/files
> /patch-Box2D-Box2D.i.diff
> patching file Box2D/Box2D.i
> --->  Configuring py26-pybox2d
> --->  Building py26-pybox2d
> Using setuptools.
> running build
> running build_py
> creating build
> creating build/lib.macosx-10.6-x86_64-2.6
> creating build/lib.macosx-10.6-x86_64-2.6/Box2D
> copying ./__init__.py -> build/lib.macosx-10.6-x86_64-2.6/Box2D
> running build_ext
> building 'Box2D._Box2D' extension
> swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
> swig -python -c++ -IBox2D -O -includeall -ignoremissing -w201 -outdir .
> -o Box2D/Box2D_wrap.cpp Box2D/Box2D.i
> Box2D/Box2D_printing.i:29: Error: Syntax error in input(3).
> error: command 'swig' failed with exit status 1
> shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pybox2d/work/Box2D-2.0.2b1"
> &&
> /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)
> Warning: the following items did not execute (for py26-pybox2d):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Log for py26-pybox2d is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pybox2d/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 Swig syntax error causes the port to fail to compile. Slight digging
 around doesn't show an easily identified syntax error in the input file
 for swig.
 {{{
 hostname:jb jb$ sudo port -v install py26-pybox2d--->  Computing
 dependencies for py26-pybox2d.--->  Fetching py26-pybox2d
 --->  Verifying checksum(s) for py26-pybox2d
 --->  Checksumming Box2D-2.0.2b1.zip
 --->  Extracting py26-pybox2d
 --->  Extracting Box2D-2.0.2b1.zip
 --->  Applying patches to py26-pybox2d
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-pybox2d/files
 /patch-Box2D-Box2D.i.diff
 patching file Box2D/Box2D.i
 --->  Configuring py26-pybox2d
 --->  Building py26-pybox2d
 Using setuptools.
 running build
 running build_py
 creating build
 creating build/lib.macosx-10.6-x86_64-2.6
 creating build/lib.macosx-10.6-x86_64-2.6/Box2D
 copying ./__init__.py -> build/lib.macosx-10.6-x86_64-2.6/Box2D
 running build_ext
 building 'Box2D._Box2D' extension
 swigging Box2D/Box2D.i to Box2D/Box2D_wrap.cpp
 swig -python -c++ -IBox2D -O -includeall -ignoremissing -w201 -outdir . -o
 Box2D/Box2D_wrap.cpp Box2D/Box2D.i
 Box2D/Box2D_printing.i:29: Error: Syntax error in input(3).
 error: command 'swig' failed with exit status 1
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pybox2d/work/Box2D-2.0.2b1"
 &&
 /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)
 Warning: the following items did not execute (for py26-pybox2d):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for py26-pybox2d is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-pybox2d/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment:

 Please remember to preview and use WikiFormatting, and to cc the
 maintainer.

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


More information about the macports-tickets mailing list