/usr/include/python2.5/pyconfig.h:921:1: warning: "_GNU_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition i686-pc-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -march=nocona -pipe -fomit-frame-pointer build/temp.linux-i686-2.5/src/cdrom.o -L/usr/lib/python2.5/config -lSDL -lpthread -lpython2.5 -o build/lib.linux-i686-2.5/pygame/cdrom.so building 'pygame.constants' extension i686-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -march=nocona -pipe -fomit-frame-pointer -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.5 -c src/constants.c -o build/temp.linux-i686-2.5/src/constants.o In file included from /usr/include/python2.5/Python.h:13, from src/pygame.h:57, from src/constants.c:23: /usr/include/python2.5/pyconfig.h:921:1: warning: "_GNU_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition i686-pc-linux-gnu-gcc -pthread -shared -Wl,--as-needed -O2 -march=nocona -pipe -fomit-frame-pointer build/temp.linux-i686-2.5/src/constants.o -L/usr/lib/python2.5/config -lSDL -lpthread -lpython2.5 -o build/lib.linux-i686-2.5/pygame/constants.so building 'pygame.display' extension i686-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -march=nocona -pipe -fomit-frame-pointer -fPIC -D_GNU_SOURCE= -D_REENTRANT -I/usr/include/SDL -I/usr/include/python2.5 -c src/display.c -o build/temp.linux-i686-2.5/src/display.o In file included from /usr/include/python2.5/Python.h:13, from src/pygame.h:57, from src/display.c:27: /usr/include/python2.5/pyconfig.h:921: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 'i686-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: dev-python/pygame-1.7.1 failed. Call stack: ebuild.sh, line 1613: Called dyn_compile ebuild.sh, line 970: Called qa_call 'src_compile' environment, line 3333: Called src_compile ebuild.sh, line 1303: Called distutils_src_compile distutils.eclass, line 38: 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'. I am guessing this is because of python 2.5 but can't be sure as it gets stuck after downgrading to 2.4: Portage 2.1.2-r6 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Gentoo Base System version 1.13.0_alpha12 Timestamp of tree: Unknown distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4, 2.5-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer" DISTDIR="/var/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks fixpackages java-strict parallel-fetch sandbox sfperms sign strict userpriv usersandbox verify-rdepend" GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo http://lame.lut.fi/linux/gentoo " LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,--as-needed" LINGUAS="fi" MAKEOPTS="-j2" PKGDIR="/home/pkg/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse" SYNC="rsync://192.168.150.1:/portage" USE="a52 aac acl acpi alsa apache2 audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdb cddb cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread emboss esd fam ffmpeg firefox gif gstreamer hal iconv isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility libg++ logitech-mouse mad mikmod mjpeg mmx mp3 mpeg ncurses network nptl nptlonly nsplugin nvidia offensive ogg opengl pam pcre png ppds pppd qt3 quicktime readline real reflection rtc samba session spell spl sse sse2 ssl subversion svg symlink theora threads truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-syntax vorbis x86 xcb xcomposite xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="none nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
What happens after downgrade to 2.4: >>> Emerging (1 of 1) dev-python/pygame-1.7.1 to / * pygame-1.7.1release.tar.gz MD5 ;-) ... [ ok ] * 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 ... Exiting on signal 2 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 : not found Warning, some of the pygame dependencies were not found. Pygame can still compile and install, but games that depend on those missing dependencies will not run. Would you like to continue the configuration? [Y/n]:Traceback (most recent call last): File "setup.py", line 76, in ? config.main() File "/var/tmp/portage/dev-python/pygame-1.7.1/work/pygame-1.7.1release/config.py", line 123, in main deps = CFG.main() File "/var/tmp/portage/dev-python/pygame-1.7.1/work/pygame-1.7.1release/config_unix.py", line 173, in main if not confirm(""" File "/var/tmp/portage/dev-python/pygame-1.7.1/work/pygame-1.7.1release/config_unix.py", line 21, in confirm reply = raw_input('\n' + message + ' [Y/n]:') KeyboardInterrupt /usr/portage/dev-python/pygame/pygame-1.7.1.ebuild: src_compile aborted; exiting. sandbox: Signal already caught and busy still cleaning up! sandbox: Caught signal 2 in pid 25112
*** This bug has been marked as a duplicate of bug 150329 ***