Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 50314

Summary: ppc64 kernel wont make config
Product: Gentoo Linux Reporter: Travis Tilley (RETIRED) <lv>
Component: [OLD] Core systemAssignee: ppc64 architecture team <ppc64>
Status: VERIFIED FIXED    
Severity: normal CC: x86-kernel
Priority: High    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Travis Tilley (RETIRED) gentoo-dev 2004-05-06 21:13:01 UTC
i cant make config for any 2.6 kernel, or install any 2.6 header package:

Dual-G5 ppc64-sources-2.6.4-ames1-r1 # make config
make[1]: `scripts/fixdep' is up to date.
  HOSTCC  scripts/kconfig/mconf.o
In file included from /usr/include/asm/cputable.h:18,
                 from /usr/include/asm/elf.h:6,
                 from /usr/include/asm/sigcontext.h:12,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:326,
                 from /usr/include/sys/wait.h:30,
                 from scripts/kconfig/mconf.c:10:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [config] Error 2

the kernel probably shouldnt be pulling headers from /usr/include...
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-05-06 21:15:47 UTC
this is fixed simply by doing a touch /usr/include/linux/autoconf.h
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-05-06 21:23:36 UTC
once ppc64-headers is reinstalled after touching the file:

Dual-G5 root # qpkg -f /usr/include/linux/autoconf.h
sys-kernel/ppc64-headers *
Dual-G5 root # cat /usr/include/linux/autoconf.h | wc -l
377

it appears that ppc64-headers installs properly as long as this file exists, and wont if it doesnt. it doesnt really matter much what's in the file... perhaps this merits an addition to the kernel eclass?
Comment 3 Tom Gall (RETIRED) gentoo-dev 2004-05-10 09:10:47 UTC
grabbing
Comment 4 Tom Gall (RETIRED) gentoo-dev 2004-06-02 19:22:51 UTC
this seems to be ok with 2.6.6. 
Comment 5 Tom Gall (RETIRED) gentoo-dev 2004-06-02 19:23:07 UTC
going to close it out.