This is what happens in /var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa/src/mesa/drivers/dri/r200 x86_64-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config --cflags libdrm` -Wall -Wmissing-prototypes -std=c99 -ffast-math -O2 -mtune=k8 -pipe -fomit-frame-pointer -fno-strict-aliasing -fPIC -m64 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/dri"' -DUSE_X86_64_ASM -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 r200_state_init.c -o r200_state_init.o r200_state_init.c: In function 'cmdveclinear': r200_state_init.c:102: error: 'drm_radeon_cmd_header_t' has no member named 'veclinear' r200_state_init.c:102: error: 'RADEON_CMD_VECLINEAR' undeclared (first use in this function) r200_state_init.c:102: error: (Each undeclared identifier is reported only once r200_state_init.c:102: error: for each function it appears in.) r200_state_init.c:103: error: 'drm_radeon_cmd_header_t' has no member named 'veclinear' r200_state_init.c:104: error: 'drm_radeon_cmd_header_t' has no member named 'veclinear' r200_state_init.c:105: error: 'drm_radeon_cmd_header_t' has no member named 'veclinear' r200_state_init.c: In function 'r200InitState': r200_state_init.c:461: error: 'R200_EMIT_VAP_PVS_CNTL' undeclared (first use in this function) make[6]: *** [r200_state_init.o] Error 1 make[6]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa/src/mesa/drivers/dri/r200' make[5]: *** [subdirs] Error 1 make[5]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa/src/mesa/drivers/dri' make[4]: *** [linux-solo] Error 2 make[4]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa/src/mesa' make[3]: *** [default] Error 2 make[3]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa/src/mesa' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.5.1_alpha20060606/work/Mesa' make: *** [linux-dri-x86-64] Error 2 !!! ERROR: media-libs/mesa-6.5.1_alpha20060606 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mesa-6.5.1_alpha20060606.ebuild, line 245: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! This ebuild is from an overlay: '/usr/local/subversion/xgl-coffee' The revision of the overlay is 239 My emerge --info nx6125 emwrap # emerge --info Portage 2.1 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 AMD Turion(tm) 64 Mobile ML-40 Gentoo Base System version 1.12.1 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -mtune=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gnu.ets.kth.se/gentoo http://ds.thn.htu.se/linux/gentoo http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" 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="/usr/local/subversion/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnow2 X acpi alsa avi berkdb bitmap-fonts cairo cdb cdrw cli crypt cups dbus dri dvd dvdr eds emacs emboss encode ffmpeg foomaticdb fortran gif glitz gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jpeg kde lzw lzw-tiff mcal mono mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl pic plotutils png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_fbdev video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
That's coming from an overlay, as you know, and we (Gentoo) don't provide, develop, or support it. Contact the overlay maintainers for help -- they do not use this bug-tracking system (not yet, at least, since it's not on overlays.gentoo.org). I suspect, on a guess, that you do not have new enough libdrm and they need to update the dependency on it.