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:

Patch #99990 (linux-2.6-rhel-version-h.patch):
+ patch -p1 -s
+ perl -p -i -e 's/^SUBLEVEL.*/SUBLEVEL = 18/' Makefile
+ perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -prep/' Makefile
+ perl -p -i -e 's/^RHEL_MAJOR.*/RHEL_MAJOR = 5/' Makefile
+ perl -p -i -e 's/^RHEL_MINOR.*/RHEL_MINOR = 2/' Makefile
+ cp /home/rpmbuild/SOURCES/COPYING.modules Documentation/
+ mkdir configs
+ for cfg in 'kernel-2.6.18-x86_64*.config'
+ 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 .
+ for i in 'kernel-2.6.18-x86_64*.config'
+ mv kernel-2.6.18-x86_64-debug.config
kernel-2.6.18-x86_64-debug.config.tmp
+ /home/rpmbuild/SOURCES/merge.pl /home/rpmbuild/SOURCES/config-rhel-generic 
kernel-2.6.18-x86_64-debug.config.tmp
+ rm kernel-2.6.18-x86_64-debug.config.tmp
+ for i in 'kernel-2.6.18-x86_64*.config'
+ mv kernel-2.6.18-x86_64-xen.config kernel-2.6.18-x86_64-xen.config.tmp
+ /home/rpmbuild/SOURCES/merge.pl /home/rpmbuild/SOURCES/config-rhel-generic 
kernel-2.6.18-x86_64-xen.config.tmp
+ rm kernel-2.6.18-x86_64-xen.config.tmp
+ for i in 'kernel-2.6.18-x86_64*.config'
+ mv kernel-2.6.18-x86_64.config kernel-2.6.18-x86_64.config.tmp
+ /home/rpmbuild/SOURCES/merge.pl /home/rpmbuild/SOURCES/config-rhel-generic 
kernel-2.6.18-x86_64.config.tmp
+ rm kernel-2.6.18-x86_64.config.tmp
+ rm -f kernel-2.6.18-i686-kdump.config
kernel-2.6.18-x86_64-kdump.config
+ rm -f kernel-2.6.18-i586.config
+ rm -f kernel-2.6.18-x86_64-debug.config
+ for i in '*.config'
+ mv kernel-2.6.18-x86_64-xen.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
+ echo '# x86_64'
+ cat .config
+ for i in '*.config'
+ mv kernel-2.6.18-x86_64.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
CONFIG_MAX_RAW_DEVS
make[1]: *** [nonint_oldconfig] Error 1
make: *** [nonint_oldconfig] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.53835 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.53835 (%prep)


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)?

Thanks.

mhr

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to