Given that the original error is:
ERROR: core-image-minimal-1.0-r0 do_image_sdimg: Execution of '/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_sdimg.29597' failed with exit code 1:
+ mkdir -p /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0
+ true
+ install -m 0644 /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/deploy/images/imx8mm-var-dart/uboot.env /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/
+ basename /dev/mmcblk1
+ ondisk_dev=mmcblk1
+ wks=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
+ rm -f /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
+ [ -n imx-boot ]
+ install -m 0644 /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/deploy/images/imx8mm-var-dart/imx-boot /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/
+ expr 66 % 2
+ [ 0 -ne 0 ]
+ bootloader_sector=66
+ bootloader_file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot
+ expr 66 * 512
+ expr 33792 / 1024
+ bootloader_align_kb=33
+ stat -c %s /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot
+ bootloader_size=1135468
+ expr 33 * 1024 + 1135468
+ bootloader_end=1169260
+ [ 1169260 -gt 8388608 ]
+ cat
+ true
+ [ -n 8388608 ]
+ expr 8388608 / 1024
+ boot_env_align_kb=8192
+ cat
+ expr 8388608 % 1024
+ true
+ [ 0 -ne 0 ]
+ expr 8388608 / 1024
+ alignment_kb=8192
+ [ msdos = gpt ]
+ part_type_params=
+ echo
+ sed -r s/(^\s*)|(\s*$)//g
+ IMAGE_BOOT_FILES_STRIPPED=
+ [ 16 -ne 0 ]
+ mender_merge_bootfs_and_image_boot_files
+ W=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
+ rm -rf /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
+ cp -al /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/rootfs//uboot /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
+ image_boot_files=
+ cat
+ cat
+ [ 0 -ne 0 ]
+ cat
+ cat
+ cat
+ echo ### Contents of wks file ###
### Contents of wks file ###
+ cat /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
# embed bootloader
part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot" --ondisk "mmcblk1" --align 33 --no-table
part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/uboot.env" --ondisk "mmcblk1" --align 8192 --no-table
part --source rootfs --rootfs-dir /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg --ondisk "mmcblk1" --fstype=vfat --label boot --align 8192 --fixed-size 16 --active
part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 221184k
part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 221184k
part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.dataimg" --ondisk "mmcblk1" --align 8192 --fixed-size 128
bootloader --ptable msdos
+ echo ### End of contents of wks file ###
### End of contents of wks file ###
+ outimgname=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607.sdimg
+ wicout=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg
+ BUILDDIR=/home/ucn-yocto/var-fsl-yocto/build_xwayland wic create /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks --vars /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots/imx8mm-var-dart/imgdata/ -e core-image-minimal -o /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg/ --no-fstab-update
INFO: Creating image(s)...
ERROR: _exec_cmd: export PATH=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin:$PATH;mcopy -i /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg/tmp.wic.ztvgvjd7/rootfs_boot.3.vfat -s /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg/* ::/ returned '1' instead of 0
output: /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg/*: No such file or directory
+ 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: Logfile of failure stored in: /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/temp/log.do_image_sdimg.29597
Log data follows:
| DEBUG: Executing python function prepare_excluded_directories
| DEBUG: 'IMAGE_ROOTFS_EXCLUDE_PATH' is set but 'respect_exclude_path' variable flag is 0 for this image type, so ignoring it
| DEBUG: Python function prepare_excluded_directories finished
| DEBUG: Executing python function set_image_size
| DEBUG: 63928.000000 = 63928 * 1.000000
| DEBUG: 221184.000000 = max(63928.000000, 217088)[217088.000000] + 4096
| DEBUG: 221184.000000 = int(221184.000000)
| DEBUG: 221184 = aligned(221184)
| DEBUG: returning 221184
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/bison/bison_3.4.1.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/python/python-native_2.7.16.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.1.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-kernel/dtc/dtc_1.5.1.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/meta/wic-tools.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/coreutils/coreutils_8.31.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.3.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/python/python_2.7.16.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/glibc/cross-localedef-native_2.30.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-extended/parted/parted_3.2.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/meta-imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_0.2.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/glibc/glibc_2.30.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.0.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-connectivity/openssl/openssl_1.1.1d.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', '/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-devtools/gcc/gcc-runtime_9.2.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['dosfstools-native', 'bison-native', 'python-native', 'dtc-native', 'wic-tools', 'coreutils-native', 'gcc-cross-aarch64', 'mtools-native', 'python', 'kern-tools-native', 'parted-native', 'imx-boot', 'glibc', 'gptfdisk-native', 'gcc-runtime', 'mpfr-native', 'gmp-native', 'binutils-cross-aarch64', 'linux-libc-headers', 'libmpc-native', 'ncurses', 'libxcrypt', 'openssl', 'db', 'gdbm', 'zlib', 'readline', 'libffi', 'sqlite3', 'bzip2', 'imx-atf', 'firmware-imx-8m', 'u-boot-variscite', 'libgcc', 'opkg-utils', 'cryptodev-linux']
| NOTE: Skipping as already exists in sysroot: ['swig-native', 'dnf-native', 'opkg-utils-native', 'update-rc.d-native', 'prelink-native', 'bmap-tools-native', 'rpm-native', 'opkg-native', 'depmodwrapper-cross', 'pseudo-native', 'e2fsprogs-native', 'pigz-native', 'quilt-native', 'makedevs-native', 'cross-localedef-native', 'mklibs-native', 'qemuwrapper-cross', 'createrepo-c-native', 'openssl-native', 'ldconfig-native', 'pbzip2-native', 'autoconf-native', 'libtool-native', 'gnu-config-native', 'xz-native', 'automake-native', 'pkgconfig-native', 'systemd-systemctl-native', 'libpcre-native', 'python3-native', 'librepo-native', 'ninja-native', 'python3-iniparse-native', 'libdnf-native', 'gettext-minimal-native', 'libcomps-native', 'cmake-native', 'flex-native', 'texinfo-dummy-native', 'bzip2-native', 'gdbm-native', 'sqlite3-native', 'db-native', 'zlib-native', 'readline-native', 'expat-native', 'shadow-native', 'elfutils-native', 'binutils-native', 'debianutils-native', 'python3-setuptools-native', 'python3-six-native', 'nss-native', 'file-native', 'popt-native', 'dbus-native', 'libarchive-native', 'perl-native', 'libsolv-native', 'kmod-native', 'attr-native', 'util-linux-native', 'ncurses-native', 'qemu-native', 'libxml2-native', 'curl-native', 'libmodulemd-native', 'glib-2.0-native', 'm4-native', 'libtirpc-native', 'libnsl2-native', 'libffi-native', 'gpgme-native', 're2c-native', 'libcheck-native', 'gobject-introspection-native', 'json-c-native', 'gtk-doc-native', 'unzip-native', 'nspr-native', 'lzo-native', 'libcap-ng-native', 'libyaml-native', 'meson-native', 'gettext-native', 'libgpg-error-native', 'libassuan-native']
| DEBUG: sed -e 's:^[^/]*/:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/:g' /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/x86_64/bison-native/fixmepath /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/x86_64/python-native/fixmepath /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/x86_64/gcc-cross-aarch64/fixmepath /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/pkgdata/imx8mm-var-dart:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/temp/fifo.29597:g'
| DEBUG: sed -e 's:^[^/]*/:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot/:g' /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/aarch64/python/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/pkgdata/imx8mm-var-dart:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/temp/fifo.29597:g'
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_sdimg
| + mkdir -p /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0
| + true
| + install -m 0644 /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/deploy/images/imx8mm-var-dart/uboot.env /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/
| + basename /dev/mmcblk1
| + ondisk_dev=mmcblk1
| + wks=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
| + rm -f /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
| + [ -n imx-boot ]
| + install -m 0644 /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/deploy/images/imx8mm-var-dart/imx-boot /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/
| + expr 66 % 2
| + [ 0 -ne 0 ]
| + bootloader_sector=66
| + bootloader_file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot
| + expr 66 * 512
| + expr 33792 / 1024
| + bootloader_align_kb=33
| + stat -c %s /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot
| + bootloader_size=1135468
| + expr 33 * 1024 + 1135468
| + bootloader_end=1169260
| + [ 1169260 -gt 8388608 ]
| + cat
| + true
| + [ -n 8388608 ]
| + expr 8388608 / 1024
| + boot_env_align_kb=8192
| + cat
| + expr 8388608 % 1024
| + true
| + [ 0 -ne 0 ]
| + expr 8388608 / 1024
| + alignment_kb=8192
| + [ msdos = gpt ]
| + part_type_params=
| + echo
| + sed -r s/(^\s*)|(\s*$)//g
| + IMAGE_BOOT_FILES_STRIPPED=
| + [ 16 -ne 0 ]
| + mender_merge_bootfs_and_image_boot_files
| + W=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
| + rm -rf /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
| + cp -al /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/rootfs//uboot /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
| + image_boot_files=
| + cat
| + cat
| + [ 0 -ne 0 ]
| + cat
| + cat
| + cat
| + echo ### Contents of wks file ###
| ### Contents of wks file ###
| + cat /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
| # embed bootloader
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot" --ondisk "mmcblk1" --align 33 --no-table
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/uboot.env" --ondisk "mmcblk1" --align 8192 --no-table
| part --source rootfs --rootfs-dir /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg --ondisk "mmcblk1" --fstype=vfat --label boot --align 8192 --fixed-size 16 --active
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 221184k
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 221184k
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.dataimg" --ondisk "mmcblk1" --align 8192 --fixed-size 128
|
| bootloader --ptable msdos
| + echo ### End of contents of wks file ###
| ### End of contents of wks file ###
| + outimgname=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607.sdimg
| + wicout=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg
| + BUILDDIR=/home/ucn-yocto/var-fsl-yocto/build_xwayland wic create /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks --vars /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots/imx8mm-var-dart/imgdata/ -e core-image-minimal -o /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg/ --no-fstab-update
| INFO: Creating image(s)...
|
| ERROR: _exec_cmd: export PATH=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin:$PATH;mcopy -i /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg/tmp.wic.ztvgvjd7/rootfs_boot.3.vfat -s /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg/* ::/ returned '1' instead of 0
| output: /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg/*: No such file or directory
|
| + 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: Execution of '/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_sdimg.29597' failed with exit code 1:
| + mkdir -p /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0
| + true
| + install -m 0644 /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/deploy/images/imx8mm-var-dart/uboot.env /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/
| + basename /dev/mmcblk1
| + ondisk_dev=mmcblk1
| + wks=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
| + rm -f /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
| + [ -n imx-boot ]
| + install -m 0644 /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/deploy/images/imx8mm-var-dart/imx-boot /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/
| + expr 66 % 2
| + [ 0 -ne 0 ]
| + bootloader_sector=66
| + bootloader_file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot
| + expr 66 * 512
| + expr 33792 / 1024
| + bootloader_align_kb=33
| + stat -c %s /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot
| + bootloader_size=1135468
| + expr 33 * 1024 + 1135468
| + bootloader_end=1169260
| + [ 1169260 -gt 8388608 ]
| + cat
| + true
| + [ -n 8388608 ]
| + expr 8388608 / 1024
| + boot_env_align_kb=8192
| + cat
| + expr 8388608 % 1024
| + true
| + [ 0 -ne 0 ]
| + expr 8388608 / 1024
| + alignment_kb=8192
| + [ msdos = gpt ]
| + part_type_params=
| + echo
| + sed -r s/(^\s*)|(\s*$)//g
| + IMAGE_BOOT_FILES_STRIPPED=
| + [ 16 -ne 0 ]
| + mender_merge_bootfs_and_image_boot_files
| + W=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
| + rm -rf /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
| + cp -al /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/rootfs//uboot /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg
| + image_boot_files=
| + cat
| + cat
| + [ 0 -ne 0 ]
| + cat
| + cat
| + cat
| + echo ### Contents of wks file ###
| ### Contents of wks file ###
| + cat /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks
| # embed bootloader
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/imx-boot" --ondisk "mmcblk1" --align 33 --no-table
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/uboot.env" --ondisk "mmcblk1" --align 8192 --no-table
| part --source rootfs --rootfs-dir /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg --ondisk "mmcblk1" --fstype=vfat --label boot --align 8192 --fixed-size 16 --active
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 221184k
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.ext4" --ondisk "mmcblk1" --align 8192 --fixed-size 221184k
| part --source rawcopy --sourceparams="file=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart.dataimg" --ondisk "mmcblk1" --align 8192 --fixed-size 128
|
| bootloader --ptable msdos
| + echo ### End of contents of wks file ###
| ### End of contents of wks file ###
| + outimgname=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607.sdimg
| + wicout=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg
| + BUILDDIR=/home/ucn-yocto/var-fsl-yocto/build_xwayland wic create /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/mender-sdimg.wks --vars /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/sysroots/imx8mm-var-dart/imgdata/ -e core-image-minimal -o /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg/ --no-fstab-update
| INFO: Creating image(s)...
|
| ERROR: _exec_cmd: export PATH=/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/sbin:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/sbin:/home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin:$PATH;mcopy -i /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-imx8mm-var-dart-20201111162607-sdimg/tmp.wic.ztvgvjd7/rootfs_boot.3.vfat -s /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg/* ::/ returned '1' instead of 0
| output: /home/ucn-yocto/var-fsl-yocto/build_xwayland/tmp/work/imx8mm_var_dart-poky-linux/core-image-minimal/1.0-r0/bootfs.image_sdimg/*: No such file or directory
|
| + 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: Task (/home/ucn-yocto/var-fsl-yocto/sources/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_sdimg) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3615 tasks of which 3354 didn't need to be rerun and 1 failed.
Can you provide the directory listing of the boot partition as well as the /boot directory from your root filesystem?
Well, maybe we can try to figure out what is the other problem first? Since I can only create an image if I add that line.
@drewmoseley - edit - formatting