For over a month now, I can't emerge mesa (any version, tried 7.2, 7.1, 7.0.3 and 6.5.2-r1). I have it installed (7.0.3), so it has worked in the past. Tried emerging with and without nptl flag. I can't figure what's wrong with my configuration. Reproducible: Always Steps to Reproduce: emerge mesa Actual Results: * Messages for package media-libs/mesa-6.5.2-r1: * * ERROR: media-libs/mesa-6.5.2-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2524: Called die * The specific snippet of code: * emake -j1 ${CONFIG} || die "Build failed" * The die message: * Build 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/media-libs/mesa-6.5.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-6.5.2-r1/temp/environment'. * # emerge -pv mesa WARNING: repository at /usr/local/portage is missing a repo_name entry These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/mesa-7.2 [7.0.3] USE="nptl* -debug -doc -motif -pic -xcb" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon* -s3virge -savage -sis (-sunffb) -tdfx -trident -via" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB
Created attachment 167590 [details] build log
Created attachment 167592 [details] emerge --info WARNING: repository at /usr/local/portage is missing a repo_name entry Portage 2.2_rc11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.26-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-glibc2.2.5 Timestamp of tree: Wed, 08 Oct 2008 00:34:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0 sys-apps/sandbox: 1.2.18.1-r3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.26 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -Os -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://vostok/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac acpi alsa amd64 arts bash-completion bidi blas branding bzip2 cairo cdinstall cdr cli cracklib crypt cups curl curlwrappers dbus djvu dri dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg flac fortran ftp gdbm gif hal iconv ieee1394 imagemagick isdnlog java jpeg jpeg2k kde kqemu libnotify libwww lm_sensors logitech-mouse mad matroska md5sum midi mikmod mmx mp3 mpeg mtp mudflap multilib ncurses nls nptl nptlonly nsplugin ntfs oci8 offensive ogg opengl openmp oracle pam pcre pdf perl plotutils png posix ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session slang sockets spell spl sql sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb v41 vcd videos vorbis x264 xcomposite xine xml xorg xpm xv xvid zlib" ALSA_CARDS="intel8x0 hda-intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ok, I found what caused this error. I had a rather odd directory , /usr/local/include , which contained some obsolete code from libdrm. I don't know how it got there (yes, I tried unmerging and re-emerging libdrm like 10 times), but after I removed it, mesa emerged just fine. This bug is invalid.