gcc -c -O2 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -I../../../../exports/include/X11 -I../../../../include/extensions -I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm -I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel -I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel -I../../../../programs/Xserver/hw/xfree86/os-support -I../../../.. -I../../../../exports/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DMALLOC_0_RETURNS_NULL -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -fPIC xf86drm.c In file included from drm.h:41, from xf86drm.c:72: /usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory make[6]: *** [xf86drm.o] Error 1 make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/GL/dri/drm' make[5]: *** [all] Error 2 make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/GL/dri' make[4]: *** [all] Error 2 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/GL' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.7.0-r2 failed. !!! Function src_compile, Line 584, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r11 (default-amd64-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r1, 2.6.7-gentoo-r7) ================================================================= System uname: 2.6.7-gentoo-r7 x86_64 5 Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -fPIC" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /etc/tomcat /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fPIC" DISTDIR="/opt/no_archive/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache" GENTOO_MIRRORS="http://128.213.5.34/gentoo/" MAKEOPTS="-j2" PKGDIR="/opt/no_archive/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt doc encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww log4cpp mikmod motif mozilla mpeg mysql nas ncurses nls nogcj oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime readline ruby sdl slang spell ssl svg tcltk tcpd tetex truetype usb wxwindows xinerama xml2 xmms xprint xv zlib"
emerge unmerge linux-headers && emerge linux26-headers does that fix your problem?
This is the state of my machine BEFORE doing the unmerge && merge you suggest. I don't think it would work. goliath root # emerge -up world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] x11-base/xorg-x11-6.7.0-r2 [6.7.0-r1] goliath root # emerge -s linux-headers Searching... [ Results for search key : linux-headers ] [ Applications found : 1 ] * sys-kernel/linux-headers Latest version available: 2.4.21-r1 Latest version installed: [ Not Installed ] Size of downloaded files: 27,864 kB Homepage: http://www.kernel.org/ http://www.gentoo.org/ Description: Linux 2.4.21 headers from kernel.org License: GPL-2 goliath root # emerge -Cp linux-headers >>> These are the packages that I would unmerge: --- Couldn't find linux-headers to unmerge. >>> unmerge: No packages selected for removal. goliath root # emerge -s linux26-headers Searching... [ Results for search key : linux26-headers ] [ Applications found : 1 ] * sys-kernel/linux26-headers Latest version available: 2.6.6-r1 Latest version installed: 2.6.6-r1 Size of downloaded files: 34,078 kB Homepage: http://www.kernel.org/ http://www.gentoo.org/ Description: Linux 2.6.6 headers from kernel.org License: GPL-2
humor me and re-emerge them. your compile is failing because a header file doesnt exist. ayanami vino # qpkg -f /usr/include/linux/autoconf.h sys-kernel/linux26-headers * while the linux 2.4 header package doesnt make sure this header exists, the 2.6 header package does. i know, i added the logic for it. please re-emerge linux26-headers.
*** Bug 64566 has been marked as a duplicate of this bug. ***
Michael, Does this problem still occur?
No this no longer occurs. It is resolved.
closing per user request