Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50314 - ppc64 kernel wont make config
Summary: ppc64 kernel wont make config
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-06 21:13 UTC by Travis Tilley (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.