<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
I pulled down the 2.6.18-92.1.10 source, installed it, built the package, copied the straight x86_64 config file from SOURCES into the build directory, redid make menuconfig to enable NTFS support, added the # x86_64 back into the .config file, copied .config back to the SOURCES directory and ran rpmbuild -ba --target=x86_64 <spec file> (same as I always do with new kernels), but this time I'm getting this error in the build:<BR>
<BR>
Patch #99990 (linux-2.6-rhel-version-h.patch):<BR>
+ patch -p1 -s<BR>
+ perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = 18/' Makefile<BR>
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -prep/' Makefile<BR>
+ perl -p -i -e 's/^RHEL_MAJOR.*/RHEL_MAJOR = 5/' Makefile<BR>
+ perl -p -i -e 's/^RHEL_MINOR.*/RHEL_MINOR = 2/' Makefile<BR>
+ cp /home/rpmbuild/SOURCES/COPYING.modules Documentation/<BR>
+ mkdir configs<BR>
+ for cfg in 'kernel-2.6.18-x86_64*.config'<BR>
+ cp -f /home/rpmbuild/SOURCES/kernel-2.6.18-x86_64-debug.config /home/rpmbuild/SOURCES/kernel-2.6.18-x86_64-xen.config /home/rpmbuild/SOURCES/kernel-2.6.18-x86_64.config .<BR>
+ for i in 'kernel-2.6.18-x86_64*.config'<BR>
+ mv kernel-2.6.18-x86_64-debug.config kernel-2.6.18-x86_64-debug.config.tmp<BR>
+ /home/rpmbuild/SOURCES/merge.pl /home/rpmbuild/SOURCES/config-rhel-generic kernel-2.6.18-x86_64-debug.config.tmp<BR>
+ rm kernel-2.6.18-x86_64-debug.config.tmp<BR>
+ for i in 'kernel-2.6.18-x86_64*.config'<BR>
+ mv kernel-2.6.18-x86_64-xen.config kernel-2.6.18-x86_64-xen.config.tmp<BR>
+ /home/rpmbuild/SOURCES/merge.pl /home/rpmbuild/SOURCES/config-rhel-generic kernel-2.6.18-x86_64-xen.config.tmp<BR>
+ rm kernel-2.6.18-x86_64-xen.config.tmp<BR>
+ for i in 'kernel-2.6.18-x86_64*.config'<BR>
+ mv kernel-2.6.18-x86_64.config kernel-2.6.18-x86_64.config.tmp<BR>
+ /home/rpmbuild/SOURCES/merge.pl /home/rpmbuild/SOURCES/config-rhel-generic kernel-2.6.18-x86_64.config.tmp<BR>
+ rm kernel-2.6.18-x86_64.config.tmp<BR>
+ rm -f kernel-2.6.18-i686-kdump.config kernel-2.6.18-x86_64-kdump.config<BR>
+ rm -f kernel-2.6.18-i586.config<BR>
+ rm -f kernel-2.6.18-x86_64-debug.config<BR>
+ for i in '*.config'<BR>
+ mv kernel-2.6.18-x86_64-xen.config .config<BR>
++ head -1 .config<BR>
++ cut -b 3-<BR>
+ Arch=x86_64<BR>
+ make ARCH=x86_64 nonint_oldconfig<BR>
+ echo '# x86_64'<BR>
+ cat .config<BR>
+ for i in '*.config'<BR>
+ mv kernel-2.6.18-x86_64.config .config<BR>
++ head -1 .config<BR>
++ cut -b 3-<BR>
+ Arch=x86_64<BR>
+ make ARCH=x86_64 nonint_oldconfig<BR>
CONFIG_MAX_RAW_DEVS<BR>
make[1]: *** [nonint_oldconfig] Error 1<BR>
make: *** [nonint_oldconfig] Error 2<BR>
error: Bad exit status from /var/tmp/rpm-tmp.53835 (%prep)<BR>
<BR>
<BR>
RPM build errors:<BR>
Bad exit status from /var/tmp/rpm-tmp.53835 (%prep)<BR>
<BR>
<BR>
Was there something I needed to tweak in the spec file, other than the build id and a few of the build switches I usually turn off (xen, debug, kdump)?<BR>
<BR>
Thanks.<BR>
<BR>
mhr<BR>
<BR>
</BODY>
</HTML>