Hi,
I have a puzzling error during do_image_wic. It says a ‘1’ is returned as an
error rather than 0, but I don’t see in the output what went wrong. Anyone
recognize it? (I am not that familiar with the inner workings of the wic image
generation tool).
This used to work but broke during a fresh build from scratch.
dwatkins@carmd-ed-n11377:64bit build $ bitbake core-image-selinux-minimal
Loading cache: 100%
|#####################################################################################################################################################################################|
Time: 0:00:00
Loaded 3633 entries from dependency cache.
WARNING: No recipes available for:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-kernel/firmware/linux-firmware_git.bbappend
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-kernel/linux/linux-qoriq_4.19.bbappend
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-kernel/linux/linux-yocto_3.4.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "mg90"
DISTRO = "poky"
DISTRO_VERSION = "3.1.5"
TUNE_FEATURES = "arm vfp cortexa7 neon callconvention-hard"
TARGET_FPU = "hard"
meta-MG-os-bsp = "master:db03c4adb9ffe9bd0135538ebe399821036eeeee"
meta
meta-poky
meta-yocto-bsp = "HEAD:6e89d668246fb37b2217aae7ae57390e793696d8"
meta-oe
meta-networking
meta-python
meta-perl = "HEAD:de37512b25c1f8c6bb6ab2b3782ac0fe01443483"
meta-selinux = "HEAD:7af62c91d7d00a260cf28e7908955539304d100d"
meta-security
meta-integrity
meta-security-isafw = "HEAD:c74cc97641fd93e0e7a4383255e9a0ab3deaf9d7"
meta-freescale = "HEAD:99bd73bec2a9d84509cb012a08f9062cb65fb24e"
Initialising tasks: 100%
|################################################################################################################################################################################|
Time: 0:00:03
Sstate summary: Wanted 2 Found 0 Missed 2 Current 1870 (0% match, 99% complete)
NOTE: Executing Tasks
WARNING: cve-update-db-native-1.0-r0 do_populate_cve_db: Failed to fetch CVE
data ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get
local issuer certificate (_ssl.c:1108))
Image CVE report stored in:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy/images/mg90/core-image-selinux-minimal-mg90-20210209182741.rootfs.cve
ERROR: core-image-selinux-minimal-1.0-r0 do_image_wic: Execution of
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994'
failed with exit code 1:
INFO: Creating image(s)...
ERROR: _exec_cmd: export
PATH=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/hosttools:$PATH;export
PSEUDO_PREFIX=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr;export
PSEUDO_LOCALSTATEDIR=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs/../pseudo;export
PSEUDO_PASSWD=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs;export
PSEUDO_NOSYMLINKEXP=1;export
PSEUDO_IGNORE_PATHS=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4,/usr/,/etc/,/usr/lib,/dev/,/run/,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/sstate-cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/stamps,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/pkgdata-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sstate-control,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/deploy-,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/buildstats,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-install-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-image_complete,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/pkgdata,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/scripts,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/files/common-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-oe/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-networking/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/custom-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/x86_64-deploy-core-image-selinux-minimal-populate-sdk,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/build-wic,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0;/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo
fsck.ext4 -pvfD
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4
returned '1' instead of 0
output: 5913 inodes used (20.62%, out of 28672)
9 non-contiguous files (0.2%)
20 non-contiguous directories (0.3%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 5376/9
140547 blocks used (61.28%, out of 229344)
0 bad blocks
0 large files
4749 regular files
635 directories
0 character device files
0 block device files
0 fifos
8 links
520 symbolic links (520 fast symbolic links)
0 sockets
------------
5912 files
WARNING:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994:1
exit 1 from 'BUILDDIR="/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build"
PSEUDO_UNLOAD=1 wic create "$wks" --vars
"/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots/mg90/imgdata/"
-e "core-image-selinux-minimal" -o "$build_wic/" -w "$tmp_wic"'
ERROR: Logfile of failure stored in:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/log.do_image_wic.14994
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 176420.400000 = 135708 * 1.300000
| DEBUG: 176420.400000 = max(176420.400000, 65536)[176420.400000] + 0
| DEBUG: 176421.000000 = int(176420.400000)
| DEBUG: 176421 = aligned(176421)
| DEBUG: returning 176421
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are
['/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/recipes-bsp/qe-ucode/qe-ucode_git.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-bsp/omg-hardware/omg-hardware_4.1.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-support/fec/fec_3.0.1.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/recipes-devtools/python/python3-lxml_4.5.0.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-security/meta-integrity/recipes-security/ima-evm-utils/ima-evm-utils_git.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-bsp/u-boot/u-boot-tools_2020.01.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-devtools/change-file-endianess/change-file-endianess.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/tcltk/tcl_8.6.10.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-selinux/recipes-security/selinux/policycoreutils_3.0.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/meta-MG-os-bsp/recipes-bsp/u-boot/u-boot-qoriq_2019.04.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/libyaml/libyaml_0.2.2.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/recipes-kernel/linux/linux-fslc-qoriq_5.4.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-security/meta-security-isafw/recipes-devtools/checksec/checksec_1.5-1.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.7.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot',
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-support/ca-certificates/ca-certificates_20190110.bb:do_populate_sysroot',
'virtual:native:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/recipes-devtools/python/python3_3.8.2.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['qe-ucode', 'kmod-native',
'omg-hardware', 'depmodwrapper-cross', 'fec', 'python3-lxml-native',
'pseudo-native', 'mtools-native', 'libgcc', 'glibc', 'ima-evm-utils-native',
'opkg-utils-native', 'u-boot-tools-native', 'openssl-native',
'makedevs-native', 'parted-native', 'change-file-endianess-native',
'patch-native', 'mklibs-native', 'update-rc.d-native', 'prelink-native',
'tcl-native', 'policycoreutils-native', 'bison-native', 'u-boot-qoriq',
'bmap-tools-native', 'quilt-native', 'pigz-native', 'libyaml-native',
'linux-fslc-qoriq', 'checksec-native', 'qemuwrapper-cross', 'gptfdisk-native',
'e2fsprogs-native', 'bc-native', 'rpm-native', 'binutils-cross-arm',
'gcc-runtime', 'dosfstools-native', 'createrepo-c-native',
'python3-pyyaml-native', 'ldconfig-native', 'dnf-native',
'cross-localedef-native', 'opkg-native', 'gcc-cross-arm', 'swig-native',
'lzop-native', 'dtc-native', 'ca-certificates-native', 'python3-native',
'omg-mcu', 'libxml2-native', 'libxslt-native', 'python3-setuptools-native',
'autoconf-native', 'texinfo-dummy-native', 'automake-native',
'gnu-config-native', 'libtool-native', 'linux-libc-headers', 'keyutils-native',
'pkgconfig-native', 'ncurses-native', 'util-linux-native',
'gettext-minimal-native', 'readline-native', 'xz-native', 'qemu-native',
'binutils-native', 'elfutils-native', 'zlib-native', 'popt-native',
'attr-native', 'db-native', 'perl-native', 'dbus-native', 'bzip2-native',
'file-native', 'libarchive-native', 'shadow-native', 'ninja-native',
'cmake-native', 'curl-native', 'expat-native', 'glib-2.0-native',
'sqlite3-native', 'python3-cython-native', 'libsolv-native', 'libpcre-native',
'libffi-native', 'gdbm-native', 'libtirpc-native', 'libnsl2-native',
'gtk-doc-native', 'flex-native', 'shared-mime-info-native', 'libsepol-native',
'libcap-native', 'gettext-native', 'libsemanage-native', 'libselinux-native',
'python3-six-native', 'debianutils-native', 'libcomps-native', 'libdnf-native',
'librepo-native', 'python3-iniparse-native', 'mpfr-native', 'gmp-native',
'libmpc-native', 'lzo-native', 'unzip-native', 'm4-native', 'libcap-ng-native',
'libpcre2-native', 're2c-native', 'meson-native', 'itstool-native',
'gperf-native', 'libcheck-native', 'libmodulemd-v1-native', 'json-c-native',
'gobject-introspection-native', 'gpgme-native', 'libassuan-native',
'libgpg-error-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_wic
| INFO: Creating image(s)...
|
| ERROR: _exec_cmd: export
PATH=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/hosttools:$PATH;export
PSEUDO_PREFIX=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr;export
PSEUDO_LOCALSTATEDIR=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs/../pseudo;export
PSEUDO_PASSWD=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs;export
PSEUDO_NOSYMLINKEXP=1;export
PSEUDO_IGNORE_PATHS=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4,/usr/,/etc/,/usr/lib,/dev/,/run/,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/sstate-cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/stamps,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/pkgdata-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sstate-control,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/deploy-,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/buildstats,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-install-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-image_complete,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/pkgdata,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/scripts,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/files/common-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-oe/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-networking/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/custom-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/x86_64-deploy-core-image-selinux-minimal-populate-sdk,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/build-wic,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0;/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo
fsck.ext4 -pvfD
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4
returned '1' instead of 0
| output: 5913 inodes used (20.62%, out of 28672)
| 9 non-contiguous files (0.2%)
| 20 non-contiguous directories (0.3%)
| # of inodes with ind/dind/tind blocks: 0/0/0
| Extent depth histogram: 5376/9
| 140547 blocks used (61.28%, out of 229344)
| 0 bad blocks
| 0 large files
|
| 4749 regular files
| 635 directories
| 0 character device files
| 0 block device files
| 0 fifos
| 8 links
| 520 symbolic links (520 fast symbolic links)
| 0 sockets
| ------------
| 5912 files
|
| WARNING:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994:1
exit 1 from 'BUILDDIR="/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build"
PSEUDO_UNLOAD=1 wic create "$wks" --vars
"/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots/mg90/imgdata/"
-e "core-image-selinux-minimal" -o "$build_wic/" -w "$tmp_wic"'
| ERROR: Execution of
'/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994'
failed with exit code 1:
| INFO: Creating image(s)...
|
| ERROR: _exec_cmd: export
PATH=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/usr/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot-native/bin:/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/hosttools:$PATH;export
PSEUDO_PREFIX=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr;export
PSEUDO_LOCALSTATEDIR=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs/../pseudo;export
PSEUDO_PASSWD=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/rootfs;export
PSEUDO_NOSYMLINKEXP=1;export
PSEUDO_IGNORE_PATHS=/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4,/usr/,/etc/,/usr/lib,/dev/,/run/,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/recipe-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/sstate-cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/stamps,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/pkgdata-sysroot,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sstate-control,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/deploy,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/deploy-,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/buildstats,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-install-package_,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/sstate-build-image_complete,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/pkgdata,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/cache,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/scripts,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/poky/meta/files/common-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-oe/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-networking/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/openembedded/meta-openembedded/meta-python/licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-freescale/custom-licenses,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/x86_64-deploy-core-image-selinux-minimal-populate-sdk,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/build-wic,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0,/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/core-image-selinux-minimal-1.0;/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots-components/x86_64/pseudo-native/usr/bin/pseudo
fsck.ext4 -pvfD
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/tmp-wic/rootfs_root.3.ext4
returned '1' instead of 0
| output: 5913 inodes used (20.62%, out of 28672)
| 9 non-contiguous files (0.2%)
| 20 non-contiguous directories (0.3%)
| # of inodes with ind/dind/tind blocks: 0/0/0
| Extent depth histogram: 5376/9
| 140547 blocks used (61.28%, out of 229344)
| 0 bad blocks
| 0 large files
|
| 4749 regular files
| 635 directories
| 0 character device files
| 0 block device files
| 0 fifos
| 8 links
| 520 symbolic links (520 fast symbolic links)
| 0 sockets
| ------------
| 5912 files
|
| WARNING:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/work/mg90-poky-linux-gnueabi/core-image-selinux-minimal/1.0-r0/temp/run.do_image_wic.14994:1
exit 1 from 'BUILDDIR="/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build"
PSEUDO_UNLOAD=1 wic create "$wks" --vars
"/home/dwatkins/workspace/zeta/skylab_mg90-BSP/build/tmp/sysroots/mg90/imgdata/"
-e "core-image-selinux-minimal" -o "$build_wic/" -w "$tmp_wic"'
|
ERROR: Task
(/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-selinux/recipes-security/images/core-image-selinux-minimal.bb:do_image_wic)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 5360 tasks of which 4439 didn't need to be rerun
and 1 failed.
Summary: 1 task failed:
/home/dwatkins/workspace/zeta/skylab_mg90-BSP/upstream/yocto/meta-selinux/recipes-security/images/core-image-selinux-minimal.bb:do_image_wic
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
dwatkins@carmd-ed-n11377:64bit build $
Here is my layer stackup…
dwatkins@carmd-ed-n11377:64bit build $ cat conf/bblayers.conf
# Generated by 'setup-environment' from annotations in the repo manifest.
WS_DIR = "/home/dwatkins/workspace/zeta/skylab_mg90-BSP"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
LCONF_VERSION = "7"
BSPDIR = "${WS_DIR}"
BBLAYERS = " \
${WS_DIR}/meta-MG-os-bsp \
${WS_DIR}/upstream/yocto/poky/meta \
${WS_DIR}/upstream/yocto/poky/meta-poky \
${WS_DIR}/upstream/yocto/poky/meta-yocto-bsp \
${WS_DIR}/upstream/openembedded/meta-openembedded/meta-oe \
${WS_DIR}/upstream/openembedded/meta-openembedded/meta-networking \
${WS_DIR}/upstream/openembedded/meta-openembedded/meta-python \
${WS_DIR}/upstream/openembedded/meta-openembedded/meta-perl \
${WS_DIR}/upstream/yocto/meta-selinux \
${WS_DIR}/upstream/yocto/meta-security \
${WS_DIR}/upstream/yocto/meta-security/meta-integrity \
${WS_DIR}/upstream/yocto/meta-security/meta-security-isafw \
${WS_DIR}/upstream/yocto/meta-freescale \
"
dwatkins@carmd-ed-n11377:64bit build $
dwatkins@carmd-ed-n11377:64bit build $ cat
../meta-MG-os-bsp/wic/ls1-uboot-spl-mg90pbl-bootpart.wks
# short-description: Create SD card image with a boot partition
# long-description:
# Create an image that can be written onto a SD card using dd for use
# with Layerscape ls102xa SoC family.
#
# The disk layout used is:
# ----- ------------ ------------- ---------------
# | MBR | bootloader | boot (FAT) | rootfs (ext) |
# ----- ------------ ------------- ---------------
# ^ ^ ^ ^ ^
# | | | | |
# 0 4kB 4MB 16MB 16MiB + rootfs size +
IMAGE_EXTRA_SPACE (default 10MiB)
#
# Note: u-boot.bin referenced below is assumed symlinked to
u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} or
# equivalent as used by the legacy image_types_ls1.bbclass prior to
migration to using 'wic'.
part bootloader --source rawcopy --sourceparams="file=u-boot.bin" --ondisk
mmcblk0 --no-table --align 4
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label
boot --active --align 4096 --size 16
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096
bootloader --ptable msdos
dwatkins@carmd-ed-n11377:64bit build $
The wic image for SD card follows similar style pattern as has been used by
Freescale Community BSP for the i.MX6 family, etc. and has previously worked
and the SD card booted.
Regards,
Darcy
Darcy Watkins :: Senior Staff Engineer, Firmware
SIERRA WIRELESS
Direct +1 604 233 7989 :: Fax +1 604 231 1109 :: Main +1 604 231 1100
13811 Wireless Way :: Richmond, BC Canada V6V 3A4
[M4]
[email protected]<mailto:[email protected]> ::
www.sierrawireless.com<http://www.sierrawireless.com/>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#52279): https://lists.yoctoproject.org/g/yocto/message/52279
Mute This Topic: https://lists.yoctoproject.org/mt/80512829/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-