openastromenace-1.2.0 fails to compile: [ 23%] Building CXX object CMakeFiles/AstroMenace.dir/AstroMenaceSource/Core/RendererInterface/OGL_Main.o /mnt/data/tmp/portage/games-action/openastromenace-1.2.0/work/OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp:66: error: 'PFNGLCLIENTACTIVETEXTUREPROC' does not name a type /mnt/data/tmp/portage/games-action/openastromenace-1.2.0/work/OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp: In function 'int vw_InitRenderer(char*, int, int, int*, bool, int*)': /mnt/data/tmp/portage/games-action/openastromenace-1.2.0/work/OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp:359: error: 'glClientActiveTexture13' was not declared in this scope /mnt/data/tmp/portage/games-action/openastromenace-1.2.0/work/OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp:359: error: 'PFNGLCLIENTACTIVETEXTUREPROC' was not declared in this scope /mnt/data/tmp/portage/games-action/openastromenace-1.2.0/work/OpenAstroMenaceSVN/AstroMenaceSource/Core/RendererInterface/OGL_Main.cpp:359: error: expected `;' before 'SDL_GL_GetProcAddress' make[2]: *** [CMakeFiles/AstroMenace.dir/AstroMenaceSource/Core/RendererInterface/OGL_Main.o] Error 1 make[1]: *** [CMakeFiles/AstroMenace.dir/all] Error 2 make: *** [all] Error 2 * ERROR: games-action/openastromenace-1.2.0 failed: * Make failed! * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3117: Called cmake-utils_src_compile * environment, line 783: Called cmake-utils_src_make * environment, line 863: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; ============== My emerge --info: Portage 2.2_rc44 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.32-rc3 i686) ================================================================= System uname: Linux-2.6.32-rc3-i686-Intel-R-_Celeron-R-_M_processor_1300MHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 07 Oct 2009 15:45:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d /usr/share/X11/xkb" CXXFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer" DISTDIR="/usr/src/packages" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="assume-digests distlocks fixpackages news preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.intergenia.de http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="gzip" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/data/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/x11" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dri dts dvd dvdr eds emboss encode esd evo expat fam firefox flac fortran gif gnutls gpm iconv isdnlog java jpeg kde ladspa lcms libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl openmp pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session sndfile spl sqlite sse sse2 ssl svg sysfs tcpd threads thunar tiff truetype usb vim-syntax vorbis win32codecs wmf x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" SANE_BACKENDS="agfafocus apple bh brother canon canon630u dmc epson hp lexmark matsushita microtek microtek2 mustek mustek_usb nec plustek plustek_pp ricoh umax umax_pp umax1220u ibm hp5400 u12 snapscan hp4200 hp3500" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can you post the output from: emerge -evp games-action/openastromenace Builds fine for me on stable x86.
Yes, it did build fine in the past. Here you are: [ebuild R ] sys-apps/portage-2.2_rc44 USE="-build -doc -epydoc -python3 (-selinux)" LINGUAS="-pl" 0 kB [0] [ebuild R ] sys-apps/sed-4.2 USE="-acl -nls -static" 0 kB [0] [ebuild R ] sys-devel/gnuconfig-20090203 0 kB [0] [ebuild R ] sys-libs/zlib-1.2.3-r1 0 kB [0] [ebuild R ] sys-apps/findutils-4.4.0 USE="-nls (-selinux) -static" 0 kB [0] [ebuild R ] dev-libs/expat-2.0.1-r2 0 kB [0] [ebuild R ] sys-devel/flex-2.5.35 USE="-nls -static" 0 kB [0] [ebuild R ] app-arch/bzip2-1.0.5-r1 USE="-static" 0 kB [0] [ebuild R ] virtual/libiconv-0 0 kB [0] [ebuild R ] sys-devel/gcc-config-1.4.1 0 kB [0] [ebuild R ] dev-libs/gmp-4.2.4 USE="-nocxx" 0 kB [0] [ebuild R ] sys-devel/autoconf-wrapper-6 0 kB [0] [ebuild R ] app-portage/portage-utils-0.1.29 0 kB [0] [ebuild R ] app-admin/python-updater-0.7 0 kB [0] [ebuild R ] sys-apps/diffutils-2.8.7-r2 USE="-nls -static" 0 kB [0] [ebuild R ] sys-devel/automake-wrapper-3-r1 0 kB [0] [ebuild R ] dev-libs/popt-1.14 USE="-nls" 0 kB [0] [ebuild R ] sys-libs/timezone-data-2009m USE="-nls" 0 kB [0] [ebuild R ] dev-util/pkgconfig-0.23 USE="-hardened" 0 kB [0] [ebuild R ] app-arch/lzma-utils-4.32.7 USE="-nocxx" 0 kB [0] [ebuild R ] media-libs/libogg-1.1.3 0 kB [0] [ebuild R ] dev-libs/libgpg-error-1.7 USE="-nls" 0 kB [0] [ebuild R ] media-libs/jpeg-7 0 kB [0] [ebuild R ] media-sound/alsa-headers-1.0.20 0 kB [0] [ebuild R ] dev-lang/yasm-0.8.0 USE="-nls" 0 kB [0] [ebuild R ] sys-devel/m4-1.4.12 USE="-examples" 0 kB [0] [ebuild R ] sys-kernel/linux-headers-2.6.27-r2 0 kB [0] [ebuild R ] sys-devel/binutils-config-1.9-r4 0 kB [0] [ebuild R ] dev-java/java-config-wrapper-0.16 0 kB [0] [ebuild R ] net-misc/rsync-3.0.6 USE="-acl iconv -ipv6 -static -xattr -xinetd" 0 kB [0] [ebuild R ] dev-libs/mpfr-2.4.1_p1 0 kB [0] [ebuild R ] dev-libs/libgcrypt-1.4.4 0 kB [0] [ebuild R ] app-arch/unzip-6.0-r1 USE="bzip2 -unicode" 0 kB [0] [ebuild R ] sys-devel/binutils-2.18-r3 USE="-gold% -multislot -multitarget -nls -test -vanilla" 0 kB [0] [ebuild R ] sys-devel/bison-2.3 USE="-nls -static" 0 kB [0] [ebuild Rf ] dev-java/sun-jce-bin-1.6.0 0 kB [0] [ebuild R ] sys-apps/debianutils-3.1.3 USE="-static" 0 kB [0] [ebuild R ] virtual/jdk-1.6.0 0 kB [0] [ebuild R ] virtual/jre-1.6.0 0 kB [0] [ebuild R ] app-admin/eselect-vi-1.1.5 0 kB [0] [ebuild R ] virtual/glu-7.0 0 kB [0] [ebuild R ] app-admin/eselect-opengl-1.0.8-r1 0 kB [0] [ebuild R ] virtual/opengl-7.0 0 kB [0] [ebuild R ] app-admin/eselect-ctags-1.10 0 kB [0] [ebuild R ] dev-util/ctags-5.7 USE="-ada" 0 kB [0] [ebuild R ] sys-devel/autoconf-2.63-r1 USE="-emacs" 0 kB [0] [ebuild R ] sys-devel/automake-1.10.2 0 kB [0] [ebuild R ] sys-devel/libtool-2.2.6a USE="-test -vanilla" 0 kB [0] [ebuild R ] sys-apps/attr-2.4.43 USE="-nls" 0 kB [0] [ebuild R ] x11-misc/util-macros-1.3.0 0 kB [0] [ebuild R ] media-libs/libvorbis-1.2.3 USE="-doc" 0 kB [0] [ebuild R ] media-libs/audiofile-0.2.6-r4 0 kB [0] [ebuild R ] x11-proto/xproto-7.0.15 0 kB [0] [ebuild R ] x11-proto/inputproto-1.5.1 0 kB [0] [ebuild R ] x11-libs/xtrans-1.2.3 USE="-debug*" 0 kB [0] [ebuild R ] x11-proto/kbproto-1.0.3 0 kB [0] [ebuild R ] dev-libs/libpthread-stubs-0.1 USE="-debug" 0 kB [0] [ebuild R ] sys-libs/libcap-2.16 USE="-pam" 0 kB [0] [ebuild R ] x11-proto/recordproto-1.13.2 0 kB [0] [ebuild R ] x11-proto/printproto-1.0.4 0 kB [0] [ebuild R ] x11-proto/renderproto-0.9.3 0 kB [0] [ebuild R ] x11-proto/xf86vidmodeproto-2.2.2 0 kB [0] [ebuild R ] x11-proto/randrproto-1.3.0 0 kB [0] [ebuild R ] x11-proto/bigreqsproto-1.0.2 0 kB [0] [ebuild R ] x11-proto/xcmiscproto-1.1.2 0 kB [0] [ebuild R ] x11-proto/xf86bigfontproto-1.1.2 0 kB [0] [ebuild R ] x11-proto/xf86driproto-2.0.4 0 kB [0] [ebuild R ] x11-proto/dri2proto-2.1 0 kB [0] [ebuild R ] x11-proto/glproto-1.4.10 0 kB [0] [ebuild R ] x11-proto/damageproto-1.2.0 0 kB [0] [ebuild R ] x11-proto/fixesproto-4.0 0 kB [0] [ebuild R ] app-misc/pax-utils-0.1.19 USE="caps" 0 kB [0] [ebuild R ] x11-libs/libXau-1.0.5 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libXdmcp-1.0.2 USE="-debug" 0 kB [0] [ebuild R ] x11-proto/xextproto-7.0.5 0 kB [0] [ebuild R ] x11-libs/libICE-1.0.5 USE="-debug -ipv6" 0 kB [0] [ebuild R ] x11-misc/makedepend-1.0.1 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libdrm-2.4.14 USE="-debug" 0 kB [0] [ebuild R ] sys-apps/sandbox-1.6-r2 0 kB [0] [ebuild R ] x11-libs/libX11-1.2.2 USE="-debug -ipv6 xcb" 0 kB [0] [ebuild R ] x11-libs/libXext-1.0.5 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libXrender-0.9.4 USE="-debug*" 0 kB [0] [ebuild R ] x11-libs/libXfixes-4.0.3 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libXi-1.2.1 USE="-debug*" 0 kB [0] [ebuild R ] x11-libs/libXp-1.0.0 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libXtst-1.0.3 USE="-debug*" 0 kB [0] [ebuild R ] x11-libs/libXrandr-1.3.0 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libXdamage-1.1.1 USE="-debug" 0 kB [0] [ebuild R ] x11-libs/libXxf86vm-1.0.2 USE="-debug" 0 kB [0] [ebuild R ] dev-lang/perl-5.8.8-r5 USE="berkdb -build -debug -doc -gdbm -ithreads -perlsuid" 0 kB [0] [ebuild R ] perl-core/PodParser-1.35 0 kB [0] [ebuild R ] perl-core/Test-Harness-3.10 0 kB [0] [ebuild R ] sys-apps/help2man-1.36.4 USE="-nls" 0 kB [0] [ebuild R ] dev-libs/libtasn1-2.3 USE="-doc" 0 kB [0] [ebuild R ] net-libs/gnutls-2.8.3 USE="-bindist cxx -doc -examples -guile -lzo -nls zlib" 0 kB [0] [ebuild R ] dev-libs/openssl-0.9.8k USE="-bindist -gmp -kerberos sse2 -test zlib" 0 kB [0] [ebuild R ] sys-libs/ncurses-5.6-r2 USE="-debug -doc gpm -minimal -nocxx -profile -trace -unicode" 0 kB [0] [ebuild R ] app-shells/bash-4.0_p28 USE="-afs -bashlogger -examples net -nls -plugins -vanilla" 0 kB [0] [ebuild R ] sys-apps/coreutils-7.5 USE="-acl -caps -gmp -nls (-selinux) -static -vanilla -xattr" 0 kB [0] [ebuild R ] sys-apps/texinfo-4.13 USE="-nls -static" 0 kB [0] [ebuild R ] sys-libs/gpm-1.20.5 USE="(-selinux)" 0 kB [0] [ebuild R ] sys-apps/util-linux-2.16.1 USE="crypt -loop-aes -nls -old-linux perl (-selinux) -slang (-uclibc) -unicode" 0 kB [0] [ebuild R ] sys-libs/readline-6.0_p3 0 kB [0] [ebuild R ] app-misc/ca-certificates-20090709 0 kB [0] [ebuild R ] app-admin/perl-cleaner-1.05 0 kB [0] [ebuild R ] x11-libs/libSM-1.1.1 USE="-debug -ipv6 uuid" 0 kB [0] [ebuild R ] dev-db/sqlite-3.6.17 USE="-debug -doc readline -soundex -tcl threadsafe" 0 kB [0] [ebuild R ] x11-libs/libXt-1.0.6 USE="-debug" 0 kB [0] [ebuild R ] net-misc/curl-7.19.6 USE="-ares gnutls -idn -ipv6 -kerberos -ldap -libssh2 -nss ssl -test" 0 kB [0] [ebuild R ] x11-libs/libXmu-1.0.4 USE="-debug -ipv6" 0 kB [0] [ebuild R ] media-libs/mesa-7.6 USE="-debug -gallium -motif nptl -pic -xcb" VIDEO_CARDS="intel -mach64 -mga -none -r128 -radeon -radeonhd -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB [1] [ebuild R ] sys-devel/gcc-4.3.2-r3 USE="(-altivec) -bootstrap -build -doc (-fixed-point) fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -libffi mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nopie nptl%* -objc -objc++ -objc-gc openmp -test -vanilla" 0 kB [0] [ebuild R ] sys-libs/glibc-2.9_p20081201-r2 USE="-debug -gd -glibc-omitfp (-hardened) (-multilib) -nls -profile (-selinux) -vanilla" 0 kB [0] [ebuild R ] app-admin/eselect-1.2.3 USE="bash-completion -doc" 0 kB [0] [ebuild R ] app-admin/eselect-python-20090824 0 kB [0] [ebuild R ] app-editors/vim-core-7.2.182 USE="-acl bash-completion -livecd -nls" 0 kB [0] [ebuild R ] dev-lang/python-2.6.2-r1 USE="berkdb -build -doc -examples -gdbm -ipv6 ncurses readline sqlite ssl threads -tk -ucs2 -wininst xml" 0 kB [0] [ebuild R ] media-libs/alsa-lib-1.0.20-r1 USE="-alisp -debug -doc python" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 0 kB [0] [ebuild R ] dev-java/java-config-2.1.8-r1 0 kB [0] [ebuild R ] sys-apps/file-5.03 USE="python" 0 kB [0] [ebuild R ] dev-libs/libxml2-2.7.3-r2 USE="-debug -doc -examples -ipv6 python readline -test" 0 kB [0] [ebuild R ] app-editors/vim-7.2.182 USE="-acl bash-completion -cscope gpm -minimal -nls perl python -ruby -vim-pager -vim-with-x" 0 kB [0] [ebuild R ] sys-libs/db-4.7.25_p4 USE="-doc java -nocxx -tcl -test" 0 kB [0] [ebuild R ] dev-java/sun-jdk-1.6.0.15 USE="X alsa -derby -doc -examples jce nsplugin -odbc" 0 kB [0] [ebuild R ] media-libs/libsdl-1.2.13-r1 USE="X -aalib alsa -arts audio -custom-cflags -dga -directfb -esd -fbcon -ggi joystick -libcaca -nas opengl -oss -pulseaudio -svga video -xinerama xv" 0 kB [0] [ebuild R ] dev-libs/libxslt-1.1.24-r1 USE="crypt -debug -examples python" 0 kB [0] [ebuild R ] x11-proto/xcb-proto-1.5 0 kB [0] [ebuild R ] dev-libs/xmlrpc-c-1.18.02 USE="-abyss cgi curl cxx threads -tools" 0 kB [0] [ebuild R ] app-vim/gentoo-syntax-20090220 USE="-ignore-glep31" 0 kB [0] [ebuild R ] sys-devel/libperl-5.8.8-r2 USE="berkdb -debug -gdbm -ithreads" 0 kB [0] [ebuild R ] x11-libs/libxcb-1.4-r1 USE="-debug -doc (-selinux)" 0 kB [0] [ebuild R ] dev-util/cmake-2.6.4 USE="-emacs -qt4 vim-syntax" 0 kB [0] [ebuild R ] media-libs/openal-1.8.466 USE="alsa -debug -oss -portaudio -pulseaudio" 0 kB [0] [ebuild R ] media-libs/freealut-1.1.0-r1 0 kB [0] [ebuild R ] games-action/openastromenace-1.2.0 LINGUAS="-de -ru" 0 kB [0] Total: 135 packages (135 reinstalls), Size of downloads: 0 kB Fetch Restriction: 1 package Portage tree and overlays: [0] /usr/portage [1] /usr/local/layman/x11 Mesa-7.6 is the only package from the x11 overlay. My system is pretty much stable but for the kernel, udev, util-linux, and mesa-7.6, xorg-server-1.6.4 and intel-2.9.0.
Try unsetting your VIDEO_CARDS and re-emerging mesa.
Unsetting VIDEO_CARDS did not help on mesa-7.6. I tried compiling against stable mesa-7.5.1 next, which works. So it only fails to compile against mesa-7.6. As it's not even in the tree yet, this could be resolved NOTYETABUG :-)
not in the tree = invalid
But it is in x11 overlay and IS required by nouveau.
Created attachment 211717 [details, diff] Fix compilation with newer mesa This patch fixes compilation with newer mesa GL API. It doesn't harm with earlier mesa versions, so no version check is needed in the ebuild.
Reported upstream: https://sourceforge.net/tracker/?func=detail&aid=2907627&group_id=205965&atid=995762
The fix from Andrew Savchenko works just fine for mesa-7.7 on my system. At the moment, mesa-7.7 is in the tree so I guess this bug should be reopened and/or the patch committed.
I agree with previous commenter, why have this not yet gone into the tree? This package has been bugging my emerge @preserved-rebuild for a long while now (since it depends on libjpeg).
Created attachment 227337 [details] Ebuild which uses the above patch Since the issue is in the tree now, I thought we might as well fix it? I hope this ebuild helps!
This patch seems to be in the portage tree already. Someone might want to close this bug.