make[4]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/work/xf86-video-intel-2.6.3/src' ../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/drm -I../uxa -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -MT i810_accel.lo -MD -MP -MF .deps/i810_accel.Tpo -c -o i810_accel.lo i810_accel.c In file included from i810.h:62, from i810_accel.c:55: /usr/include/xorg/dri.h:41:21: error: xf86dri.h: No such file or directory make[4]: *** [i810_accel.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/work/xf86-video-intel-2.6.3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/work/xf86-video-intel-2.6.3/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/work/xf86-video-intel-2.6.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.6.3-r1/work/xf86-video-intel-2.6.3' make: *** [all] Error 2 * * ERROR: x11-drivers/xf86-video-intel-2.6.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3107: Called x-modular_src_compile * environment, line 3892: Called x-modular_src_make * environment, line 3931: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed [cut] # emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.2.2, glibc-2.9_p20081201-r2, 2.6.28-default x86_64) ================================================================= System uname: Linux-2.6.28-default-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.0 Timestamp of tree: Wed, 15 Jul 2009 10:45:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.4.6, 2.5.4-r3 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 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.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch 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" LINGUAS="cs cz en" PKGDIR="/usr/portage/packages" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="R X Xaw3d acl acpi apache2 bash-completion bcmath berkdb blas bluetooth boost branding bzip2 cairo cblas clamav cli colordiff compress cpio cracklib crypt cscope css ctype curl curlwrappers cxx dbus dia djbfft eds emacs emboss emf enblend encode enscript exif expat fam fftw firefox flac flash foomaticdb fortran ftp gcj gd gdbm gif glibc-compat20 glibc-omitfp glitz glut gmp gnuplot gnutls gpm graphviz gs gstreamer gtk gtkhtml hal i8x0 icc iconv ifc imagemagick inifile innodb isdnlog ithreads java javascript jbig jikes jpeg jpeg2k kdtree lapack lcms leim libedit libnotify libwww lzo lzw maildir mhash midi mime ming mjpeg mmap mmx mng mod_python modperl modplug motif mozilla moznoirc mpeg mpi mpi_njtree mudflap mule mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin numeric openmp pam pango pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3support rar raw readline reflection reiserfs rpm rtc samba scp seamonkey server session sftp sift smime sndfile sockets spell spl srt sse sse2 sse3 ssl startup-notification svg svgz sysfs sysvipc tcl tcpd threads tidy tiff tk transcode truetype unicode urandom usb userlocales uuencode vim-syntax vim-with-x vorbis wmf wxwindows x86 xanim xfs xinetd xml xorg xpm xprint xslt xulrunner xv xvid zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth_basic auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache deflate dir filter mime-magic cern-meta expires headers usertrack unique_id ident info include cgi cgid vhost-alias rewrite log_config env setenvif mime status autoindex asis negotiation imagemap actions userdir" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs cz en" USERLAND="GNU" VIDEO_CARDS="intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Maybe this is related to bug #265536 aiming to zap the dri USE flag altogether?
This is certainly related to bug #265536 -- related as in, it's the same problem ;) You have dri useflag off just like in the other report, and your build breaks with the same missing header. For now set USE=dri to get the driver to merge, and stay tuned on bug #265536 for progress on zapping of the dri flag. *** This bug has been marked as a duplicate of bug 265536 ***