# Integrating mender with yocto(core-image-sato)

**URL:** <https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247>\
**Category:** General Discussions\
**Tags:** yocto\
**Created:** [February 19, 2021, 7:36am UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247 "2021-02-19T07:36:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 19, 2021, 7:36am UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/1 "2021-02-19T07:36:51Z")

</div>

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’ "

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 19, 2021, 3:18pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/2 "2021-02-19T15:18:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 19, 2021, 5:33pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/3 "2021-02-19T17:33:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 19, 2021, 6:09pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/4 "2021-02-19T18:09:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 19, 2021, 6:16pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/5 "2021-02-19T18:16:45Z")

</div>

## 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

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 19, 2021, 6:28pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/6 "2021-02-19T18:28:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 19, 2021, 6:47pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/7 "2021-02-19T18:47:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 21, 2021, 1:05pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/8 "2021-02-21T13:05:29Z")

</div>

## 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](https://wiki.yoctoproject.org/wiki/Pseudo_Abort) 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](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

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 21, 2021, 3:05pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/9 "2021-02-21T15:05:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 21, 2021, 3:17pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/10 "2021-02-21T15:17:55Z")

</div>

Thanks , will follow as per above.

Ravi

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 22, 2021, 8:19am UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/11 "2021-02-22T08:19:22Z")

</div>

## 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

---

<div class="post-metadata">

**Author:** ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)\
**Post date:** [February 22, 2021, 12:08pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/12 "2021-02-22T12:08:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 22, 2021, 2:56pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/13 "2021-02-22T14:56:53Z")

</div>

Hello,  
I haven’t set MENDER\_DATA\_PART\_FSTYPE this variable.  
I have set ARTIFACTIMG\_FSTYPE = " ext4".

Thanks

---

<div class="post-metadata">

**Author:** ![dellgreen](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/dellgreen/32/85_2.png) [@dellgreen](https://hub.mender.io/u/dellgreen)\
**Post date:** [February 22, 2021, 4:03pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/14 "2021-02-22T16:03:23Z")

</div>

remove the space in " ext4"

so ARTIFACTIMG\_FSTYPE should look like the following

> ARTIFACTIMG\_FSTYPE = “ext4”

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 22, 2021, 5:39pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/15 "2021-02-22T17:39:33Z")

</div>

## 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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 22, 2021, 5:40pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/16 "2021-02-22T17:40:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 22, 2021, 5:54pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/17 "2021-02-22T17:54:35Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 23, 2021, 4:32am UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/18 "2021-02-23T04:32:24Z")

</div>

## 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](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”

---

<div class="post-metadata">

**Author:** ![drewmoseley](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/drewmoseley/32/47_2.png) [@drewmoseley](https://hub.mender.io/u/drewmoseley)\
**Post date:** [February 23, 2021, 1:40pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/19 "2021-02-23T13:40:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![urk2511](https://avatars.discourse-cdn.com/v4/letter/u/f0a364/32.png) [@urk2511](https://hub.mender.io/u/urk2511)\
**Post date:** [February 23, 2021, 3:52pm UTC](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247/20 "2021-02-23T15:52:16Z")

</div>

## 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

[Next page](https://hub.mender.io/t/integrating-mender-with-yocto-core-image-sato/3247.md?page=2)
