[yocto] Build failure on kernel-devsrc

Adam Lee adam.yh.lee at gmail.com
Wed Jun 12 05:51:41 PDT 2019


At some point I noticed I *must* clean kernel-devsrc before I can
build my image with Kernel changes.
I suppose this isn't normal and expect it rebuild what's necessary as
part of the image build. Has anyone seen this before?

Build Configuration:
BB_VERSION           = "1.36.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "arm-oe-linux-gnueabi"
MACHINE              = "solix"
DISTRO               = "jome"
DISTRO_VERSION       = "2018.06"
TUNE_FEATURES        = "arm armv7a vfp thumb neon callconvention-hard"
TARGET_FPU           = "hard"
meta-arago-distro
meta-arago-extras    = "HEAD:61f5c7b578255a0ddff8046b060f8488157c0a0d"
meta-browser         = "HEAD:4c1d135a085fe4011fadd73bf1f7876d26eac443"
meta-qt5             = "HEAD:682ad61c071a9710e9f9d8a32ab1b5f3c14953d1"
meta-networking
meta-python
meta-oe
meta-gnome           = "HEAD:352531015014d1957d6444d114f4451e241c4d23"
meta-ti              = "HEAD:6f1740c8121daafc497e26834bee67e3eeae322c"
meta-jo              = "dev:914fe3bb19ec4ddad0c7286b6908eddddb82a5be"
meta-linaro-toolchain
meta-optee           = "HEAD:75dfb67bbb14a70cd47afda9726e2e1c76731885"
meta                 = "HEAD:931a52e8698f684ccbb26ddec18764ad9d9a3e8f"
workspace            = "<unknown>:<unknown>"

Initialising tasks: 100%
|###################################################################################################|
Time: 0:00:06
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: redpine: compiling from external source tree
/home/adam/test/build/workspace/sources/redpine/source/host
NOTE: lp8863-mod: compiling from external source tree
/home/adam/test/build/workspace/sources/lp8863-mod
ERROR: kernel-devsrc-1.0-r0 do_install: Function failed: do_install
(log file is located at
/home/adam/test/build/build/tmp-glibc/work/solix-oe-linux-gnueabi/kernel-devsrc/1.0-r0/temp/log.do_install.70443)
ERROR: Logfile of failure stored in:
/home/adam/test/build/build/tmp-glibc/work/solix-oe-linux-gnueabi/kernel-devsrc/1.0-r0/temp/log.do_install.70443
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are
['virtual:native:/home/adam/test/poky/meta/recipes-devtools/pseudo/pseudo_1.8.2.bb:do_populate_sysroot',
'/home/adam/test/poky/meta/recipes-devtools/gcc/gcc-runtime_7.3.bb:do_populate_sysroot',
'/home/adam/test/poky/meta/recipes-devtools/quilt/quilt-native_0.65.bb:do_populate_sysroot',
'/home/adam/test/poky/meta/recipes-core/glibc/glibc_2.26.bb:do_populate_sysroot',
'virtual:native:/home/adam/test/poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2017.09.bb:do_populate_sysroot',
'virtual:native:/home/adam/test/poky/meta/recipes-extended/bc/bc_1.06.bb:do_populate_sysroot',
'/home/adam/test/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot',
'virtual:native:/home/adam/test/poky/meta/recipes-support/lzop/lzop_1.03.bb:do_populate_sysroot',
'/home/adam/test/poky/meta/recipes-devtools/binutils/binutils-cross_2.29.1.bb:do_populate_sysroot',
'/home/adam/test/poky/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native',
'gcc-runtime', 'quilt-native', 'glibc', 'u-boot-mkimage-native',
'bc-native', 'kmod-native', 'lzop-native', 'binutils-cross-arm',
'gcc-cross-arm', 'linux-libc-headers', 'libgcc', 'openssl-native',
'gnu-config-native', 'gtk-doc-native', 'libtool-native',
'zlib-native', 'pkgconfig-native', 'autoconf-native',
'automake-native', 'texinfo-dummy-native', 'bison-native',
'flex-native', 'mpfr-native', 'xz-native', 'gmp-native',
'libmpc-native', 'lzo-native', 'makedepend-native',
'cryptodev-linux-native', 'm4-native', 'gettext-minimal-native',
'xproto-native', 'util-macros-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| 0 blocks
| cpio: ./singletask.lock: Cannot stat: No such file or directory
| 0 blocks
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_install (log file is located at
/home/adam/test/build/build/tmp-glibc/work/solix-oe-linux-gnueabi/kernel-devsrc/1.0-r0/temp/log.do_install.70443)
ERROR: Task (/home/adam/test/poky/meta/recipes-kernel/linux/kernel-devsrc.bb:do_install)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 5488 tasks of which 5240 didn't need to
be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
  /home/adam/test/poky/meta/recipes-kernel/linux/kernel-devsrc.bb:do_install
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


More information about the yocto mailing list