[poky] Adding new kernel to poky and compilation issues
srinivasan
srinivasan.rns at gmail.com
Tue Sep 4 17:24:45 PDT 2018
After changing from "*do_compile_ () {*" to "*do_compile() {*", in the
attached recipe file, Compilation started but got stuck "*/bin/sh: 1: bc:
not found*
*make[1]: *** [include/generated/timeconst.h] Error 127*
*make: *** [prepare0] Error 2*
*make: *** Waiting for unfinished jobs...."*
*Even I tried installing "*sudo apt-get install bc"* but still the same
issue as above, Kindly do the needful in resolving the above issue as am
stuck with the same issue from past 4 days*
*References:*
*1. Ubuntu version used 14.04*
*2. Poky Distro version*
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "2.5+snapshot-${DATE}"
*3.Logs:*
NOTE: Marking Active
Tasks############################################################
|
ETA: 0:00:00
NOTE: Pruned 509 inactive tasks, 322
left##############################################
| ETA: 0:00:00
NOTE: Assign Weightings
NOTE: Compute totals (have 1
endpoint(s))##############################################
| ETA:
0:00:00
Initialising tasks: 100%
|###############################################################################################################################################|
Time: 0:00:00
Sstate summary: Wanted 6 Found 1 Missed 5 Current 38 (16% match, 88%
complete)
NOTE: Executing SetScene Tasks
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/sstate-install-populate_lic/
+ sstate_unpack_package
+ tar -xvzf
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
license-destdir/
license-destdir/linux-srini/
license-destdir/linux-srini/recipeinfo
license-destdir/linux-srini/generic_GPLv2
license-destdir/linux-srini/COPYING
+ [ -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ [ -h
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ [ ! -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
]
+ touch --no-dereference
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
+ [ ! -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.sig
]
+ [ ! -w
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ [ ! -e
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
]
+ touch --no-dereference
/home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
+ ret=0
+ trap 0
+ exit 0
NOTE: Executing RunQueue Tasks
NOTE: linux-srini-4.14-r1 do_fetch: Direct dependencies are []
NOTE: linux-srini-4.14-r1 do_fetch: Installed into sysroot: []
NOTE: linux-srini-4.14-r1 do_fetch: Skipping as already exists in sysroot:
[]
NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Direct dependencies
are
['/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot',
'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot',
'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/automake/automake_1.16.1.bb:
do_populate_sysroot']
NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Installed into
sysroot: ['libtool-native', 'gnu-config-native', 'autoconf-native',
'automake-native', 'texinfo-dummy-native', 'quilt-native', 'm4-native']
NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Skipping as already
exists in sysroot: []
NOTE: linux-srini-4.14-r1 do_patch: Direct dependencies are
['/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:
do_populate_sysroot']
NOTE: linux-srini-4.14-r1 do_patch: Installed into sysroot: []
NOTE: linux-srini-4.14-r1 do_patch: Skipping as already exists in sysroot:
['quilt-native']
+ autotools_preconfigure
+ [ -n
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
-a -e
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
]
+ ret=0
+ trap 0
+ exit 0
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
+ do_configure
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git
+ git checkout bebc6082da0a9f5d47a1ea2edc099bf671058bd4
Note: checking out 'bebc6082da0a9f5d47a1ea2edc099bf671058bd4'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at bebc608... Linux 4.14
+ sleep 5
+ [ -n x86_64_defconfig ]
+ [ -f
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
]
+ [ -f
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/defconfig
]
+ cp -f
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/defconfig
+ cp -f
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/defconfig
+ cp -f
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/.config
+
sccs=/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/defconfig
+ ret=0
+ trap 0
+ exit 0
NOTE: linux-srini-4.14-r1 do_configure: Checking autotools environment for
common misconfiguration
NOTE: linux-srini-4.14-r1 do_configure: Checking configure output for
unrecognised options
+ autotools_postconfigure
+ [ -n
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
]
+ dirname
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
+ mkdir -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1
+ echo fb691e35d382f04effc1c80328f97ff7
+ ret=0
+ trap 0
+ exit 0
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
+ do_compile
+ cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git
NOTE: linux-srini-4.14-r1 do_compile: make -j 4 mrproper
+ oe_runmake mrproper
+ oe_runmake_call mrproper
+ bbnote make -j 4 mrproper
+ [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbnote make -j 4 mrproper
+ make -j 4 mrproper
CLEAN .config
+ oe_runmake defconfig
+ oe_runmake_call defconfig
+ bbnote make -j 4 defconfig
NOTE: linux-srini-4.14-r1 do_compile: make -j 4 defconfig
+ [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbnote make -j 4 defconfig
+ make -j 4 defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'x86_64_defconfig'
#
# configuration written to .config
#
+ oe_runmake
+ oe_runmake_call
+ bbnote make -j 4
+ [ -p
NOTE: linux-srini-4.14-r1 do_compile: make -j 4
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbnote make -j 4
+ make -j 4
scripts/kconfig/conf --silentoldconfig Kconfig
SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h
SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h
CHK include/config/kernel.release
SYSTBL arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h
SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
CHK include/generated/uapi/linux/version.h
UPD include/generated/uapi/linux/version.h
UPD include/config/kernel.release
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
WRAP arch/x86/include/generated/asm/clkdev.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
HOSTLD arch/x86/tools/relocs
CC scripts/mod/devicetable-offsets.s
MKELF scripts/mod/elfconfig.h
CHK scripts/mod/devicetable-offsets.h
UPD scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
CC kernel/bounds.s
HOSTCC scripts/kallsyms
HOSTCC scripts/mod/modpost.o
CHK include/generated/timeconst.h
*/bin/sh: 1: bc: not found*
*make[1]: *** [include/generated/timeconst.h] Error 127*
*make: *** [prepare0] Error 2*
*make: *** Waiting for unfinished jobs....*
HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/sortextable
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
+ die oe_runmake failed
+ bbfatal_log oe_runmake failed
+ [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
+ printf %b\0 bbfatal_log oe_runmake failed
+ exit 1
+ bb_exit_handler
+ ret=1
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1
*ERROR: linux-srini-4.14-r1 do_compile: oe_runmake failed*
*ERROR: linux-srini-4.14-r1 do_compile: Function failed: do_compile (log
file is located at
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/log.do_compile.7174)*
*ERROR: Logfile of failure stored in:
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/log.do_compile.7174*
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
'common-linux', 'common-glibc', 'i586-linux', 'common']
| DEBUG: Executing shell function do_compile
| + cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
| + do_compile
| + cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git
|
| + cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
| + do_compile
| + cd
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git
| NOTE: make -j 4 mrproper
| + oe_runmake mrproper
| + oe_runmake_call mrproper
| + bbnote make -j 4 mrproper
| + [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbnote make -j 4 mrproper
| + make -j 4 mrproper
|
| + oe_runmake mrproper
| + oe_runmake_call mrproper
| + bbnote make -j 4 mrproper
| + [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbnote make -j 4 mrproper
| + make -j 4 mrproper
| CLEAN .config
|
| CLEAN .config
| + oe_runmake defconfig
| + oe_runmake_call defconfig
| + bbnote make -j 4 defconfig
|
| + oe_runmake defconfig
| + oe_runmake_call defconfig
| + bbnote make -j 4 defconfig
| NOTE: make -j 4 defconfig
| + [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbnote make -j 4 defconfig
| + make -j 4 defconfig
|
| + [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbnote make -j 4 defconfig
| + make -j 4 defconfig
| HOSTCC scripts/basic/fixdep
|
| HOSTCC scripts/basic/fixdep
| HOSTCC scripts/kconfig/conf.o
|
| HOSTCC scripts/kconfig/conf.o
| SHIPPED scripts/kconfig/zconf.tab.c
|
| SHIPPED scripts/kconfig/zconf.tab.c
| SHIPPED scripts/kconfig/zconf.lex.c
|
| SHIPPED scripts/kconfig/zconf.lex.c
| HOSTCC scripts/kconfig/zconf.tab.o
|
| HOSTCC scripts/kconfig/zconf.tab.o
| HOSTLD scripts/kconfig/conf
|
| HOSTLD scripts/kconfig/conf
| *** Default configuration is based on 'x86_64_defconfig'
|
| *** Default configuration is based on 'x86_64_defconfig'
| #
| # configuration written to .config
| #
|
| #
| # configuration written to .config
| #
| + oe_runmake
| + oe_runmake_call
| + bbnote make -j 4
| + [ -p
| + oe_runmake
| + oe_runmake_call
| + bbnote make -j 4
| + [ -pNOTE: make -j 4
|
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbnote make -j 4
| + make -j 4
|
|
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbnote make -j 4
| + make -j 4
| scripts/kconfig/conf --silentoldconfig Kconfig
|
| scripts/kconfig/conf --silentoldconfig Kconfig
| SYSTBL
arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
|
| SYSTBL
arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h
|
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_32_ia32.h
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h
|
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/asm/unistd_64_x32.h
| CHK include/config/kernel.release
|
| CHK include/config/kernel.release
| SYSTBL
arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h
|
| SYSTBL
arch/x86/entry/syscalls/../../include/generated/asm/syscalls_64.h
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
|
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_32.h
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
|
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_64.h
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
|
| SYSHDR
arch/x86/entry/syscalls/../../include/generated/uapi/asm/unistd_x32.h
| CHK include/generated/uapi/linux/version.h
|
| CHK include/generated/uapi/linux/version.h
| UPD include/generated/uapi/linux/version.h
|
| UPD include/generated/uapi/linux/version.h
| UPD include/config/kernel.release
|
| UPD include/config/kernel.release
| HOSTCC arch/x86/tools/relocs_32.o
|
| HOSTCC arch/x86/tools/relocs_32.o
| HOSTCC arch/x86/tools/relocs_64.o
|
| HOSTCC arch/x86/tools/relocs_64.o
| HOSTCC arch/x86/tools/relocs_common.o
|
| HOSTCC arch/x86/tools/relocs_common.o
| WRAP arch/x86/include/generated/asm/clkdev.h
|
| WRAP arch/x86/include/generated/asm/clkdev.h
| WRAP arch/x86/include/generated/asm/dma-contiguous.h
|
| WRAP arch/x86/include/generated/asm/dma-contiguous.h
| WRAP arch/x86/include/generated/asm/early_ioremap.h
|
| WRAP arch/x86/include/generated/asm/early_ioremap.h
| WRAP arch/x86/include/generated/asm/mcs_spinlock.h
|
| WRAP arch/x86/include/generated/asm/mcs_spinlock.h
| WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
|
| WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
| CHK include/generated/utsrelease.h
|
| CHK include/generated/utsrelease.h
| UPD include/generated/utsrelease.h
|
| UPD include/generated/utsrelease.h
| CC scripts/mod/empty.o
|
| CC scripts/mod/empty.o
| HOSTCC scripts/mod/mk_elfconfig
|
| HOSTCC scripts/mod/mk_elfconfig
| HOSTLD arch/x86/tools/relocs
|
| HOSTLD arch/x86/tools/relocs
| CC scripts/mod/devicetable-offsets.s
|
| CC scripts/mod/devicetable-offsets.s
| MKELF scripts/mod/elfconfig.h
|
| MKELF scripts/mod/elfconfig.h
| CHK scripts/mod/devicetable-offsets.h
|
| CHK scripts/mod/devicetable-offsets.h
| UPD scripts/mod/devicetable-offsets.h
|
| UPD scripts/mod/devicetable-offsets.h
| HOSTCC scripts/mod/sumversion.o
|
| HOSTCC scripts/mod/sumversion.o
| HOSTCC scripts/selinux/genheaders/genheaders
|
| HOSTCC scripts/selinux/genheaders/genheaders
| HOSTCC scripts/selinux/mdp/mdp
|
| HOSTCC scripts/selinux/mdp/mdp
| CC kernel/bounds.s
|
| CC kernel/bounds.s
| HOSTCC scripts/kallsyms
|
| HOSTCC scripts/kallsyms
| HOSTCC scripts/mod/modpost.o
|
| HOSTCC scripts/mod/modpost.o
| CHK include/generated/timeconst.h
|
| CHK include/generated/timeconst.h
*| /bin/sh: 1: bc: not found*
*| *
*| /bin/sh: 1: bc: not found*
*| make[1]: *** [include/generated/timeconst.h] Error 127*
*| make: *** [prepare0] Error 2*
*| make: *** Waiting for unfinished jobs....*
*| *
*| make[1]: *** [include/generated/timeconst.h] Error 127*
*| make: *** [prepare0] Error 2*
*| make: *** Waiting for unfinished jobs....*
| HOSTCC scripts/pnmtologo
|
| HOSTCC scripts/pnmtologo
| HOSTCC scripts/conmakehash
|
| HOSTCC scripts/conmakehash
| HOSTCC scripts/sortextable
|
| HOSTCC scripts/sortextable
| HOSTCC scripts/mod/file2alias.o
|
| HOSTCC scripts/mod/file2alias.o
| HOSTLD scripts/mod/modpost
|
| HOSTLD scripts/mod/modpost
| + die oe_runmake failed
| + bbfatal_log oe_runmake failed
| + [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbfatal_log oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
|
| + die oe_runmake failed
| + bbfatal_log oe_runmake failed
| + [ -p
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.7174
]
| + printf %b\0 bbfatal_log oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
*| ERROR: oe_runmake failed*
*| ERROR: Function failed: do_compile (log file is located at
/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/log.do_compile.7174)*
*ERROR: Task
(/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-kernel/linux/linux-srini_4.14.bb:do_compile)
failed with exit code '1'*
*NOTE: Tasks Summary: Attempted 312 tasks of which 306 didn't need to be
rerun and 1 failed.*
Summary: 1 task failed:
/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-kernel/linux/linux-srini_4.14.bb:
do_compile
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
srinivasan at srinivasan-UX305UA:~/yocto_session_ws_2/build$
On Wed, Sep 5, 2018 at 5:11 AM srinivasan <srinivasan.rns at gmail.com> wrote:
> Dear Technical team,
>
> As am newbie to poky/yocto build system, I am facing the issue with the
> error log shown below, in adding the new kernel "
> git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" with the
> branch "KBRANCH = "v4.14", I have built for "qemux86"
>
> Could you please do the needful in resolving the below error and get my
> kernel get successfully compiled, as am stuck with this from past few days
>
> *1. Ubuntu version used 14.04*
>
> *2. Poky Distro version*
>
> DISTRO = "poky"
> DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
> DISTRO_VERSION = "2.5+snapshot-${DATE}"
>
> *3.Recipe file is attached.*
>
> *4. Logs*
> :~/yocto_session_ws_2/build$ bitbake virtual/kernel -v
> WARNING: Host distribution "ubuntu-14.04" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> Loading cache: 100%
> |###################################################################################################################################################|
> Time: 0:00:00
> Loaded 1266 entries from dependency cache.
> NOTE: selecting linux-srini to satisfy virtual/kernel due to
> PREFERRED_PROVIDERS
> NOTE: Resolving any missing task queue dependencies
> NOTE: selecting binutils-cross-i586 to satisfy
> virtual/i586-poky-linux-binutils due to PREFERRED_PROVIDERS
> NOTE: selecting pseudo-native to satisfy virtual/fakeroot-native due to
> PREFERRED_PROVIDERS
> NOTE: selecting linux-srini to satisfy runtime linux-srini due to
> PREFERRED_PROVIDER_virtual/kernel = linux-srini
> NOTE: selecting linux-srini to satisfy runtime linux-srini-dev due to
> PREFERRED_PROVIDER_virtual/kernel = linux-srini
> NOTE: selecting openssl-native to satisfy openssl-native due to
> PREFERRED_PROVIDERS
> NOTE: selecting pkgconfig-native to satisfy pkgconfig-native due to
> PREFERRED_PROVIDERS
>
> Build Configuration:
> BB_VERSION = "1.39.1"
> BUILD_SYS = "x86_64-linux"
> NATIVELSBSTRING = "universal-4.8"
> TARGET_SYS = "i586-poky-linux"
> MACHINE = "qemux86"
> DISTRO = "poky"
> DISTRO_VERSION = "2.5+snapshot-20180904"
> TUNE_FEATURES = "m32 i586"
> TARGET_FPU = ""
> meta
> meta-poky
> meta-yocto-bsp = "master:4434777705cf49300a7d2c9ca8fa3080d551d795"
>
> NOTE: Marking Active
> Tasks############################################################
> |
> ETA: 0:00:00
> NOTE: Pruned 509 inactive tasks, 322
> left##############################################
> | ETA: 0:00:00
> NOTE: Assign Weightings
> NOTE: Compute totals (have 1
> endpoint(s))##############################################
> | ETA:
> 0:00:00
> Initialising tasks: 100%
> |###############################################################################################################################################|
> Time: 0:00:00
> Sstate summary: Wanted 6 Found 1 Missed 5 Current 38 (16% match, 88%
> complete)
> NOTE: Executing SetScene Tasks
> + cd
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/sstate-install-populate_lic/
> + sstate_unpack_package
> + tar -xvzf
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
>
> license-destdir/
>
> license-destdir/linux-srini/
> license-destdir/linux-srini/recipeinfo
> license-destdir/linux-srini/generic_GPLv2
> license-destdir/linux-srini/COPYING
>
> + [ -w
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
> ]
>
> + [ -h
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
> ]
> + [ ! -w
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
> ]
> + touch --no-dereference
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz
>
> + [ ! -w
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.sig
> ]
>
> + [ ! -w
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
> ]
> + [ ! -e
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
> ]
> + touch --no-dereference
> /home/srinivasan/yocto_session_ws_2/build/sstate-cache/7f/sstate:linux-srini::4.14:r1::3:7ffa068910d303281a8c5c13f8661ae6_populate_lic.tgz.siginfo
>
> + ret=0
> + trap 0
> + exit 0
>
> NOTE: Executing RunQueue Tasks
> NOTE: linux-srini-4.14-r1 do_fetch: Direct dependencies are []
> NOTE: linux-srini-4.14-r1 do_fetch: Installed into sysroot: []
> NOTE: linux-srini-4.14-r1 do_fetch: Skipping as already exists in sysroot:
> []
> NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Direct dependencies
> are
> ['virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/automake/automake_1.16.1.bb:do_populate_sysroot',
> '/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot',
> 'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot',
> 'virtual:native:/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:
> do_populate_sysroot']
> NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Installed into
> sysroot: ['automake-native', 'libtool-native', 'gnu-config-native',
> 'autoconf-native', 'quilt-native', 'm4-native', 'texinfo-dummy-native']
> NOTE: linux-srini-4.14-r1 do_prepare_recipe_sysroot: Skipping as already
> exists in sysroot: []
> NOTE: linux-srini-4.14-r1 do_patch: Direct dependencies are
> ['/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:
> do_populate_sysroot']
> NOTE: linux-srini-4.14-r1 do_patch: Installed into sysroot: []
> NOTE: linux-srini-4.14-r1 do_patch: Skipping as already exists in sysroot:
> ['quilt-native']
> + autotools_preconfigure
> + [ -n
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
> -a -e
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
> ]
> + ret=0
> + trap 0
> + exit 0
>
> + cd
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
> + do_configure
> + cd
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git
> + git checkout bebc6082da0a9f5d47a1ea2edc099bf671058bd4
>
> Note: checking out 'bebc6082da0a9f5d47a1ea2edc099bf671058bd4'.
>
> You are in 'detached HEAD' state. You can look around, make experimental
> changes and commit them, and you can discard any commits you make in this
> state without impacting any branches by performing another checkout.
>
> If you want to create a new branch to retain commits you create, you may
> do so (now or later) by using -b with the checkout command again. Example:
>
> git checkout -b new_branch_name
>
>
> HEAD is now at bebc608... Linux 4.14
>
> + sleep 5
>
> + [ -n x86_64_defconfig ]
> + [ -f
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
> ]
> + [ -f
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/defconfig
> ]
> + cp -f
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/defconfig
>
> + cp -f
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/defconfig
>
> + cp -f
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/arch/x86/configs/x86_64_defconfig
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/git/.config
>
> +
> sccs=/home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/defconfig
> + ret=0
> + trap 0
> + exit 0
>
> NOTE: linux-srini-4.14-r1 do_configure: Checking autotools environment for
> common misconfiguration
> NOTE: linux-srini-4.14-r1 do_configure: Checking configure output for
> unrecognised options
> + autotools_postconfigure
> + [ -n
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
> ]
>
> + dirname
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/configure.sstate
>
> + mkdir -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1
>
> + echo fb691e35d382f04effc1c80328f97ff7
>
> + ret=0
> + trap 0
> + exit 0
>
> + cd
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
> + do_compile
> + autotools_do_compile
> + oe_runmake
> + oe_runmake_call
> + bbnote make -j 4
> + [ -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.4343
> ]
>
> NOTE: linux-srini-4.14-r1 do_compile: make -j 4
> + printf %b\0 bbnote make -j 4
> + make -j 4
>
> *make: *** No targets specified and no makefile found. Stop.*
>
> *ERROR: linux-srini-4.14-r1 do_compile: oe_runmake failed*
> *+ die oe_runmake failed*
> *+ bbfatal_log oe_runmake failed*
> + [ -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.4343
> ]
> + printf %b\0 bbfatal_log oe_runmake failed
> + exit 1
> + bb_exit_handler
> + ret=1
> + echo WARNING: exit code 1 from a shell command.
> WARNING: exit code 1 from a shell command.
> + exit 1
>
> *ERROR: linux-srini-4.14-r1 do_compile: Function failed: do_compile (log
> file is located at
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/log.do_compile.4343)*
> *ERROR: Logfile of failure stored in:
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/log.do_compile.4343*
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
> 'common-linux', 'common-glibc', 'i586-linux', 'common']
> | DEBUG: Executing shell function do_compile
> | + cd
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
> | + do_compile
> | + autotools_do_compile
> | + oe_runmake
> | + oe_runmake_call
> | + bbnote make -j 4
> | + [ -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.4343
> ]
> |
> | + cd
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/build
> | + do_compile
> | + autotools_do_compile
> | + oe_runmake
> | + oe_runmake_call
> | + bbnote make -j 4
> | + [ -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.4343
> ]
> | NOTE: make -j 4
> | + printf %b\0 bbnote make -j 4
> | + make -j 4
> |
> | + printf %b\0 bbnote make -j 4
> | + make -j 4
> | make: *** No targets specified and no makefile found. Stop.
> |
> | make: *** No targets specified and no makefile found. Stop.
> | ERROR: oe_runmake failed
> | + die oe_runmake failed
> | + bbfatal_log oe_runmake failed
> | + [ -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.4343
> ]
> | + printf %b\0 bbfatal_log oe_runmake failed
> | + exit 1
> | + bb_exit_handler
> | + ret=1
> | + echo WARNING: exit code 1 from a shell command.
> | WARNING: exit code 1 from a shell command.
> | + exit 1
> |
> | + die oe_runmake failed
> | + bbfatal_log oe_runmake failed
> | + [ -p
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/fifo.4343
> ]
> | + printf %b\0 bbfatal_log oe_runmake failed
> | + exit 1
> | + bb_exit_handler
> | + ret=1
> | + echo WARNING: exit code 1 from a shell command.
> | WARNING: exit code 1 from a shell command.
> | + exit 1
> *| ERROR: Function failed: do_compile (log file is located at
> /home/srinivasan/yocto_session_ws_2/build/tmp/work/i586-poky-linux/linux-srini/4.14-r1/temp/log.do_compile.4343)*
> *ERROR: Task
> (/home/srinivasan/yocto_session_ws_2/poky/meta/recipes-kernel/linux/linux-srini_4.14.bb:do_compile)
> failed with exit code '1'*
> *NOTE: Tasks Summary: Attempted 312 tasks of which 306 didn't need to be
> rerun and 1 failed.*
>
> Summary: 1 task failed:
>
> /home/srinivasan/yocto_session_ws_2/poky/meta/recipes-kernel/linux/linux-srini_4.14.bb:
> do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
> srinivasan at srinivasan-UX305UA:~/yocto_session_ws_2/build$
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20180905/2a5fd25e/attachment-0001.html>
More information about the poky
mailing list