Red Hat Bugzilla – Bug 91439
rpm --rebuild --target x86_64 kernel-2.4.20-13.x.src.rpm fails due to missing .config defaults
Last modified: 2007-04-18 12:53:56 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208
Description of problem:
rpm --rebuild --target x86_64 on the kernel-18.104.22.168.x
(where x = 7, 8 or 9) source RPM fails due to missing
Defaults missing are for:
CONFIG_X86_MCE, CONFIG_I8K, CONFIG_EDD,
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. rpm --rebuild --target x86_64 kernel-2.4.20-13.8.src.rpm
Actual Results: It fails to build the binary RPMs giving the following errors:
*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.
The following defaults are missing:
Machine Check Exception (CONFIG_X86_MCE) [N/y/?]
Dell laptop support (CONFIG_I8K) [N/y/m/?]
BIOS Enhanced Disk Drive calls determine boot disk (EXPERIMENTAL) (CONFIG_EDD)
Multi-node NUMA system support (CONFIG_X86_NUMA) [N/y/?]
Unsynced TSC support (CONFIG_X86_TSC_DISABLE) [N/y/?]
make: *** [oldconfig_nonint] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.75771 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.75771 (%build)
Expected Results: It should build the binary RPMs without error.
The missing defaults seem to be in the i386, i686 and athlon
default configs but aren't in:
you are doing this on an x86_64 machine, right ?
I am _not_ building on an Opteron (x86_64).
If that is the problem please toss this bug
and I'll slap myself for being silly (it looked
like it might/should work).
what happens is that the kernel config stuff notices you're not on a amd64
machine but an x86 and it will use the x86 config.in files :(
you can cross build the kernel but it's a bit more involved (and for sure
requires a cross compiler set up properly etc etc). If you have that and want
that I can roughly outline what needs to be done