[MacPorts] #15943: py-game 1.8.0 fails to build
#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: Component: ports | Version: 1.6.0 Keywords: | ------------------------------------------+--------------------------------- Build log {{{ ---> Configuring py-game 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 Error: Status 1 encountered during processing. crowley:devel mj$ sudo port clean py-game ---> Cleaning py-game crowley:devel mj$ sudo port install py-game ---> Fetching py-game ---> Verifying checksum(s) for py-game ---> Extracting py-game ---> Applying patches to py-game ---> Configuring py-game 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 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/15943> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------------+-------------------------------- Comment (by macosforge.org@zopatista.com): Workaround, after running port install py-game once, execute as root: {{{ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py- game/work/pygame-1.8.0release/LOCALBASE=/opt/local/ /opt/local/bin/python2.4 config.py cd - }}} then execute port install py-game again -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: Component: ports | Version: 1.6.0 Resolution: | Keywords: -------------------------------------------+-------------------------------- Comment (by macosforge.org@zopatista.com): Oops, a newline was lost there. Workaround commands: {{{ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_python_py-game/work/pygame-1.8.0release/ LOCALBASE=/opt/local/ /opt/local/bin/python2.4 config.py cd - }}} -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: -------------------------------------------+-------------------------------- Changes (by jmr@macports.org): * milestone: => Port Bugs Comment: Works here without doing anything manually. Could you try installing again after cleaning py-game? I'm thinking it might be the [http://trac.macports.org/wiki/LeopardProblems Leopard environment variable bug]. If it doesn't work, please attach the full output of `sudo port -d install py-game`. -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 macosforge.org@zopatista.com): I already tried cleaning, but that didn't help. Debug output: {{{ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-game DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-game DEBUG: Requested variant darwin is not provided by port py-game. DEBUG: Requested variant i386 is not provided by port py-game. DEBUG: Requested variant macosx is not provided by port py-game. DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python24 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python24 DEBUG: Requested variant darwin is not provided by port python24. DEBUG: Requested variant i386 is not provided by port python24. DEBUG: Requested variant macosx is not provided by port python24. DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Searching for dependency: python24 DEBUG: Found Dependency: receipt exists for python24 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl DEBUG: Requested variant darwin is not provided by port libsdl. DEBUG: Requested variant i386 is not provided by port libsdl. DEBUG: Requested variant macosx is not provided by port libsdl. DEBUG: Searching for dependency: libsdl DEBUG: Found Dependency: receipt exists for libsdl DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libsdl_mixer DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/libsdl_mixer DEBUG: Requested variant darwin is not provided by port libsdl_mixer. DEBUG: Requested variant i386 is not provided by port libsdl_mixer. DEBUG: Requested variant macosx is not provided by port libsdl_mixer. DEBUG: Searching for dependency: libsdl_mixer DEBUG: Found Dependency: receipt exists for libsdl_mixer DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_image DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_image DEBUG: Requested variant darwin is not provided by port libsdl_image. DEBUG: Requested variant i386 is not provided by port libsdl_image. DEBUG: Requested variant macosx is not provided by port libsdl_image. DEBUG: Searching for dependency: libsdl_image DEBUG: Found Dependency: receipt exists for libsdl_image DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_ttf DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libsdl_ttf DEBUG: Requested variant darwin is not provided by port libsdl_ttf. DEBUG: Requested variant i386 is not provided by port libsdl_ttf. DEBUG: Requested variant macosx is not provided by port libsdl_ttf. DEBUG: Searching for dependency: libsdl_ttf DEBUG: Found Dependency: receipt exists for libsdl_ttf DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/smpeg DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/smpeg DEBUG: Requested variant darwin is not provided by port smpeg. DEBUG: Requested variant i386 is not provided by port smpeg. DEBUG: Requested variant macosx is not provided by port smpeg. DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Searching for dependency: smpeg DEBUG: Found Dependency: receipt exists for smpeg DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-numeric DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-numeric DEBUG: Requested variant darwin is not provided by port py-numeric. DEBUG: Requested variant i386 is not provided by port py-numeric. DEBUG: Executing variant macosx provides macosx DEBUG: Searching for dependency: py-numeric DEBUG: Found Dependency: receipt exists for py-numeric DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-pyobjc2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-pyobjc2 DEBUG: Requested variant darwin is not provided by port py-pyobjc2. DEBUG: Requested variant i386 is not provided by port py-pyobjc2. DEBUG: Requested variant macosx is not provided by port py-pyobjc2. DEBUG: Searching for dependency: py-pyobjc2 DEBUG: Found Dependency: receipt exists for py-pyobjc2 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-pyobjc2-cocoa DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/python /py-pyobjc2-cocoa DEBUG: Requested variant darwin is not provided by port py-pyobjc2-cocoa. DEBUG: Requested variant i386 is not provided by port py-pyobjc2-cocoa. DEBUG: Requested variant macosx is not provided by port py-pyobjc2-cocoa. DEBUG: Searching for dependency: py-pyobjc2-cocoa DEBUG: Found Dependency: receipt exists for py-pyobjc2-cocoa 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. }}} My workaround builds the missing Setup file separately. -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#15943: py-game 1.8.0 fails to build ------------------------------------------+--------------------------------- Reporter: macosforge.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: ------------------------------------------+--------------------------------- Comment(by toby@…): py-game is at 1.9.1 now, is this still an issue? -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15943: py-game 1.8.0 fails to build ------------------------------------------+--------------------------------- Reporter: macosforge.org@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | Port: ------------------------------------------+--------------------------------- Comment(by macports.org@…): Replying to [comment:7 toby@…]:
py-game is at 1.9.1 now, is this still an issue?
I ran a successful 'port upgrade py-game' so this does not appear to be an issue still. -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15943: py-game 1.8.0 fails to build -------------------------------------------+-------------------------------- Reporter: macosforge.org@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: | -------------------------------------------+-------------------------------- Changes (by toby@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/15943#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts