[opensuse-kernel] rpmbuild failure for kernel 3.1.9-1.4.1
Hi all, I installed opensuse 12.1 and want to build a kernel from source package. I get the source by: zypper source-install kernel-source kernel-default After that, I tried to build with command: rpmbuild -bb kernel-default.spec The build failed after a long time compiling (seems in the INSTALL stage) with the following error: ====== + /usr/src/packages/SOURCES/check-supported-list /usr/src/packages/SOURCES /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default Modules not listed in supported.conf: kernel/arch/x86/crypto/crc32c-intel ... ... many lines... ... kernel/sound/usb/misc/snd-ua101 + echo 'Consistency check error: please update supported.conf.' Consistency check error: please update supported.conf. + mkdir -p /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/usr/src/linux-3.1.9-1.4.1-obj/x86_64/default + cp Module.symvers /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/usr/src/linux-3.1.9-1.4.1-obj/x86_64/default + /usr/src/packages/SOURCES/modversions --pack . + '[' -s /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/boot/symtypes-3.1.9-1.4.1-default ']' + gzip -n -9 /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/boot/symtypes-3.1.9-1.4.1-default + '[' '!' -e /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/usr/src/linux-3.1.9-1.4.1-obj/x86_64 ']' + rm -f /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/source /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/build + ln -s /usr/src/linux-3.1.9-1.4.1 /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/source + ln -s /usr/src/linux-3.1.9-1.4.1-obj/x86_64/default /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/build ++ /sbin/depmod -F /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/boot/System.map-3.1.9-1.4.1-default -b /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64 -ae 3.1.9-1.4.1-default + msg= + '[' 0 -ne 0 ']' + echo '' + grep 'needs unknown symbol' + /usr/src/packages/SOURCES/split-modules -d /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64 -o /usr/src/packages/BUILD/kernel-default-3.1.9 -b /usr/src/packages/BUILD/kernel-default-3.1.9/linux-obj/Module.base -i -s /usr/src/packages/BUILD/kernel-default-3.1.9/linux-obj/Module.supported join: /tmp/tmp.PoFacxZeyx/all:21: is not sorted: abituguru /lib/modules/3.1.9-1.4.1-default/kernel/drivers/hwmon/abituguru.ko error: Bad exit status from /var/tmp/rpm-tmp.kMakJ7 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kMakJ7 (%install) ====== And this same error also shows up if I use the git://kernel.opensuse.org/kernel-source.git code. Am I doing sth wrong ? What should I do to make a proper binary build? Please help. Thanks, Nai Xia -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On 04/19/2012 09:06 AM, nai.xia wrote:
Hi all,
I installed opensuse 12.1 and want to build a kernel from source package. I get the source by: zypper source-install kernel-source kernel-default
After that, I tried to build with command: rpmbuild -bb kernel-default.spec
Does it work if you do LC_ALL=C rpmbuild... ? I expect this is a localization issue. -Jeff
The build failed after a long time compiling (seems in the INSTALL stage) with the following error:
====== + /usr/src/packages/SOURCES/check-supported-list /usr/src/packages/SOURCES /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default
Modules not listed in supported.conf: kernel/arch/x86/crypto/crc32c-intel ... ... many lines... ... kernel/sound/usb/misc/snd-ua101 + echo 'Consistency check error: please update supported.conf.' Consistency check error: please update supported.conf. + mkdir -p /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/usr/src/linux-3.1.9-1.4.1-obj/x86_64/default
+ cp Module.symvers /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/usr/src/linux-3.1.9-1.4.1-obj/x86_64/default
+ /usr/src/packages/SOURCES/modversions --pack . + '[' -s /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/boot/symtypes-3.1.9-1.4.1-default ']' + gzip -n -9 /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/boot/symtypes-3.1.9-1.4.1-default
+ '[' '!' -e /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/usr/src/linux-3.1.9-1.4.1-obj/x86_64 ']' + rm -f /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/source /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/build
+ ln -s /usr/src/linux-3.1.9-1.4.1 /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/source
+ ln -s /usr/src/linux-3.1.9-1.4.1-obj/x86_64/default /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/lib/modules/3.1.9-1.4.1-default/build
++ /sbin/depmod -F /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64/boot/System.map-3.1.9-1.4.1-default -b /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64 -ae 3.1.9-1.4.1-default + msg= + '[' 0 -ne 0 ']' + echo '' + grep 'needs unknown symbol' + /usr/src/packages/SOURCES/split-modules -d /usr/src/packages/BUILDROOT/kernel-default-3.1.9-1.4.1.x86_64 -o /usr/src/packages/BUILD/kernel-default-3.1.9 -b /usr/src/packages/BUILD/kernel-default-3.1.9/linux-obj/Module.base -i -s /usr/src/packages/BUILD/kernel-default-3.1.9/linux-obj/Module.supported join: /tmp/tmp.PoFacxZeyx/all:21: is not sorted: abituguru /lib/modules/3.1.9-1.4.1-default/kernel/drivers/hwmon/abituguru.ko error: Bad exit status from /var/tmp/rpm-tmp.kMakJ7 (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kMakJ7 (%install) ======
And this same error also shows up if I use the git://kernel.opensuse.org/kernel-source.git code.
Am I doing sth wrong ? What should I do to make a proper binary build? Please help.
Thanks,
Nai Xia
-- Jeff Mahoney SuSE Labs -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Jeff Mahoney
-
nai.xia