#15943: py-game 1.8.0 fails to build -------------------------------------------+-------------------------------- Reporter: macosforge.org@zopatista.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------------+-------------------------------- Comment (by kurt@work.yoderhome.com): I'm getting the same error on my Leopard machine (10.5.4, 2.4 GHz Intel Core 2 Duo): {{{ DEBUG: Executing org.macports.main (py-game) ---> Fetching py-game DEBUG: Executing org.macports.fetch (py-game) ---> Verifying checksum(s) for py-game DEBUG: Executing org.macports.checksum (py-game) ---> Checksumming pygame-1.8.0release.tar.gz DEBUG: Correct (md5) checksum for pygame-1.8.0release.tar.gz DEBUG: Correct (sha1) checksum for pygame-1.8.0release.tar.gz DEBUG: Correct (rmd160) checksum for pygame-1.8.0release.tar.gz ---> Extracting py-game DEBUG: Executing org.macports.extract (py-game) ---> Extracting pygame-1.8.0release.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/python/pygame-1.8.0release.tar.gz DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-game/work" && gzip -dc /opt/local/var/macports/distfiles/python/pygame-1.8.0release.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (py-game) ---> Applying patches to py-game ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-game/files/patch-config_darwin.py.diff DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-game/work/pygame-1.8.0release" && patch -p0' patching file config_darwin.py ---> Configuring py-game DEBUG: Executing org.macports.configure (py-game) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing proc-post-org.macports.configure-configure-0 DEBUG: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-game/work/pygame-1.8.0release/Setup": no such file or directory while executing "exec /usr/bin/sed {s|-Ddarwin -lSDL|-Ddarwin -lSDL -I/usr/X11R6/include|g} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macp..." ("eval" body line 1) invoked from within "eval exec $cmdline" Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-game/work/pygame-1.8.0release/Setup": no such file or directory Error: Target org.macports.configure returned: reinplace sed(1) failed Warning: the following items did not execute (for py-game): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} The workaround above also works for me. Note that the workaround did '''not''' work if I used sudo. Reading more carefully, the instructions do indeed say "run as root". So a heads-up for anyone else who uses the workaround... -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS