[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] "emerge pygame" failled



hello

I tried to emerge pygame on Gentoo ppc (ibook G4). It doesn't work, I hope somebody could help me, thanks for ur interest.
dominik
ps, here is the message error;





]# emerge pygame                      [321]
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-python/pygame-1.7.1 to /
 * pygame-1.7.1release.tar.gz RMD160 ;-) ...                              [ ok ]
 * pygame-1.7.1release.tar.gz SHA1 ;-) ...                                [ ok ]
 * pygame-1.7.1release.tar.gz SHA256 ;-) ...                              [ ok ]
 * pygame-1.7.1release.tar.gz size ;-) ...                                [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking pygame-1.7.1release.tar.gz ;-) ...                            [ ok ]
>>> Unpacking source...
>>> Unpacking pygame-1.7.1release.tar.gz to /var/tmp/portage/dev-python/pygame-1.7.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/pygame-1.7.1/work/pygame-1.7.1release ...
Using UNIX configuration...



WARNING, No "Setup" File Exists, Running "config.py"

Hunting dependencies...
SDL     : found 1.2.11
FONT    : found
IMAGE   : found
MIXER   : found
SMPEG   : found 0.4.4
NUMERIC : found 23.7

If you get compiler errors during install, doublecheck
the compiler flags in the "Setup" file.


Continuing With "setup.py"
running build
running build_py
creating build
creating build/lib.linux-ppc-2.4
creating build/lib.linux-ppc-2.4/pygame
copying lib/__init__.py -> build/lib.linux-ppc-2.4/pygame
copying lib/color.py -> build/lib.linux-ppc-2.4/pygame
copying lib/colordict.py -> build/lib.linux-ppc-2.4/pygame
copying lib/cursors.py -> build/lib.linux-ppc-2.4/pygame
copying lib/locals.py -> build/lib.linux-ppc-2.4/pygame
copying lib/macosx.py -> build/lib.linux-ppc-2.4/pygame
copying lib/pkgdata.py -> build/lib.linux-ppc-2.4/pygame
copying lib/sprite.py -> build/lib.linux-ppc-2.4/pygame
copying lib/sysfont.py -> build/lib.linux-ppc-2.4/pygame
copying lib/version.py -> build/lib.linux-ppc-2.4/pygame
running build_ext
building 'pygame.imageext' extension
creating build/temp.linux-ppc-2.4
creating build/temp.linux-ppc-2.4/src
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/imageext.c -o build/temp.linux-ppc-2.4/src/imageext.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/imageext.c:28:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/imageext.o -L/usr/lib -lSDL -lpthread -lSDL_image -o build/lib.linux-ppc-2.4/pygame/imageext.so
building 'pygame.font' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/font.c -o build/temp.linux-ppc-2.4/src/font.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/font.c:30:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/font.o -L/usr/lib -lSDL -lpthread -lSDL_ttf -o build/lib.linux-ppc-2.4/pygame/font.so
building 'pygame.mixer' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/mixer.c -o build/temp.linux-ppc-2.4/src/mixer.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/mixer.c:27:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/mixer.o -L/usr/lib -lSDL -lpthread -lSDL_mixer -o build/lib.linux-ppc-2.4/pygame/mixer.so
building 'pygame.mixer_music' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/music.c -o build/temp.linux-ppc-2.4/src/music.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/music.c:27:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/music.o -L/usr/lib -lSDL -lpthread -lSDL_mixer -o build/lib.linux-ppc-2.4/pygame/mixer_music.so
building 'pygame.surfarray' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4/Numeric -I/usr/include/python2.4 -c src/surfarray.c -o build/temp.linux-ppc-2.4/src/surfarray.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/surfarray.c:23:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/surfarray.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/surfarray.so
building 'pygame.sndarray' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4/Numeric -I/usr/include/SDL -I/usr/include/python2.4 -c src/sndarray.c -o build/temp.linux-ppc-2.4/src/sndarray.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/sndarray.c:23:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/sndarray.o -L/usr/lib -lSDL -lpthread -lSDL_mixer -o build/lib.linux-ppc-2.4/pygame/sndarray.so
building 'pygame.movie' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/smpeg -I/usr/include/SDL -I/usr/include/python2.4 -c src/movie.c -o build/temp.linux-ppc-2.4/src/movie.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/movie.c:26:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/movie.o -lSDL -lpthread -lsmpeg -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/movie.so
building 'pygame.base' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/base.c -o build/temp.linux-ppc-2.4/src/base.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/base.c:24:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/base.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/base.so
building 'pygame.cdrom' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/cdrom.c -o build/temp.linux-ppc-2.4/src/cdrom.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/cdrom.c:24:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/cdrom.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/cdrom.so
building 'pygame.constants' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/constants.c -o build/temp.linux-ppc-2.4/src/constants.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/constants.c:23:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/constants.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/constants.so
building 'pygame.display' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/display.c -o build/temp.linux-ppc-2.4/src/display.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/display.c:27:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
src/display.c: In function 'get_wm_info':
src/display.c:416: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:417: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:418: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:419: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:420: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:421: error: 'SDL_SysWMinfo' has no member named 'info'
error: command 'powerpc-unknown-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pygame-1.7.1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1328:   Called distutils_src_compile
  distutils.eclass, line 48:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/pygame-1.7.1/temp/build.log'.




Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
>>> Unpacking source...
>>> Unpacking pygame-1.7.1release.tar.gz to /var/tmp/portage/dev-python/pygame-1.7.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/pygame-1.7.1/work/pygame-1.7.1release ...
Using UNIX configuration...



WARNING, No "Setup" File Exists, Running "config.py"

Hunting dependencies...
SDL     : found 1.2.11
FONT    : found
IMAGE   : found
MIXER   : found
SMPEG   : found 0.4.4
NUMERIC : found 23.7

If you get compiler errors during install, doublecheck
the compiler flags in the "Setup" file.


Continuing With "setup.py"
running build
running build_py
creating build
creating build/lib.linux-ppc-2.4
creating build/lib.linux-ppc-2.4/pygame
copying lib/__init__.py -> build/lib.linux-ppc-2.4/pygame
copying lib/color.py -> build/lib.linux-ppc-2.4/pygame
copying lib/colordict.py -> build/lib.linux-ppc-2.4/pygame
copying lib/cursors.py -> build/lib.linux-ppc-2.4/pygame
copying lib/locals.py -> build/lib.linux-ppc-2.4/pygame
copying lib/macosx.py -> build/lib.linux-ppc-2.4/pygame
copying lib/pkgdata.py -> build/lib.linux-ppc-2.4/pygame
copying lib/sprite.py -> build/lib.linux-ppc-2.4/pygame
copying lib/sysfont.py -> build/lib.linux-ppc-2.4/pygame
copying lib/version.py -> build/lib.linux-ppc-2.4/pygame
running build_ext
building 'pygame.imageext' extension
creating build/temp.linux-ppc-2.4
creating build/temp.linux-ppc-2.4/src
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/imageext.c -o build/temp.linux-ppc-2.4/src/imageext.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/imageext.c:28:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/imageext.o -L/usr/lib -lSDL -lpthread -lSDL_image -o build/lib.linux-ppc-2.4/pygame/imageext.so
building 'pygame.font' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/font.c -o build/temp.linux-ppc-2.4/src/font.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/font.c:30:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/font.o -L/usr/lib -lSDL -lpthread -lSDL_ttf -o build/lib.linux-ppc-2.4/pygame/font.so
building 'pygame.mixer' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/mixer.c -o build/temp.linux-ppc-2.4/src/mixer.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/mixer.c:27:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/mixer.o -L/usr/lib -lSDL -lpthread -lSDL_mixer -o build/lib.linux-ppc-2.4/pygame/mixer.so
building 'pygame.mixer_music' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/python2.4 -c src/music.c -o build/temp.linux-ppc-2.4/src/music.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/music.c:27:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/music.o -L/usr/lib -lSDL -lpthread -lSDL_mixer -o build/lib.linux-ppc-2.4/pygame/mixer_music.so
building 'pygame.surfarray' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4/Numeric -I/usr/include/python2.4 -c src/surfarray.c -o build/temp.linux-ppc-2.4/src/surfarray.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/surfarray.c:23:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/surfarray.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/surfarray.so
building 'pygame.sndarray' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4/Numeric -I/usr/include/SDL -I/usr/include/python2.4 -c src/sndarray.c -o build/temp.linux-ppc-2.4/src/sndarray.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/sndarray.c:23:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/sndarray.o -L/usr/lib -lSDL -lpthread -lSDL_mixer -o build/lib.linux-ppc-2.4/pygame/sndarray.so
building 'pygame.movie' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/smpeg -I/usr/include/SDL -I/usr/include/python2.4 -c src/movie.c -o build/temp.linux-ppc-2.4/src/movie.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/movie.c:26:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/movie.o -lSDL -lpthread -lsmpeg -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/movie.so
building 'pygame.base' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/base.c -o build/temp.linux-ppc-2.4/src/base.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/base.c:24:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/base.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/base.so
building 'pygame.cdrom' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/cdrom.c -o build/temp.linux-ppc-2.4/src/cdrom.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/cdrom.c:24:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/cdrom.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/cdrom.so
building 'pygame.constants' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/constants.c -o build/temp.linux-ppc-2.4/src/constants.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/constants.c:23:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
powerpc-unknown-linux-gnu-gcc -pthread -shared -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec build/temp.linux-ppc-2.4/src/constants.o -lSDL -lpthread -o build/lib.linux-ppc-2.4/pygame/constants.so
building 'pygame.display' extension
powerpc-unknown-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -pipe -mcpu=7400 -maltivec -mabi=altivec -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.4 -c src/display.c -o build/temp.linux-ppc-2.4/src/display.o
In file included from /usr/include/python2.4/Python.h:13,
                 from src/pygame.h:57,
                 from src/display.c:27:
/usr/include/python2.4/pyconfig.h:846:1: warning: "_GNU_SOURCE" redefined
<command line>:1:1: warning: this is the location of the previous definition
src/display.c: In function 'get_wm_info':
src/display.c:416: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:417: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:418: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:419: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:420: error: 'SDL_SysWMinfo' has no member named 'info'
src/display.c:421: error: 'SDL_SysWMinfo' has no member named 'info'
error: command 'powerpc-unknown-linux-gnu-gcc' failed with exit status 1

!!! ERROR: dev-python/pygame-1.7.1 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1328:   Called distutils_src_compile
  distutils.eclass, line 48:   Called die

!!! compilation failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-python/pygame-1.7.1/temp/build.log'.