I tried to upgrade mesa to 6.5.2, but the emerge always fails. I'll attach and the emerge log, but if I can help any further, please let me know :) Reproducible: Always Steps to Reproduce: 1.Just try to emerge it. emerge --info Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2 i686) ================================================================= System uname: 2.6.18-suspend2 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.9 Timestamp of tree: Sat, 10 Feb 2007 13:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 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.20 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -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/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.ludost.net/gentoo ftp://mirrors.ludost.net/gentoo/ http://distfiles.gentoo.org" LC_ALL="bg_BG" LINGUAS="bg en" 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/portage/local/layman/sunrise /usr/portage/local/layman/stuart-desktop /usr/portage/local/layman/armagetron" SYNC="rsync://mirrors.ludost.net/gentoo-portage" USE="X acpi alsa berkdb bitmap-fonts cli cracklib crypt cups dbus dlloader dri fortran gdbm gif glitz gpm hal iconv ipv6 isdnlog jpeg kde kdexdeltas libg++ midi mmx ncurses nls nptl nptlonly opengl pam pcre perl ppds pppd python readline reflection session spl sse sse2 ssl tcpd threads truetype-fonts type1-fonts udev unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bg en" USERLAND="GNU" VIDEO_CARDS="vesa fbdev i810" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 109738 [details] Emerge log
../common/vblank.c: In function 'driGetCurrentVBlank': ../common/vblank.c:306: error: 'DRM_VBLANK_SECONDARY' undeclared (first use in this function) ../common/vblank.c:306: error: (Each undeclared identifier is reported only once ../common/vblank.c:306: error: for each function it appears in.) ../common/vblank.c: In function 'driWaitForVBlank': ../common/vblank.c:363: error: 'DRM_VBLANK_SECONDARY' undeclared (first use in this function) make[6]: *** [../common/vblank.o] Error 1
Which version of libdrm do you have installed?
The latest one - 2.3.0
I also checked the dependencies - they are up to date.Only xorg-x11 is not the latest one (it's 7.1, not 7.2), but I need mesa in order to update it.
It is a libdrm issue. You have emerged libdrm latest, but when mesa is compiled it is not using those. Check for stale libdrm includes libs etc, especially in /usr/local and then try recompiling mesa again.
Thanks, I removed the files and it works now.
*** Bug 174672 has been marked as a duplicate of this bug. ***
*** Bug 176631 has been marked as a duplicate of this bug. ***