Integrating mender with yocto(core-image-sato)

hello friends,
I have a small issue while running the bitbake command.i have followed the mender documentation for integrating. Build fails while adding the below feature
#INHERIT += " mender-full"
can anyone pls help me out.Iam getting the error below ,
"ERROR: Task (/home/ravi/sato/poky/meta/recipes-bsp/u-boot/u-boot_2020.07.bb:do_patch) failed with exit code ‘1’ "

Hi @urk2511 can you provide the full output from the failing bitbake command?
Drew

1 Like

hi @drewmoseley ,


ERROR: u-boot-1_2020.07-r0 do_patch: Command Error: ‘quilt --quiltrc /home/ravi/sato/poky/build/tmp/work/raspberrypi4_64-poky-linux/u-boot/1_2020.07-r0/recipe-sysroot-native/etc/quiltrc push’ exited with 0 Output:
Applying patch 0001-configs-rpi-enable-mender-requirements.patch
patching file configs/rpi_0_w_defconfig
Hunk #1 FAILED at 19.
1 out of 2 hunks FAILED – rejects in file configs/rpi_0_w_defconfig
patching file configs/rpi_2_defconfig
Hunk #1 FAILED at 19.
1 out of 2 hunks FAILED – rejects in file configs/rpi_2_defconfig
patching file configs/rpi_3_32b_defconfig
Hunk #1 FAILED at 20.
1 out of 2 hunks FAILED – rejects in file configs/rpi_3_32b_defconfig
patching file configs/rpi_3_b_plus_defconfig
Hunk #1 FAILED at 20.
1 out of 2 hunks FAILED – rejects in file configs/rpi_3_b_plus_defconfig
patching file configs/rpi_3_defconfig
Hunk #1 FAILED at 20.
1 out of 2 hunks FAILED – rejects in file configs/rpi_3_defconfig
patching file configs/rpi_4_32b_defconfig
Hunk #1 FAILED at 16.
Hunk #2 succeeded at 45 (offset 12 lines).
1 out of 2 hunks FAILED – rejects in file configs/rpi_4_32b_defconfig
patching file configs/rpi_4_defconfig
Hunk #1 FAILED at 16.
Hunk #2 succeeded at 45 (offset 12 lines).
1 out of 2 hunks FAILED – rejects in file configs/rpi_4_defconfig
patching file configs/rpi_arm64_defconfig
Hunk #1 FAILED at 17.
Hunk #2 succeeded at 43 (offset 1 line).
1 out of 2 hunks FAILED – rejects in file configs/rpi_arm64_defconfig
patching file configs/rpi_defconfig
Hunk #1 FAILED at 19.
1 out of 2 hunks FAILED – rejects in file configs/rpi_defconfig
patching file env/Kconfig
Hunk #1 succeeded at 55 (offset 6 lines).
patching file include/configs/rpi.h
Hunk #1 succeeded at 97 (offset 17 lines).
Patch 0001-configs-rpi-enable-mender-requirements.patch does not apply (enforce with -f)
ERROR: Logfile of failure stored in: /home/ravi/sato/poky/build/tmp/work/raspberrypi4_64-poky-linux/u-boot/1_2020.07-r0/temp/log.do_patch.2721266
ERROR: Task (/home/ravi/sato/poky/meta/recipes-bsp/u-boot/u-boot_2020.07.bb:do_patch) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 2071 tasks of which 2059 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ravi/sato/poky/meta/recipes-bsp/u-boot/u-boot_2020.07.bb:do_patch
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


pls have a look at it.

Thanks & Regards,
Ravi_Uppada

Which branch are you building?

The very beginning of the bitbake output will show all the layers and the git hashes for them. Can you share that info?

Drew

i have configured the chrome browser.built a core-image-sato.Now trying to integrate mender

Build Configuration:
BB_VERSION = “1.48.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “aarch64-poky-linux”
MACHINE = “raspberrypi4-64”
DISTRO = “poky”
DISTRO_VERSION = “3.2.1”
TUNE_FEATURES = “aarch64 armv8a crc crypto cortexa72”
TARGET_FPU = “”
meta
meta-poky
meta-yocto-bsp = “gatesgarth:9de9e2e3194525c8eea57ebc3c7396b4695549a7”
meta-gnome
meta-multimedia
meta-oe
meta-networking
meta-python
meta-xfce = “gatesgarth:6ff4bd4f345b4e8030b9197d13097308df521576”
meta-raspberrypi = “gatesgarth:09a3c11696c75593f8e475da5dfb401016c6aaca”
meta-rust = “master:c72b2dda3a4f70ed257c7de9bedb4b04732970a4”
meta-clang = “master:67a7cad4bb48ef569b4eeb4b3c923133d2d422a6”
meta-python2 = “master:c43c29e57f16af4e77441b201855321fbd546661”
meta-browser = “master:d9b0cbeaf4280ff325a15441c701ea1f4a140b17”
meta-rtlwifi = “gatesgarth:b8327c556e9f03708bb8ef6d1678e520cecc98e7”
meta-mender-core
meta-mender-raspberrypi = “master:461b8204f498b2422f0f0e3610e9b357d0128a8b”

meta-mender i am using the master branch

Thanks,
RAVI_UPPADA

I’m not sure what the current state of gatesgarth/master builds is but as you have evidently discovered there are some issues. I would recommend you use the dunfell branches as those are the Yocto LTS versions and the currently supported branches with Mender. Anything newer is under active development and may or may not work at any given time.

Drew

I will use the yocto dunfell branch and get back to you…
Thanks,
Ravi

hello @drewmoseley I am trying using dunfell branch, But the error still persist.

ravi_uppada@raviuppada-HP-EliteBook-Folio-9480m:~/work/vm/test/poky/build$ bitbake core-image-sato
Parsing recipes: 100% |########################################################################################################| Time: 0:02:10
Parsing of 2386 .bb files complete (0 cached, 2386 parsed). 3505 targets, 147 skipped, 0 masked, 0 errors.
Removing 2 recipes from the aarch64 sysroot: 100% |############################################################################| Time: 0:00:00
Removing 2 recipes from the raspberrypi4_64 sysroot: 100% |####################################################################| Time: 0:00:00
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = “1.46.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “aarch64-poky-linux”
MACHINE = “raspberrypi4-64”
DISTRO = “poky”
DISTRO_VERSION = “3.1.6”
TUNE_FEATURES = “aarch64 cortexa72 crc crypto”
TARGET_FPU = “”
meta
meta-poky
meta-yocto-bsp = “dunfell:a13bda44fcda4e79e9aed39ca1495eabecb6a7b7”
meta-gnome
meta-multimedia
meta-networking
meta-oe
meta-python
meta-xfce = “dunfell:de37512b25c1f8c6bb6ab2b3782ac0fe01443483”
meta-raspberrypi = “dunfell:77190af02d48adc2b28216775e6318e9eeda571c”
meta-mender-core
meta-mender-raspberrypi = “dunfell:f5864bfb32906b87cc24d5b84e74805994f0ef3e”

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:06
Sstate summary: Wanted 914 Found 68 Missed 846 Current 1862 (7% match, 69% complete)
NOTE: Executing Tasks
ERROR: gtk+3-3.24.14-r0 do_install: Command ‘[‘rm’, ‘-rf’, ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/aarch64-poky-linux/gtk+3/3.24.14-r0/image’]’ died with <Signals.SIGABRT: 6>.
ERROR: Logfile of failure stored in: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/aarch64-poky-linux/gtk+3/3.24.14-r0/temp/log.do_install.15630
Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files [‘endian-little’, ‘bit-64’, ‘arm-common’, ‘arm-64’, ‘common-linux’, ‘common-glibc’, ‘aarch64-linux’, ‘common’]
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [’/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxrender_0.9.10.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/mesa/mesa_20.0.2.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/cairo/cairo_1.16.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/qemu/qemu-native_4.2.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/libtool/libtool-native_2.4.6.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/glib-2.0/glib-2.0_2.62.6.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxcomposite_0.4.5.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-support/atk/at-spi2-atk_2.34.1.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/libtool/libtool-cross_2.4.6.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxkbcommon_0.10.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/wayland/wayland_1.18.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-support/atk/atk_2.34.1.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.4.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxcursor_1.2.0.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/gettext/gettext_0.20.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-multimedia/libpng/libpng_1.6.37.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libx11_1.6.9.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.62.0.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/wayland/wayland_1.18.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxi_1.7.10.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxdamage_1.1.5.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/python/python3_3.8.2.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxfixes_5.0.3.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/automake/automake_1.16.1.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxext_1.3.4.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/pango/pango_1.44.7.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/autoconf/autoconf_2.69.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/xorg-lib/libxrandr_1.5.2.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-graphics/wayland/wayland-protocols_1.20.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘libxrender’, ‘mesa’, ‘cairo’, ‘qemu-native’, ‘libtool-native’, ‘gdk-pixbuf’, ‘glibc’, ‘opkg-utils’, ‘glib-2.0’, ‘quilt-native’, ‘libxcomposite’, ‘at-spi2-atk’, ‘libepoxy’, ‘libtool-cross’, ‘libxkbcommon’, ‘wayland’, ‘atk’, ‘libjpeg-turbo’, ‘pseudo-native’, ‘libxcursor’, ‘gettext-native’, ‘patch-native’, ‘gdk-pixbuf-native’, ‘gtk-doc-native’, ‘xz-native’, ‘gobject-introspection’, ‘libpng’, ‘pkgconfig-native’, ‘libx11’, ‘gobject-introspection-native’, ‘wayland-native’, ‘libxi’, ‘libxdamage’, ‘fontconfig’, ‘python3-native’, ‘libxfixes’, ‘automake-native’, ‘libxext’, ‘pango’, ‘gcc-cross-aarch64’, ‘prelink-native’, ‘gcc-runtime’, ‘autoconf-native’, ‘gnu-config-native’, ‘libxrandr’, ‘wayland-protocols’, ‘xorgproto’, ‘util-macros’, ‘libxxf86vm’, ‘expat’, ‘libxshmfence’, ‘zlib’, ‘xrandr’, ‘libdrm’, ‘pixman’, ‘libsm’, ‘libxcb’, ‘glib-2.0-native’, ‘zlib-native’, ‘texinfo-dummy-native’, ‘shared-mime-info’, ‘linux-libc-headers’, ‘dbus’, ‘util-linux’, ‘libpcre’, ‘bash-completion’, ‘libffi’, ‘libxml2’, ‘at-spi2-core’, ‘binutils-cross-aarch64’, ‘xkeyboard-config’, ‘gettext-minimal-native’, ‘attr-native’, ‘shared-mime-info-native’, ‘meson-native’, ‘libpng-native’, ‘ninja-native’, ‘libjpeg-turbo-native’, ‘python3’, ‘autoconf-archive’, ‘xtrans’, ‘libffi-native’, ‘flex-native’, ‘expat-native’, ‘libxml2-native’, ‘freetype’, ‘libnsl2-native’, ‘bzip2-native’, ‘openssl-native’, ‘util-linux-native’, ‘sqlite3-native’, ‘libtirpc-native’, ‘gdbm-native’, ‘readline-native’, ‘libxft’, ‘fribidi’, ‘harfbuzz’, ‘libmpc-native’, ‘mpfr-native’, ‘gmp-native’, ‘elfutils-native’, ‘binutils-native’, ‘libgcc’, ‘m4-native’, ‘libpthread-stubs’, ‘libpciaccess’, ‘libice’, ‘libxdmcp’, ‘libxau’, ‘xcb-proto’, ‘libpcre-native’, ‘systemd’, ‘base-passwd’, ‘shadow-native’, ‘shadow-sysroot’, ‘shadow’, ‘base-files’, ‘libxcrypt’, ‘ncurses’, ‘libcap-ng’, ‘bzip2’, ‘libxtst’, ‘itstool-native’, ‘python3-setuptools-native’, ‘re2c-native’, ‘cmake-native’, ‘libtirpc’, ‘xz’, ‘sqlite3’, ‘libnsl2’, ‘gdbm’, ‘openssl’, ‘readline’, ‘libpcre2-native’, ‘ncurses-native’, ‘libcap-ng-native’, ‘icu’, ‘acl’, ‘libcap’, ‘kmod’, ‘attr’, ‘unzip-native’, ‘curl-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| abort()ing pseudo client by server request. See Pseudo Abort - Yocto Project for more details on this.
| Check logfile: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/aarch64-poky-linux/gtk+3/3.24.14-r0/pseudo//pseudo.log
| ERROR: Command ‘[‘rm’, ‘-rf’, ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/aarch64-poky-linux/gtk+3/3.24.14-r0/image’]’ died with <Signals.SIGABRT: 6>.
ERROR: Task (/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.14.bb:do_install) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 2852 tasks of which 2849 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ravi_uppada/work/vm/test/poky/meta/recipes-gnome/gtk+/gtk+3_3.24.14.bb:do_install
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

i have enabled the following features in the local.conf
MENDER_ARTIFACT_NAME = " release-1"
ARTIFACTIMG_FSTYPE = " ext4"

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = “systemd”
DISTRO_FEATURES_BACKFILL_CONSIDERED = “sysvinit”
VIRTUAL-RUNTIME_initscripts = “”
MENDER_SERVER_URL = " https://hosted.mender.io"
MENDER_TENANT_TOKEN = " eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW5kZXIudGVuYW50IjoiNjAxY2U5OWQ5N2E1ODI4OTc4NmM1ZjNjIiwiaXNzIjoiTWVuZGVyIiwic3ViIjoiNjAxY2U5OWQ5N2E1ODI4OTc4NmM1ZjNjIn0.EFYdA7-2a-DLuonoe1HJD8gSOB3_Fhg8JAFgeODSA9mIdmNnA9IqMbBdp-xvpqej5nOs7FtynMHPJjM3yCZFtzm-lre5QjHfJLVbOkb4nb_cHGEfQtGWk-63Q0EyVWriLu8Lcm8n6YhHIeabQ8Y1iyElSRS5gCboY39BhsiODLJ5ZUA5haGkws2TNwmL37kph6QCwAx9XHBZfLzuPrAHojY4fAblX2xdO2S0D8vR0IknnLrt6U2jQw08Z7O9tgWl2OKnyN50HGNRcqj4DEaCasAsl2rJuiFHHrDZkGC2H8j6BkjUBouQLSl0vHvRMHhOHz8zzhLbAkhqn8Btv6WnXpriOjzRQZtfcJwFIBqXgXblbXEjYQ5qsp99HchmU6HHRUjtieFg9ms0KC42MPSEIHp6Kx_NCX-AER3psCuEwdvwCx5d33Qoda4Cv6r9afCRZfUpR08mvEbrzcQPcBLR5DstjN2sbKjCeedtbXZWvazKFzXqGaisSefz4u01crHr"

Pls help me out.
Thanks & Regards
RAVI_UPPADA

Hmm. I don’t know what could cause that error:

| ERROR: Command ‘[‘rm’, ‘-rf’, ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/aarch64-poky-linux/gtk+3/3.24.14-r0/image’]’ died with <Signals.SIGABRT: 6>.

Since you changed branches though, I recommend you do sudo rm -rf /home/ravi_uppada/work/vm/test/poky/build/tmp and try to build again. All of that will be regenerated. Failing that, maybe do a full rebuild from scratch in a new directory.

Drew

Thanks , will follow as per above.

Ravi

hello @drewmoseley i have configured the dunfell branch and have added the following lines in the local.conf
MENDER_STORAGE_TOTAL_SIZE_MB = “2000”
INHERIT += " mender-full"
I have configured the rootfs size as 2GB but still the error repeats.

ravi_uppada@raviuppada-HP-EliteBook-Folio-9480m:~/work/vm/test/poky/build$ bitbake core-image-sato
Parsing recipes: 100% |########################################################################################################| Time: 0:02:22
Parsing of 2386 .bb files complete (0 cached, 2386 parsed). 3505 targets, 146 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime u-boot-default-env (libubootenv, u-boot)
Consider defining a PREFERRED_RPROVIDER entry to match u-boot-default-env

Build Configuration:
BB_VERSION = “1.46.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “aarch64-poky-linux”
MACHINE = “raspberrypi4-64”
DISTRO = “poky”
DISTRO_VERSION = “3.1.6”
TUNE_FEATURES = “aarch64 cortexa72 crc crypto”
TARGET_FPU = “”
meta
meta-poky
meta-yocto-bsp = “dunfell:a13bda44fcda4e79e9aed39ca1495eabecb6a7b7”
meta-gnome
meta-multimedia
meta-networking
meta-oe
meta-python
meta-xfce = “dunfell:de37512b25c1f8c6bb6ab2b3782ac0fe01443483”
meta-raspberrypi = “dunfell:77190af02d48adc2b28216775e6318e9eeda571c”
meta-mender-core
meta-mender-raspberrypi = “dunfell:f5864bfb32906b87cc24d5b84e74805994f0ef3e”

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:06
Sstate summary: Wanted 38 Found 36 Missed 2 Current 2810 (94% match, 99% complete)
NOTE: Executing Tasks
ERROR: core-image-sato-1.0-r0 do_image_dataimg: Execution of ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836’ failed with exit code 127:
0+0 records in
0+0 records out
0 bytes copied, 2.6167e-05 s, 0.0 kB/s
/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836: line 123: mkfs.: command not found
WARNING: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836:1 exit 127 from ‘mkfs. ext4 $force_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/data. ext4” $root_dir_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/rootfs/data” -L data’

ERROR: Logfile of failure stored in: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_image_dataimg.823836
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 500604.000000 = 385080 * 1.300000
| DEBUG: 933888.000000 = max(500604.000000, 831488)[831488.000000] + 102400
| DEBUG: 933888.000000 = int(933888.000000)
| DEBUG: 933888 = aligned(933888)
| DEBUG: returning 933888
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [’/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.7.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘qemuwrapper-cross’, ‘cdrtools-native’, ‘depmodwrapper-cross’, ‘bmap-tools-native’, ‘opkg-utils-native’, ‘dnf-native’, ‘update-rc.d-native’, ‘opkg-native’, ‘pseudo-native’, ‘syslinux-native’, ‘rpm-native’, ‘makedevs-native’, ‘pbzip2-native’, ‘e2fsprogs-native’, ‘ldconfig-native’, ‘pigz-native’, ‘createrepo-c-native’, ‘squashfs-tools-native’, ‘mklibs-native’, ‘btrfs-tools-native’, ‘prelink-native’, ‘cross-localedef-native’, ‘qemu-native’, ‘quilt-native’, ‘patch-native’, ‘systemd-systemctl-native’, ‘shared-mime-info-native’, ‘kmod-native’, ‘python3-setuptools-native’, ‘python3-native’, ‘python3-six-native’, ‘perl-native’, ‘libcomps-native’, ‘libdnf-native’, ‘gettext-minimal-native’, ‘cmake-native’, ‘ninja-native’, ‘librepo-native’, ‘python3-iniparse-native’, ‘pkgconfig-native’, ‘libsolv-native’, ‘autoconf-native’, ‘libtool-native’, ‘automake-native’, ‘gnu-config-native’, ‘libarchive-native’, ‘shadow-native’, ‘gdk-pixbuf-native’, ‘mkfontscale-native’, ‘gtk+3-native’, ‘nasm-native’, ‘util-linux-native’, ‘mtools-native’, ‘xz-native’, ‘desktop-file-utils-native’, ‘elfutils-native’, ‘dbus-native’, ‘db-native’, ‘bzip2-native’, ‘popt-native’, ‘openssl-native’, ‘file-native’, ‘texinfo-dummy-native’, ‘attr-native’, ‘debianutils-native’, ‘glib-2.0-native’, ‘gconf-native’, ‘zlib-native’, ‘sqlite3-native’, ‘expat-native’, ‘libxml2-native’, ‘curl-native’, ‘lzo-native’, ‘lz4-native’, ‘acl-native’, ‘binutils-native’, ‘itstool-native’, ‘gtk-doc-native’, ‘unzip-native’, ‘readline-native’, ‘libnsl2-native’, ‘libtirpc-native’, ‘gdbm-native’, ‘libffi-native’, ‘libcheck-native’, ‘swig-native’, ‘libmodulemd-v1-native’, ‘json-c-native’, ‘gobject-introspection-native’, ‘ncurses-native’, ‘re2c-native’, ‘gpgme-native’, ‘m4-native’, ‘libjpeg-turbo-native’, ‘libpng-native’, ‘meson-native’, ‘util-macros-native’, ‘freetype-native’, ‘libfontenc-native’, ‘xorgproto-native’, ‘libxrender-native’, ‘pango-native’, ‘fontconfig-native’, ‘at-spi2-atk-native’, ‘libxcursor-native’, ‘libxrandr-native’, ‘libxext-native’, ‘libx11-native’, ‘cairo-native’, ‘libxcomposite-native’, ‘atk-native’, ‘libxdamage-native’, ‘libxi-native’, ‘libxfixes-native’, ‘groff-native’, ‘libpcre2-native’, ‘libcap-ng-native’, ‘libpcre-native’, ‘gettext-native’, ‘dbus-glib-native’, ‘intltool-native’, ‘flex-native’, ‘libyaml-native’, ‘libassuan-native’, ‘libgpg-error-native’, ‘font-util-native’, ‘fribidi-native’, ‘libxft-native’, ‘harfbuzz-native’, ‘gperf-native’, ‘at-spi2-core-native’, ‘libxcb-native’, ‘xtrans-native’, ‘libsm-native’, ‘pixman-native’, ‘libxml-parser-perl-native’, ‘icu-native’, ‘libxtst-native’, ‘libxau-native’, ‘xcb-proto-native’, ‘libxdmcp-native’, ‘libpthread-stubs-native’, ‘libice-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_dataimg
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 2.6167e-05 s, 0.0 kB/s
| /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836: line 123: mkfs.: command not found
| WARNING: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836:1 exit 127 from ‘mkfs. ext4 $force_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/data. ext4” $root_dir_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/rootfs/data” -L data’
| ERROR: Execution of ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836’ failed with exit code 127:
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 2.6167e-05 s, 0.0 kB/s
| /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836: line 123: mkfs.: command not found
| WARNING: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.823836:1 exit 127 from ‘mkfs. ext4 $force_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/data. ext4” $root_dir_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/rootfs/data” -L data’
|
ERROR: Task (/home/ravi_uppada/work/vm/test/poky/meta/recipes-sato/images/core-image-sato.bb:do_image_dataimg) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 7097 tasks of which 7087 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ravi_uppada/work/vm/test/poky/meta/recipes-sato/images/core-image-sato.bb:do_image_dataimg
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Pls help me out drew.

Regards
RAVI_UPPADA

looks like the mkfs file system type command variable is not expanding to anything.

check whether you have MENDER_DATA_PART_FSTYPE set and if you have what its value is. By default you don’t need to set this as it will use the same file system format as the ARTIFACTIMG_FSTYPE variable is set to.

Hello,
I haven’t set MENDER_DATA_PART_FSTYPE this variable.
I have set ARTIFACTIMG_FSTYPE = " ext4".

Thanks

remove the space in " ext4"

so ARTIFACTIMG_FSTYPE should look like the following

ARTIFACTIMG_FSTYPE = “ext4”

hello ,
Iam getting the error below

ravi_uppada@raviuppada-HP-EliteBook-Folio-9480m:~/work/vm/test/poky/build$ bitbake core-image-sato
Loading cache: 100% |##########################################################################################################| Time: 0:00:00
Loaded 286 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################| Time: 0:02:13
Parsing of 2386 .bb files complete (212 cached, 2174 parsed). 3505 targets, 146 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Multiple providers are available for runtime u-boot-default-env (libubootenv, u-boot)
Consider defining a PREFERRED_RPROVIDER entry to match u-boot-default-env

Build Configuration:
BB_VERSION = “1.46.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “aarch64-poky-linux”
MACHINE = “raspberrypi4-64”
DISTRO = “poky”
DISTRO_VERSION = “3.1.6”
TUNE_FEATURES = “aarch64 cortexa72 crc crypto”
TARGET_FPU = “”
meta
meta-poky
meta-yocto-bsp = “dunfell:a13bda44fcda4e79e9aed39ca1495eabecb6a7b7”
meta-gnome
meta-multimedia
meta-networking
meta-oe
meta-python
meta-xfce = “dunfell:de37512b25c1f8c6bb6ab2b3782ac0fe01443483”
meta-raspberrypi = “dunfell:77190af02d48adc2b28216775e6318e9eeda571c”
meta-mender-core
meta-mender-raspberrypi = “dunfell:f5864bfb32906b87cc24d5b84e74805994f0ef3e”

Initialising tasks: 100% |#####################################################################################################| Time: 0:00:06
Sstate summary: Wanted 39 Found 37 Missed 2 Current 2809 (94% match, 99% complete)
NOTE: Executing Tasks
ERROR: core-image-sato-1.0-r0 do_image_dataimg: Execution of ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671’ failed with exit code 127:
0+0 records in
0+0 records out
0 bytes copied, 0.000355802 s, 0.0 kB/s
/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671: line 123: mkfs.: command not found
WARNING: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671:1 exit 127 from ‘mkfs. ext4 $force_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/data. ext4” $root_dir_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/rootfs/data” -L data’

ERROR: Logfile of failure stored in: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_image_dataimg.1091671
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 500604.000000 = 385080 * 1.300000
| DEBUG: 1441792.000000 = max(500604.000000, 1339392)[1339392.000000] + 102400
| DEBUG: 1441792.000000 = int(1441792.000000)
| DEBUG: 1441792 = aligned(1441792)
| DEBUG: returning 1441792
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/btrfs-tools/btrfs-tools_5.4.1.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/cdrtools/cdrtools-native_3.01.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/opkg/opkg_0.4.2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.4.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot’, ‘/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.7.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/syslinux/syslinux_6.04-pre2.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot’, ‘virtual:native:/home/ravi_uppada/work/vm/test/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: [‘makedevs-native’, ‘pigz-native’, ‘btrfs-tools-native’, ‘depmodwrapper-cross’, ‘rpm-native’, ‘cross-localedef-native’, ‘qemuwrapper-cross’, ‘opkg-utils-native’, ‘cdrtools-native’, ‘squashfs-tools-native’, ‘opkg-native’, ‘e2fsprogs-native’, ‘ldconfig-native’, ‘mklibs-native’, ‘createrepo-c-native’, ‘prelink-native’, ‘dnf-native’, ‘syslinux-native’, ‘bmap-tools-native’, ‘update-rc.d-native’, ‘pbzip2-native’, ‘pseudo-native’, ‘quilt-native’, ‘zlib-native’, ‘systemd-systemctl-native’, ‘qemu-native’, ‘shared-mime-info-native’, ‘pkgconfig-native’, ‘lzo-native’, ‘libtool-native’, ‘acl-native’, ‘python3-native’, ‘util-linux-native’, ‘automake-native’, ‘attr-native’, ‘autoconf-native’, ‘python3-setuptools-native’, ‘gnu-config-native’, ‘patch-native’, ‘kmod-native’, ‘libarchive-native’, ‘popt-native’, ‘openssl-native’, ‘perl-native’, ‘dbus-native’, ‘elfutils-native’, ‘bzip2-native’, ‘gettext-minimal-native’, ‘db-native’, ‘xz-native’, ‘file-native’, ‘desktop-file-utils-native’, ‘mkfontscale-native’, ‘shadow-native’, ‘lz4-native’, ‘gtk+3-native’, ‘gdk-pixbuf-native’, ‘libsolv-native’, ‘texinfo-dummy-native’, ‘gconf-native’, ‘ninja-native’, ‘expat-native’, ‘glib-2.0-native’, ‘sqlite3-native’, ‘cmake-native’, ‘curl-native’, ‘libxml2-native’, ‘binutils-native’, ‘python3-iniparse-native’, ‘librepo-native’, ‘libcomps-native’, ‘libdnf-native’, ‘debianutils-native’, ‘nasm-native’, ‘mtools-native’, ‘python3-six-native’, ‘itstool-native’, ‘libtirpc-native’, ‘gdbm-native’, ‘libffi-native’, ‘libnsl2-native’, ‘readline-native’, ‘libpcre2-native’, ‘libcap-ng-native’, ‘ncurses-native’, ‘m4-native’, ‘unzip-native’, ‘gtk-doc-native’, ‘freetype-native’, ‘libfontenc-native’, ‘xorgproto-native’, ‘util-macros-native’, ‘libxi-native’, ‘libjpeg-turbo-native’, ‘atk-native’, ‘cairo-native’, ‘libxfixes-native’, ‘libxext-native’, ‘libxrandr-native’, ‘libxdamage-native’, ‘fontconfig-native’, ‘libxcomposite-native’, ‘libxrender-native’, ‘libpng-native’, ‘pango-native’, ‘gobject-introspection-native’, ‘at-spi2-atk-native’, ‘libxcursor-native’, ‘libx11-native’, ‘meson-native’, ‘intltool-native’, ‘dbus-glib-native’, ‘re2c-native’, ‘gettext-native’, ‘libpcre-native’, ‘flex-native’, ‘gpgme-native’, ‘libcheck-native’, ‘swig-native’, ‘json-c-native’, ‘libmodulemd-v1-native’, ‘groff-native’, ‘font-util-native’, ‘pixman-native’, ‘libsm-native’, ‘libxcb-native’, ‘gperf-native’, ‘harfbuzz-native’, ‘libxft-native’, ‘fribidi-native’, ‘at-spi2-core-native’, ‘xtrans-native’, ‘libxml-parser-perl-native’, ‘libassuan-native’, ‘libgpg-error-native’, ‘libyaml-native’, ‘libice-native’, ‘libxau-native’, ‘libxdmcp-native’, ‘xcb-proto-native’, ‘libpthread-stubs-native’, ‘icu-native’, ‘libxtst-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_dataimg
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.000355802 s, 0.0 kB/s
| /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671: line 123: mkfs.: command not found
| WARNING: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671:1 exit 127 from ‘mkfs. ext4 $force_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/data. ext4” $root_dir_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/rootfs/data” -L data’
| ERROR: Execution of ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671’ failed with exit code 127:
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.000355802 s, 0.0 kB/s
| /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671: line 123: mkfs.: command not found
| WARNING: /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671:1 exit 127 from ‘mkfs. ext4 $force_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/data. ext4” $root_dir_flag “/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/rootfs/data” -L data’
|
ERROR: Task (/home/ravi_uppada/work/vm/test/poky/meta/recipes-sato/images/core-image-sato.bb:do_image_dataimg) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 7097 tasks of which 7090 didn’t need to be rerun and 1 failed.

Summary: 1 task failed:
/home/ravi_uppada/work/vm/test/poky/meta/recipes-sato/images/core-image-sato.bb:do_image_dataimg
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Regards
RAVI

The same error is repeatedly coming, pls help me out.

You are still getting the following:

| ERROR: Execution of ‘/home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671’ failed with exit code 127:
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 0.000355802 s, 0.0 kB/s
| /home/ravi_uppada/work/vm/test/poky/build/tmp/work/raspberrypi4_64-poky-linux/core-image-sato/1.0-r0/temp/run.do_image_dataimg.1091671: line 123: mkfs.: command not found

That should be mkfs.ext4 or some other filesystem type. Can you share your conf/local.conf, and (if they exist) cont/auto.conf and conf/site.conf files?

hello Drew,
pls find the local.conf file.

MACHINE ??= “raspberrypi4-64”

BB_NUMBER_THREADS = ‘6’
PARALLEL_MAKE = ‘-j 6’

MENDER_ARTIFACT_NAME = “release-1”
ARTIFACTIMG_FSTYPE = " ext4"

DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = “systemd”
DISTRO_FEATURES_BACKFILL_CONSIDERED = “sysvinit”
VIRTUAL-RUNTIME_initscripts = “”

MENDER_STORAGE_TOTAL_SIZE_MB = “3000”
INHERIT += “mender-full”

MENDER_SERVER_URL = " https://hosted.mender.io"
MENDER_TENANT_TOKEN = " eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW5kZXIudGVuYW50IjoiNjAxY2U5OWQ5N2E1ODI4OTc4NmM1ZjNjIiwiaXNzIjoiTWVuZGVyIiwic3ViIjoiNjAxY2U5OWQ5N2E1ODI4OTc4NmM1ZjNjIn0.EFYdA7-2a-DLuonoe1HJD8gSOB3_Fhg8JAFgeODSA9mIdmNnA9IqMbBdp-xvpqej5nOs7FtynMHPJjM3yCZFtzm-lre5QjHfJLVbOkb4nb_cHGEfQtGWk-63Q0EyVWriLu8Lcm8n6YhHIeabQ8Y1iyElSRS5gCboY39BhsiODLJ5ZUA5haGkws2TNwmL37kph6QCwAx9XHBZfLzuPrAHojY4fAblX2xdO2S0D8vR0IknnLrt6U2jQw08Z7O9tgWl2OKnyN50HGNRcqj4DEaCasAsl2rJuiFHHrDZkGC2H8j6BkjUBouQLSl0vHvRMHhOHz8zzhLbAkhqn8Btv6WnXpriOjzRQZtfcJwFIBqXgXblbXEjYQ5qsp99HchmU6HHRUjtieFg9ms0KC42MPSEIHp6Kx_NCX-AER3psCuEwdvwCx5d33Qoda4Cv6r9afCRZfUpR08mvEbrzcQPcBLR5DstjN2sbKjCeedtbXZWvazKFzXqGaisSefz4u01crHr"

DISTRO ?= “poky”
PACKAGE_CLASSES ?= “package_rpm”
EXTRA_IMAGE_FEATURES ?= “debug-tweaks”
USER_CLASSES ?= “buildstats image-mklibs image-prelink”
PATCHRESOLVE = “noop”

BB_DISKMON_DIRS ??= "
STOPTASKS,{TMPDIR},1G,100K \ STOPTASKS,{DL_DIR},1G,100K
STOPTASKS,{SSTATE_DIR},1G,100K \ STOPTASKS,/tmp,100M,100K \ ABORT,{TMPDIR},100M,1K
ABORT,{DL_DIR},100M,1K \ ABORT,{SSTATE_DIR},100M,1K
ABORT,/tmp,10M,1K"

PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
CONF_VERSION = “1”

You still have the space character in the ARTIFACTIMG_FSTYPE variable definition. It needs to be:

ARTIFACTIMG_FSTYPE = "ext4"

And you will want to reset tenant token since you posted that here. @0lmi can you help with that?

Drew

hello Drew,
I have made the change and added MENDER_STORAGE_TOTAL_SIZE_MB in the local.conf.

NOTE: Executing Tasks
ERROR: Task (/home/ravi_uppada/work/vm/test/poky/meta/recipes-sato/images/core-image-sato.bb:do_image_tar) failed with exit code ‘134’
ERROR: Task (/home/ravi_uppada/work/vm/test/poky/meta/recipes-sato/images/core-image-sato.bb:do_image_wic) failed with exit code ‘134’
NOTE: Tasks Summary: Attempted 7097 tasks of which 7087 didn’t need to be rerun and 2 failed.

The following error has occured.

Thanks Drew