I want to get rid of DRI support in my xf86-video-intel-2.8.1 but when I remerge it I ger problems like: error: xf86dri.h: No such file or directory but they exist /usr/include/X11/dri/xf86dri.h /usr/include/xcb/xf86dri.h see below: >>> Unpacking source... >>> Unpacking xf86-video-intel-2.8.1.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-video-intel-2.8.1/work [32;01m*[0m Running elibtoolize in: xf86-video-intel-2.8.1 [32;01m*[0m Applying portage-2.2.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... [32;01m*[0m Applying as-needed-2.2.6.patch ... >>> Source unpacked in /var/tmp/portage/x11-drivers/xf86-video-intel-2.8.1/work >>> Compiling source in /var/tmp/portage/x11-drivers/xf86-video-intel-2.8.1/work/xf86-video-intel-2.8.1 ... * econf: updating xf86-video-intel-2.8.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating xf86-video-intel-2.8.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --disable-dri checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for bash... /bin/bash checking if dolt supports this host... yes, replacing libtool checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes checking for intel-gen4asm... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mprotect... yes checking if XINERAMA is defined... yes checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XF86DRI is defined... yes checking if DPMSExtension is defined... yes checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XORG... yes checking for ANSI C header files... (cached) yes checking whether to include DRI support... checking whether to include DRI support... no checking for PCIACCESS... yes checking for DRM... yes checking for XVMCLIB... yes checking whether to include XvMC support... yes checking for /usr/share/sgml/X11/defs.ent... no checking for linuxdoc... no checking for ps2pdf... /usr/bin/ps2pdf checking Whether to build documentation... no checking Whether to build pdf documentation... yes checking for sed... /bin/sed configure: creating ./config.status config.status: creating shave config.status: creating shave-libtool config.status: creating Makefile config.status: creating uxa/Makefile config.status: creating src/Makefile config.status: creating src/xvmc/Makefile config.status: creating src/xvmc/shader/Makefile config.status: creating src/xvmc/shader/mc/Makefile config.status: creating src/xvmc/shader/vld/Makefile config.status: creating src/bios_reader/Makefile config.status: creating src/ch7017/Makefile config.status: creating src/ch7xxx/Makefile config.status: creating src/ivch/Makefile config.status: creating src/reg_dumper/Makefile config.status: creating src/sil164/Makefile config.status: creating src/tfp410/Makefile config.status: creating man/Makefile config.status: creating src/render_program/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make -j5 Making all in uxa CC uxa-accel.o CC uxa.o CC uxa-glyphs.o CC uxa-render.o CC uxa-unaccel.o distcc[12053] ERROR: nonblocking connect to 192.168.1.110:3632 failed: No route to host distcc[12068] ERROR: nonblocking connect to 192.168.1.110:3632 failed: No route to host distcc[12072] ERROR: nonblocking connect to 192.168.1.110:3632 failed: No route to host distcc[12053] Warning: failed to distribute uxa.c to 192.168.1.110, running locally instead distcc[12068] Warning: failed to distribute uxa-render.c to 192.168.1.110, running locally instead distcc[12072] Warning: failed to distribute uxa-unaccel.c to 192.168.1.110, running locally instead distcc[12064] (dcc_select_for_write) ERROR: IO timeout distcc[12064] ERROR: timeout while connecting to 192.168.1.110:3632 distcc[12064] Warning: failed to distribute uxa-glyphs.c to 192.168.1.110, running locally instead LINK libuxa.la Making all in src Making all in xvmc Making all in shader Making all in mc Making all in vld CC I810XvMC.o CC intel_xvmc.o CC intel_xvmc_dump.o CC i915_xvmc.o CC i965_xvmc.o CC xvmc_vld.o CC intel_batchbuffer.o CC dri2.o LINK libI810XvMC.la intel_xvmc_dump.c: In function 'intel_xvmc_dump_render': intel_xvmc_dump.c:72: warning: format '%d' expects type 'int', but argument 3 has type 'XID' intel_xvmc_dump.c:93: warning: format '%d' expects type 'int', but argument 3 has type 'XID' intel_xvmc_dump.c:96: warning: format '%d' expects type 'int', but argument 3 has type 'XID' intel_xvmc_dump.c:99: warning: format '%d' expects type 'int', but argument 3 has type 'XID' LINK libIntelXvMC.la Making all in bios_reader CC bios_reader.o CC bios_dumper.o CC swf_dumper.o bios_reader.c: In function 'dump_lvds_data': bios_reader.c:350: warning: initialization from incompatible pointer type LINK bios_dumper LINK bios_reader LINK swf_dumper Making all in ch7017 CC ch7017_module.o CC ch7017.o LINK ch7017.la Making all in ch7xxx CC ch7xxx_module.o CC ch7xxx.o LINK ch7xxx.la Making all in ivch CC ivch_module.o CC ivch.o LINK ivch.la Making all in sil164 CC sil164_module.o CC sil164.o LINK sil164.la Making all in tfp410 CC tfp410.o CC tfp410_module.o LINK tfp410.la Making all in reg_dumper CC main.o CC xprintf.o CC gtt.o CC i830_debug.o CC util.o CC idle.o CC stepping.o CC statuspage.o CC hotplug.o CC lid.o LINK intel_stepping LINK intel_gtt LINK intel_statuspage LINK intel_lid LINK intel_reg_dumper LINK intel_idle LINK intel_hotplug Making all in render_program CC i810_accel.o CC i810_cursor.o CC i810_dga.o CC i810_driver.o CC i810_io.o In file included from i810.h:59In file included from i810.h:59, from i810_cursor.c:48: /usr/include/xorg/dri.h:41:21: error: xf86dri.h: No such file or directory , from i810_accel.c:41: /usr/include/xorg/dri.h:41:21: error: xf86dri.h: No such file or directory distcc[13822] ERROR: compile i810_cursor.c on localhost failed make[3]: *** [i810_cursor.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... distcc[13819] ERROR: compile i810_accel.c on localhost failed make[3]: *** [i810_accel.lo] Error 1 In file included from i810.h:59, from i810_dga.c:35: /usr/include/xorg/dri.h:41:21: error: xf86dri.h: No such file or directory In file included from i810.h:59, from i810_driver.c:73: /usr/include/xorg/dri.h:41:21: error: xf86dri.h: No such file or directory distcc[13831] ERROR: compile i810_dga.c on localhost failed make[3]: *** [i810_dga.lo] Error 1 distcc[13835] ERROR: compile i810_driver.c on localhost failed make[3]: *** [i810_driver.lo] Error 1 In file included from i810.h:59, from i810_io.c:57: /usr/include/xorg/dri.h:41:21: error: xf86dri.h: No such file or directory distcc[13837] ERROR: compile i810_io.c on localhost failed make[3]: *** [i810_io.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 [31;01m*[0m [31;01m*[0m ERROR: x11-drivers/xf86-video-intel-2.8.1 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_compile [31;01m*[0m environment, line 3156: Called x-modular_src_compile [31;01m*[0m environment, line 3941: Called x-modular_src_make [31;01m*[0m environment, line 3980: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m emake || die "emake failed" [31;01m*[0m The die message: [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/log/portage/x11-drivers:xf86-video-intel-2.8.1:20091102-094457.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.8.1/temp/environment'. [31;01m*[0m Reproducible: Always Steps to Reproduce: 1.Install x11-drivers/xf86-video-intel-2.8.1 with USE -dri 2. 3. changed on line 21: to #include "/usr/include/X11/dri/xf86dri.h" I would do a patch but I dont know how this is my first post here. thanks for your time
USE=-dri is currently broken ATM, but I feel like I must ask : why do you want to remove DRI support? Thanks *** This bug has been marked as a duplicate of bug 265536 ***