There are no sanity check for /usr/bin/bc command. It occurs when compiling oe-core with meta-xilinx on system without bc package. Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 8 uImage CC=arm-oe-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-oe-linux-gnueabi-ld.bfd UIMAGE_LOADADDR=0x8000 | CHK include/config/kernel.release | CHK include/generated/uapi/linux/version.h | CHK include/generated/utsrelease.h | make[1]: `include/generated/mach-types.h' is up to date. | CALL scripts/checksyscalls.sh | CHK include/generated/compile.h | BC kernel/timeconst.h | /bin/sh: 1: bc: not found | make[1]: *** [kernel/timeconst.h] Error 127 | make: *** [kernel] Error 2 | make: *** Waiting for unfinished jobs.... | make: *** wait: No child processes. Stop. | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/xlnx/oe-core/build/tmp-glibc/work/zedboard_zynq7-oe-linux-gnueabi/linux-xlnx/3.14-xilinx+git2b48a8aeea7367359f9eebe55c4a09a05227f32b-r0/temp/log.do_compile.23077)
We provide bc-native to resolve this in the core, but it appears for whatever reason that this was added to linux-yocto.inc rather than kernel.bbclass. Bruce, should we be moving the DEPENDS?
We can safely remove the DEPENDS. At the time we were only seeing this on linux-yocto builds, so the change was kept focused to avoid breaking any other builds.
I assume you mean "move" rather than "remove"?
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ff89dfb570ea730c9508b3fb5179a9acdc3f119a