[MacPorts] #9906: BUG: py-game 1.7.1
MacPorts
noreply at macports.org
Thu Mar 24 09:25:48 PDT 2016
#9906: BUG: py-game 1.7.1
----------------------+--------------------------------
Reporter: maps@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.2
Resolution: fixed | Keywords:
Port: py-game |
----------------------+--------------------------------
Changes (by ryandesign@…):
* port: => py-game
Old description:
> py-game 1.7.1
>
> Fails to build on my system; the error seems to come from a series of
> #ifdef's, none of which are applicable. I have made it build (and work,
> in X11) by forcing the X11 option to be selected.
>
> Here is the output of port -d install py-game:
>
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
> /py-game
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
> /py-game
> DEBUG: Requested variant powerpc is not provided by port py-game.
> DEBUG: Requested variant darwin is not provided by port py-game.
> DEBUG: Requested variant macosx is not provided by port py-game.
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl
> DEBUG: Searching for dependency: libsdl
> DEBUG: Found Dependency: receipt exists for libsdl
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/libsdl_mixer
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/libsdl_mixer
> DEBUG: Searching for dependency: libsdl_mixer
> DEBUG: Found Dependency: receipt exists for libsdl_mixer
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_image
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_image
> DEBUG: Searching for dependency: libsdl_image
> DEBUG: Found Dependency: receipt exists for libsdl_image
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_ttf
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_ttf
> DEBUG: Searching for dependency: libsdl_ttf
> DEBUG: Found Dependency: receipt exists for libsdl_ttf
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/smpeg
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/smpeg
> DEBUG: Searching for dependency: smpeg
> DEBUG: Found Dependency: receipt exists for smpeg
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
> /py-numeric
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
> /py-numeric
> DEBUG: Searching for dependency: py-numeric
> DEBUG: Found Dependency: receipt exists for py-numeric
> DEBUG: Found port in
> file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
> /py-pyobjc
> DEBUG: Changing to port directory:
> /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
> /py-pyobjc
> DEBUG: Searching for dependency: py-pyobjc
> DEBUG: Found Dependency: receipt exists for py-pyobjc
> DEBUG: Skipping completed com.apple.main (py-game)
> DEBUG: Skipping completed com.apple.unarchive (py-game)
> DEBUG: Skipping completed com.apple.fetch (py-game)
> DEBUG: Skipping completed com.apple.checksum (py-game)
> DEBUG: Skipping completed com.apple.extract (py-game)
> DEBUG: Skipping completed com.apple.patch (py-game)
> DEBUG: Skipping completed com.apple.configure (py-game)
> ---> Building py-game with target build
> DEBUG: Executing com.apple.build (py-game)
> DEBUG: Assembled command: 'cd
> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
> .org_dpupdate_dports_python_py-game/work/pygame-1.7.1release" &&
> /opt/local/bin/python2.4 setup.py build'
> Using Darwin configuration...
>
> running build
> running build_py
> running build_ext
> building 'pygame.display' extension
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
> -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -Ddarwin -I/opt/local/include/SDL
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
> -I/opt/local/include/python2.4 -c src/display.c -o
> build/temp.darwin-8.7.0-Power_Macintosh-2.4/src/display.o
> src/display.c: In function 'get_wm_info':
> src/display.c:432: error: 'SDL_SysWMinfo' has no member named 'data'
> error: command '/usr/bin/gcc-4.0' failed with exit status 1
> Error: Target com.apple.build returned: shell command "cd
> "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
> .org_dpupdate_dports_python_py-game/work/pygame-1.7.1release" &&
> /opt/local/bin/python2.4 setup.py build" returned error 1
> Command output: Using Darwin configuration...
>
> running build
> running build_py
> running build_ext
> building 'pygame.display' extension
> /usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
> -mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
> -Wstrict-prototypes -Ddarwin -I/opt/local/include/SDL
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
> -I/opt/local/include/python2.4 -c src/display.c -o
> build/temp.darwin-8.7.0-Power_Macintosh-2.4/src/display.o
> src/display.c: In function 'get_wm_info':
> src/display.c:432: error: 'SDL_SysWMinfo' has no member named 'data'
> error: command '/usr/bin/gcc-4.0' failed with exit status 1
>
> Warning: the following items did not execute (for py-game):
> com.apple.activate com.apple.build com.apple.destroot com.apple.archive
> com.apple.install
> Error: /opt/local/bin//port: Status 1 encountered during processing.
>
> Here is other general info:
>
> UNAME -A:
>
> Darwin wlan-docking-rz-1-1017.ethz.ch 8.7.0 Darwin Kernel Version 8.7.0:
> Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power
> Macintosh powerpc
>
> PORT VERSION:
>
> Version: 1.211
>
> PORT INFO PY-GAME:
>
> py-game 1.7.1, python/py-game
> http://www.pygame.org
>
> Pygame is a set of Python modules designed for writing games. It is
> written on top of the excellent SDL library. This allows you to create
> fully featured games and multimedia programs in the python language.
> Pygame is highly portable and runs on nearly every platform and operating
> system.
>
> Library Dependencies: libsdl, libsdl_mixer, libsdl_image, libsdl_ttf,
> smpeg, py-numeric
> Runtime Dependencies: py-pyobjc
> Maintainers: ben at opendarwin.org
New description:
py-game 1.7.1
Fails to build on my system; the error seems to come from a series of
#ifdef's, none of which are applicable. I have made it build (and work,
in X11) by forcing the X11 option to be selected.
Here is the output of port -d install py-game:
{{{
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
/py-game
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
/py-game
DEBUG: Requested variant powerpc is not provided by port py-game.
DEBUG: Requested variant darwin is not provided by port py-game.
DEBUG: Requested variant macosx is not provided by port py-game.
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl
DEBUG: Searching for dependency: libsdl
DEBUG: Found Dependency: receipt exists for libsdl
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/libsdl_mixer
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/libsdl_mixer
DEBUG: Searching for dependency: libsdl_mixer
DEBUG: Found Dependency: receipt exists for libsdl_mixer
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_image
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_image
DEBUG: Searching for dependency: libsdl_image
DEBUG: Found Dependency: receipt exists for libsdl_image
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_ttf
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libsdl_ttf
DEBUG: Searching for dependency: libsdl_ttf
DEBUG: Found Dependency: receipt exists for libsdl_ttf
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/smpeg
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/smpeg
DEBUG: Searching for dependency: smpeg
DEBUG: Found Dependency: receipt exists for smpeg
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
/py-numeric
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
/py-numeric
DEBUG: Searching for dependency: py-numeric
DEBUG: Found Dependency: receipt exists for py-numeric
DEBUG: Found port in
file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
/py-pyobjc
DEBUG: Changing to port directory:
/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/python
/py-pyobjc
DEBUG: Searching for dependency: py-pyobjc
DEBUG: Found Dependency: receipt exists for py-pyobjc
DEBUG: Skipping completed com.apple.main (py-game)
DEBUG: Skipping completed com.apple.unarchive (py-game)
DEBUG: Skipping completed com.apple.fetch (py-game)
DEBUG: Skipping completed com.apple.checksum (py-game)
DEBUG: Skipping completed com.apple.extract (py-game)
DEBUG: Skipping completed com.apple.patch (py-game)
DEBUG: Skipping completed com.apple.configure (py-game)
---> Building py-game with target build
DEBUG: Executing com.apple.build (py-game)
DEBUG: Assembled command: 'cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
.org_dpupdate_dports_python_py-game/work/pygame-1.7.1release" &&
/opt/local/bin/python2.4 setup.py build'
Using Darwin configuration...
running build
running build_py
running build_ext
building 'pygame.display' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -Ddarwin -I/opt/local/include/SDL
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
-I/opt/local/include/python2.4 -c src/display.c -o
build/temp.darwin-8.7.0-Power_Macintosh-2.4/src/display.o
src/display.c: In function 'get_wm_info':
src/display.c:432: error: 'SDL_SysWMinfo' has no member named 'data'
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports
.org_dpupdate_dports_python_py-game/work/pygame-1.7.1release" &&
/opt/local/bin/python2.4 setup.py build" returned error 1
Command output: Using Darwin configuration...
running build
running build_py
running build_ext
building 'pygame.display' extension
/usr/bin/gcc-4.0 -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -Ddarwin -I/opt/local/include/SDL
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4
-I/opt/local/include/python2.4 -c src/display.c -o
build/temp.darwin-8.7.0-Power_Macintosh-2.4/src/display.o
src/display.c: In function 'get_wm_info':
src/display.c:432: error: 'SDL_SysWMinfo' has no member named 'data'
error: command '/usr/bin/gcc-4.0' failed with exit status 1
Warning: the following items did not execute (for py-game):
com.apple.activate com.apple.build com.apple.destroot com.apple.archive
com.apple.install
Error: /opt/local/bin//port: Status 1 encountered during processing.
}}}
Here is other general info:
UNAME -A:
{{{
Darwin wlan-docking-rz-1-1017.ethz.ch 8.7.0 Darwin Kernel Version 8.7.0:
Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power
Macintosh powerpc
}}}
PORT VERSION:
{{{
Version: 1.211
}}}
PORT INFO PY-GAME:
{{{
py-game 1.7.1, python/py-game
http://www.pygame.org
Pygame is a set of Python modules designed for writing games. It is
written on top of the excellent SDL library. This allows you to create
fully featured games and multimedia programs in the python language.
Pygame is highly portable and runs on nearly every platform and operating
system.
Library Dependencies: libsdl, libsdl_mixer, libsdl_image, libsdl_ttf,
smpeg, py-numeric
Runtime Dependencies: py-pyobjc
Maintainers: ben at opendarwin.org
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/9906#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list