emerge soya failed, but emerge /usr/portage/dev-python/soya/soya-0.5.ebuild suceeded, contrary to bug 45215, except with (ACCEPT_KEYWORDS=~x86) for all of system build. Reproducible: Always Steps to Reproduce: 1.emerge soya 2. 3. Actual Results: ... In file included from c_src/sprite.c:24: c_src/p3_base.h:1462:21: void expression between '(' and ')' error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/soya-0.6.1 failed. !!! Function distutils_src_compile, Line 38, Exitcode 1 !!! compilation failed Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo/ rsync://planetmirror.com/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X aalib alsa apm avi blender-game bluetooth bootsplash bzlib calendar cdparanoia cdr dga divx4linux dts dvd emacs encode esd ethereal evo exif ext-png ext-zlib f77 faac faad ffmpeg flac ftp gb gdbm gif ginac glgd glut gpm gtk gtk2 hdf hdf5 hostap-nopci hostap-noplx icq imap imlib jabber jack java javascript jpeg libcaca libwww live lzo mad mikmod mime mmx mng motif moznocompose moznoirc moznomail moznoxft mozsvg mpeg mplayer msn mythtv native ncurses nethack network nls nvidia offensive oggvorbis openal opengl opie oscar pam pda pdflib perl pic pie plotutils png posix pthreads python qt quicktime readline rtc samba sdl session slang sockets speex spell sse ssl svg svga tcltk tcpd tetex theora transcode truetype usb wavelan wifi x86 xml2 xmms xv xvid yahoo yv12 zlib"
Created attachment 37646 [details] result of ( emerge soya 2> error )
It compiles for me using the samve CFLAGS, Python and gcc you have. Its failing when checking what version of OpenGL you have, so running opengl-update then re-emerging may help too. You're using a version of glibc not in portage any more, so you may want to try the current stable one (glibc-2.3.3.20040420-r1).
Closing as I can't reproduce the problem and this version is no longer in portage.