[MacPorts] #28210: Swig error in py26-pybox2d prevents the port from compiling.
#28210: Swig error in py26-pybox2d prevents the port from compiling. -------------------------------------------+-------------------------------- Reporter: jb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: box2d py26-pybox2d error swig | Port: py26-pybox2d -------------------------------------------+-------------------------------- 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> -- Ticket URL: <https://trac.macports.org/ticket/28210> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ----------------------------+----------------------------------------------- Comment(by jb@…): Replying to [comment:1 jmr@…]:
Please remember to preview and use WikiFormatting, and to cc the maintainer.
Will do in the future. Kind of new to ticketing in Trac and didn't think to add that info in. Couple of additional details: {{{ System Version: Mac OS X 10.6.5 (10H574) Kernel Version: Darwin 10.5.0 64-bit Kernel and Extensions: No Time since boot: 30 days 22:12 }}} Hardware Overview: {{{ Model Name: MacBook Pro Model Identifier: MacBookPro6,2 Processor Name: Intel Core i5 Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores: 2 L2 Cache (per core): 256 KB L3 Cache: 3 MB Memory: 4 GB Processor Interconnect Speed: 4.8 GT/s Boot ROM Version: MBP61.0057.B0C SMC Version (system): 1.58f16 }}} -- Ticket URL: <https://trac.macports.org/ticket/28210#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28210: py26-pybox2d: Swig error 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 ryandesign@…): * cc: ryandesign@… (added) Comment: Do you still see this problem with py26-pybox2d 2.0.2b2? It compiles fine for me. -- Ticket URL: <https://trac.macports.org/ticket/28210#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28210: py26-pybox2d: Swig error 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 ----------------------------+----------------------------------------------- Comment(by nathanielvirgo@…): I had this problem yesterday, but it's gone away today. What I did was run sudo port upgrade outdated and not py26-pybox2d which ran for a few hours before I had to switch the machine off and go home. (It's been a long time since I upgraded.) Then when I came in this morning I ran sudo port upgrade outdated and it upgraded a bunch of stuff, including successfully updating pybox2d. So I guess there must be some kind of unaccounted-for dependency on one of the other packages that got updated on my machine yesterday? I'm not sure but I think Swig was one of the things that was upgraded, so maybe it's that? I'll be happy to provide any extra information that might be helpful, as long as you can tell me exactly what to type - I'm not terribly au fait with how the ports system works. Nathaniel Replying to [comment:3 ryandesign@…]:
Do you still see this problem with py26-pybox2d 2.0.2b2? It compiles fine for me.
-- Ticket URL: <https://trac.macports.org/ticket/28210#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28210: py26-pybox2d: Swig error 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 ryandesign@…): * cc: nathanielvirgo@… (added) -- Ticket URL: <https://trac.macports.org/ticket/28210#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28210: py26-pybox2d: Swig error 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 ----------------------------+----------------------------------------------- Comment(by jb@…): Replying to [comment:5 ryandesign@…]: I should probably close this. It's a year out of date, and several people have reported no problems with swig or compiling the port. I've had to move on from the play project with pybox2d due to work projects piling up. -- Ticket URL: <https://trac.macports.org/ticket/28210#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28210: py26-pybox2d: Swig error prevents the port from compiling. -----------------------------+---------------------------------------------- Reporter: jb@… | Owner: stromnov@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: py26-pybox2d | -----------------------------+---------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme Comment: Closing as per comment:6. -- Ticket URL: <https://trac.macports.org/ticket/28210#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts