Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92620 - emerge of linux-headers-2.6.8.1-r2 fails when KBUILD_OUTPUT is set
Summary: emerge of linux-headers-2.6.8.1-r2 fails when KBUILD_OUTPUT is set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 10:52 UTC by Myk Taylor
Modified: 2005-05-15 13:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log from failed emerge (buildlog,5.59 KB, text/plain)
2005-05-14 10:53 UTC, Myk Taylor
Details
active make.conf at time of ebuild failure (make.conf,979 bytes, text/plain)
2005-05-14 10:54 UTC, Myk Taylor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myk Taylor 2005-05-14 10:52:41 UTC
'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
Comment 1 Myk Taylor 2005-05-14 10:53:45 UTC
Created attachment 58888 [details]
build log from failed emerge

attaching build log
Comment 2 Myk Taylor 2005-05-14 10:54:23 UTC
Created attachment 58889 [details]
active make.conf at time of ebuild failure

attaching make.conf
Comment 3 SpanKY gentoo-dev 2005-05-15 12:44:44 UTC
we should just unset KBUILD_OUTPUT when dealing with headers
Comment 4 John Mylchreest (RETIRED) gentoo-dev 2005-05-15 13:30:45 UTC
Should be fixed in CVS. unset KBUILD_OUTPUT if its set, which I agree is the right way.
Comment 5 John Mylchreest (RETIRED) gentoo-dev 2005-05-15 13:31:00 UTC
closing