[MeeGo-dev] Rebuild moblin kernel in Fedora 12 failure
leo liang
leoliang9 at gmail.com
Fri Feb 26 19:54:39 CST 2010
I tried to customize the moblin kernel (kernel-2.6.30.3-4.1.moblin2.src.rpm),
but always failure at applying patch.
First, I install the source rpm. Then get into rpmbuild/SPEC, and run
"rpmbuild -bp --target=i686 kernel.spec".
The out put is:
[leo at localhost SPECS]$ rpmbuild -bp --target=i686
kernel-2.6.30.3-moblin.spec
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v07PZd
+ umask 022
+ cd /home/xqliang/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' '!' -d kernel-2.6.30/vanilla-2.6.30.3 ']'
+ rm -f pax_global_header
+ cd /home/xqliang/rpmbuild/BUILD
+ rm -rf kernel-2.6.30
+ /bin/mkdir -p kernel-2.6.30
+ cd kernel-2.6.30
+ /usr/bin/bzip2 -dc /home/xqliang/rpmbuild/SOURCES/linux-2.6.30.tar.bz2
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mv linux-2.6.30 vanilla-2.6.30.3
+ cd vanilla-2.6.30.3
+ echo 'Patch #1 (patch-2.6.30.3.bz2):'
Patch #1 (patch-2.6.30.3.bz2):
+ /usr/bin/bzip2 -dc /home/xqliang/rpmbuild/SOURCES/patch-2.6.30.3.bz2
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #2 (linux-2.6-build-nonintconfig.patch):'
Patch #2 (linux-2.6-build-nonintconfig.patch):
+ /bin/cat /home/xqliang/rpmbuild/SOURCES/linux-2.6-build-nonintconfig.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #3
(0001-iwlwifi-merge-and-better-support-of-suspend-resume.patch):'
Patch #3 (0001-iwlwifi-merge-and-better-support-of-suspend-resume.patch):
+ /bin/cat
/home/xqliang/rpmbuild/SOURCES/0001-iwlwifi-merge-and-better-support-of-suspend-resume.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #4 (0002-iwl3945-use-iwl_mac_conf_tx.patch):'
Patch #4 (0002-iwl3945-use-iwl_mac_conf_tx.patch):
+ /bin/cat
/home/xqliang/rpmbuild/SOURCES/0002-iwl3945-use-iwl_mac_conf_tx.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #5
(0003-iwlwifi-adding-interrupt-counter-in-debugfs-for-deb.patch):'
Patch #5 (0003-iwlwifi-adding-interrupt-counter-in-debugfs-for-deb.patch):
+ /bin/cat
/home/xqliang/rpmbuild/SOURCES/0003-iwlwifi-adding-interrupt-counter-in-debugfs-for-deb.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #6 (0004-iwlwifi-support-NVM-access-EEPROM-OTP.patch):'
Patch #6 (0004-iwlwifi-support-NVM-access-EEPROM-OTP.patch):
+ /bin/cat
/home/xqliang/rpmbuild/SOURCES/0004-iwlwifi-support-NVM-access-EEPROM-OTP.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #7 (0005-iwlcore-register-locks.patch):'
Patch #7 (0005-iwlcore-register-locks.patch):
+ /bin/cat /home/xqliang/rpmbuild/SOURCES/0005-iwlcore-register-locks.patch
+ /usr/bin/patch -s -p1 --fuzz=0
3 out of 19 hunks FAILED -- saving rejects to file
drivers/net/wireless/iwlwifi/iwl3945-base.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.v07PZd (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.v07PZd (%prep)
I tried to rebuild CentOS 5.4 kernel, they have the same problem, just with
different files.
I tried in CentOS 5.4, there is no problem with both kernels.
Does any one know why?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.meego.com/pipermail/meego-dev/attachments/20100226/b0aef428/attachment.html>
More information about the MeeGo-dev
mailing list