'emerge -e system' fails on linux-headers-2.6.8.1-r2, complaining about a missing util.c. I tracked the problem down to usage of KBUILD_OUTPUT in the linux-headers makefile (linux-headers was attempting to write to this directory). Reproducible: Always Steps to Reproduce: 1. set KBUILD_OUTPUT to /tmp/kernel (or whatever) in /etc/make.conf 2. emerge linux-headers Actual Results: defconfig fails looking for util.c Expected Results: emerge smoothly (as it does when KBUILD_OUTPUT is not set). Perhaps the ebuild for linux-headers should mask out KBUILD_OUTPUT so the linux-headers makefile doesn't attempt to use it. attachment: buildlog attachment: make.conf ----- Output from 'emerge info' ----- Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.10-gentoo-r5 i686) ================================================================= System uname: 2.6.10-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 14 2005, 06:34:11)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fforce-addr -ftracer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fforce-addr -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo" LINGUAS="en zh_TW" MAKEOPTS="-j1" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 X Xaw3d acpi alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts cdparanoia cjk crypt cups dvd dvdr dvdread emboss encode esd flac foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib immqt ipv6 java jpeg junit kde kdeenablefinal libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl svga tcpd truetype truetype-fonts type1-fonts unicode usb win32codecs xine xml2 xmms xscreensaver xv zlib linguas_en linguas_zh_TW userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 58888 [details] build log from failed emerge attaching build log
Created attachment 58889 [details] active make.conf at time of ebuild failure attaching make.conf
we should just unset KBUILD_OUTPUT when dealing with headers
Should be fixed in CVS. unset KBUILD_OUTPUT if its set, which I agree is the right way.
closing