Hi
Iam trying to build Tizen kernel source code and below is the error iam getting while building
Tizen-SourceCode_2.2/kernel/linux-3.0$ sudo gbs build -A armv7l --include-all
info: generate repositories ...
info: start building packages from: /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/kernel/linux-3.0 (git)
2014-01-17 17:27 +0530
info: prepare sources...
info: start export source from: /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/kernel/linux-3.0/ ...
info: the following uncommitted changes would be included:
drivers/media/video/samsung/mali/arch
drivers/media/video/samsung/mali_r3p0/arch
drivers/media/video/samsung/ump/arch
include/asm
info: Creating (native) source archive linux-3.0.15.tar.gz from '92ed2394068dbd3c0fc721071273d793e1d381e8'
info: package files have been exported to:
/home/mobisecd004/GBS-ROOT/local/sources/tizen2.2/linux-3.0.15-1
info: retrieving repo metadata...
info: parsing package data...
info: building repo metadata ...
info: package dependency resolving ...
info: next pass:
linux
info: *** [1/1] building linux-3.0.15-1 armv7l tizen2.2 (worker: 0) ***
VM_IMAGE: , VM_SWAP:
--repository /home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/RPMS --repository /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/pre-built/toolchain-arm/ --repository /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/pre-built/toolchain-x86/
logging output to /home/mobisecd004/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/.build.log...
[ 0s] Memory limit set to 31749416KB
[ 0s] Using BUILD_ROOT=/home/mobisecd004/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0
[ 0s] Using BUILD_ARCH=armv7l:armv7el:armv6l:armv5tejl:armv5tel:armv5l:armv4tl:armv4l:armv3l:noarch
[ 0s]
[ 0s]
[ 0s] mobisecd004-Precision-T3600 started "build linux.spec" at Fri Jan 17 11:57:45 UTC 2014.
[ 0s]
[ 0s]
[ 0s] processing specfile /home/mobisecd004/GBS-ROOT/local/sources/tizen2.2/linux-3.0.15-1/linux.spec ...
[ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /home/mobisecd004/GBS-ROOT/local/cache --repository /home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/RPMS --repository /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/pre-built/toolchain-arm/ --repository /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/pre-built/toolchain-x86/ --use-system-qemu /home/mobisecd004/GBS-ROOT/local/sources/tizen2.2/linux-3.0.15-1/linux.spec ...
[ 0s] initializing /home/mobisecd004/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/.srcfiles.cache ...
[ 0s] /usr/lib/build/createrpmdeps /home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/RPMS
[ 0s] /usr/lib/build/createrepomddeps /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/pre-built/toolchain-arm/
[ 0s] /usr/lib/build/createrepomddeps /home/mobisecd004/Tizen_Project/Tizen-SourceCode_2.2/pre-built/toolchain-x86/
[ 0s] expanding package dependencies...
[ 0s] copying qemu
[ 1s]
[ 1s] registering binfmt handlers for VM
[ 1s] warning: /usr/lib/build/qemu-reg: line 7: interpreter '/usr/bin/qemu-arm64-binfmt' not found
[ 1s] write: Invalid argument
[ 1s] /proc/sys/fs/binfmt_misc/register: write failed
[ 1s] /usr/lib/build/qemu-reg: line 7: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P
[ 1s]
[ 1s] /.build/qemu-reg: No such file or directory
[ 1s] /.build/qemu-reg: failed. Trying alternate binfmt file
[ 1s] warning: /usr/lib/build/qemu-reg: line 7: interpreter '/usr/bin/qemu-arm64-binfmt' not found
[ 1s] write: Invalid argument
[ 1s] /proc/sys/fs/binfmt_misc/register: write failed
[ 1s] /usr/lib/build/qemu-reg: line 7: write failed. Content: :aarch64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/qemu-arm64-binfmt:P
[
[ 1s] cycle: ncurses-base -> ncurses -> ncurses-libs
[ 1s] breaking dependency ncurses-libs -> ncurses-base
[ 1s] cycle: perl -> perl-libs
[ 1s] breaking dependency perl -> perl-libs
[ 1s] cycle: perl -> perl-ExtUtils-MakeMaker -> perl-devel
[ 1s] breaking dependency perl -> perl-ExtUtils-MakeMaker
[ 1s] cycle: perl -> perl-IO-Compress-Zlib
[ 1s] breaking dependency perl -> perl-IO-Compress-Zlib
[ 1s] cycle: perl -> perl-IO-Compress-Base
[ 1s] breaking dependency perl -> perl-IO-Compress-Base
[ 1s] cycle: perl -> perl-Module-Pluggable
[ 1s] breaking dependency perl -> perl-Module-Pluggable
[ 1s] cycle: perl -> perl-Pod-Simple
[ 22s] HOSTCC scripts/basic/fixdep
[ 22s] HOSTCC scripts/unifdef
[ 22s] INSTALL include/asm-generic (34 files)
[ 24s] INSTALL include/drm (15 files)
[ 25s] INSTALL include/linux/byteorder (2 files)
[ 25s] INSTALL include/linux/caif (2 files)
[ 26s] INSTALL include/linux/can (4 files)
[ 26s] INSTALL include/linux/dvb (8 files)
[ 27s] INSTALL include/linux/hdlc (1 file)
[ 27s] INSTALL include/linux/isdn (1 file)
[ 27s] INSTALL include/linux/mmc (1 file)
[ 27s] INSTALL include/linux/netfilter/ipset (4 files)
[ 28s] make[3]: *** No rule to make target `/home/abuild/rpmbuild/BUILD/linux-3.0.15/include/linux/netfilter/xt_TCPMSS.h', needed by `/home/abuild/rpmbuild/BUILDROOT/linux-3.0.15-1.arm/usr/include/linux/netfilter/.install'. Stop.
[ 28s] make[2]: *** [netfilter] Error 2
[ 28s] make[1]: *** [linux] Error 2
[ 28s] make: *** [headers_install] Error 2
[ 28s] error: Bad exit status from /var/tmp/rpm-tmp.A3XG48 (%install)
[ 28s]
[ 28s]
[ 28s] RPM build errors:
[ 28s] Bad exit status from /var/tmp/rpm-tmp.A3XG48 (%install)
warning: build failed, Leaving the logs in /home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/linux-3.0.15-1/log.txt
info: *** Build Status Summary ***
=== the following packages failed to build due to rpmbuild issue (1) ===
linux: /home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/logs/fail/linux-3.0.15-1/log.txt
=== Total succeeded built packages: (0) ===
info: generated html format report:
/home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/index.html
info: generated RPM packages can be found from local repo:
/home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/RPMS
info: generated source RPM packages can be found from local repo:
/home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/SRPMS
info: build logs can be found in:
/home/mobisecd004/GBS-ROOT/local/repos/tizen2.2/armv7l/logs
info: build roots located in:
/home/mobisecd004/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.*
error: <gbs>some packages failed to be built
Can any body solve this error plz