meta-iotedge
meta-iotedge copied to clipboard
ERROR: aziotctl-1.4.7.AUTOINC+91e058880c-r0 do_install: kirkstone meta-iotedge
Describe the bug
I'm getting an error while building azure meta-iotedge for a kirkstone image.
ERROR: aziotctl-1.4.7.AUTOINC+91e058880c-r0 do_install: ExecutionError('/mnt/storage/yocto/kirkstone/builds/digitalsignage/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/aziotctl/1.4.7.AUTOINC+91e058880c-r0/temp/run.do_install.2491067', 1, None, None) ERROR: Logfile of failure stored in: /mnt/storage/yocto/kirkstone/builds/digitalsignage/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/aziotctl/1.4.7.AUTOINC+91e058880c-r0/temp/log.do_install.2491067
To Reproduce
Build with the following local.conf and bblayers.conf
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/mnt/storage/yocto/kirkstone/poky/meta \
/mnt/storage/yocto/kirkstone/poky/meta-poky \
/mnt/storage/yocto/kirkstone/poky/meta-yocto-bsp \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-oe \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-multimedia \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-networking \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-python \
/mnt/storage/yocto/kirkstone/meta-raspberrypi \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-filesystems \
/mnt/storage/yocto/kirkstone/meta-virtualization \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-gnome \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-xfce \
/mnt/storage/yocto/kirkstone/meta-clang \
/mnt/storage/yocto/kirkstone/meta-lts-mixins \
/mnt/storage/yocto/kirkstone/meta-rust \
/mnt/storage/yocto/kirkstone/meta-iotedge \
/mnt/storage/yocto/kirkstone/meta-swupdate \
/mnt/storage/yocto/kirkstone/meta-iot-hub-device-update-delta \
/mnt/storage/yocto/kirkstone/meta-azure-device-update \
/mnt/storage/yocto/kirkstone/meta-openembedded/meta-perl \
/mnt/storage/yocto/kirkstone/meta-security/meta-tpm \
/mnt/storage/yocto/kirkstone/meta-browser/meta-chromium \
/mnt/storage/yocto/kirkstone/meta-kiosk \
"
MACHINE ??= "raspberrypi4"
DL_DIR ?= "/mnt/storage/yocto/scarthgap/downloads"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
HALT,${TMPDIR},100M,1K \
HALT,${DL_DIR},100M,1K \
HALT,${SSTATE_DIR},100M,1K \
HALT,/tmp,10M,1K"
CONF_VERSION = "2"
BBMASK += "poky/meta/recipes-devtools/rust"
BBMASK += "poky/meta/recipes-devtools/cargo"
PREFERRED_PROVIDER_virtual/docker = "docker-moby"
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
IMAGE_FEATURES += "ssh-server-dropbear"
BBMASK += "poky/meta/recipes-devtools/rust"
BBMASK += "poky/meta/recipes-devtools/cargo"
DISTRO_FEATURES:append = " systemd usrmerge virtualization raspberrypi xfce "
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
IMAGE_INSTALL:append = " chromium-ozone-wayland docker-moby "
IMAGE_FEATURES:append = " x11-base hwcodecs ssh-server-dropbear splash "
IMAGE_INSTALL:append = " packagegroup-core-boot packagegroup-core-x11 packagegroup-xfce-base kernel-modules azure-device-update iotedge aziotd aziot-keys "
Expected behavior An image with iotedge and all the suite needed inside.
Logs
Loading cache: 100% |
| ETA: --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:44
Parsing of 3111 .bb files complete (0 cached, 3111 parsed). 4672 targets, 201 skipped, 50 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi4"
DISTRO = "poky"
DISTRO_VERSION = "4.0.17"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "kirkstone:1e0d58c53b7d9c3feb631e46666ae7a3e3614253"
meta-oe
meta-multimedia
meta-networking
meta-python = "kirkstone:8bb16533532b6abc2eded7d9961ab2a108fd7a5b"
meta-raspberrypi = "kirkstone:9dc6673d41044f1174551120ce63501421dbcd85"
meta-filesystems = "kirkstone:8bb16533532b6abc2eded7d9961ab2a108fd7a5b"
meta-virtualization = "kirkstone:cb2bc17e96552cdfc141d27bd9f4dbd95a872846"
meta-gnome
meta-xfce = "kirkstone:8bb16533532b6abc2eded7d9961ab2a108fd7a5b"
meta-clang = "kirkstone:312ff1c39b1bf5d35c0321e873417eb013cea477"
meta-lts-mixins = "kirkstone/rust-1.70:1a4a2bb94f115ba240adbe53280f8ef71f5739d0"
meta-rust = "master:9611b42d73c7546c3d845da380943a0a4f4205f0"
meta-iotedge = "main:6518416d7a3ee5260f5fb879216df35ee3115a4d"
meta-swupdate = "kirkstone:f6e6e0f50366877f7988defdb9ba61a9ac9280e3"
meta-iot-hub-device-update-delta = "kirkstone:95e036e912f823f1da6bbbfa21b2d1db06700c5f"
meta-azure-device-update = "kirkstone:38aa08e8849dc199eb73139f53540d979b1b8664"
meta-perl = "kirkstone:8bb16533532b6abc2eded7d9961ab2a108fd7a5b"
meta-tpm = "kirkstone:1a3e42cedbd94ca73be45800d0e902fec35d0f0f"
meta-chromium = "kirkstone:40ebd7f5088f75560b3a2032e48e614d0428b022"
meta-kiosk = "<unknown>:<unknown>"
Initialising tasks: 100% |###################################################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:05
Sstate summary: Wanted 202 Local 1 Mirrors 0 Missed 201 Current 2819 (0% match, 93% complete)
Removing 2 stale sstate objects for arch raspberrypi4: 100% |################################################################################################################################################################################################################################################################################################################################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: aziotctl-1.4.7.AUTOINC+91e058880c-r0 do_install: ExecutionError('/mnt/storage/yocto/kirkstone/builds/digitalsignage/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/aziotctl/1.4.7.AUTOINC+91e058880c-r0/temp/run.do_install.2491067', 1, None, None)
ERROR: Logfile of failure stored in: /mnt/storage/yocto/kirkstone/builds/digitalsignage/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/aziotctl/1.4.7.AUTOINC+91e058880c-r0/temp/log.do_install.2491067
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/mnt/storage/yocto/kirkstone/meta-lts-mixins/recipes-devtools/rust/libstd-rs_1.70.0.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/meta-virtualization/recipes-containers/docker/docker-moby_git.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-connectivity/openssl/openssl_3.0.13.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/meta-lts-mixins/recipes-devtools/rust/cargo_1.70.0.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/meta-lts-mixins/recipes-devtools/rust/rust_1.70.0.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/python/python3_3.10.13.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['libstd-rs', 'docker-moby', 'openssl', 'glibc', 'gcc-cross-arm', 'gcc-runtime', 'quilt-native', 'cargo-native', 'rust-native', 'patch-native', 'pseudo-native', 'python3-native', 'opkg-utils', 'libtool-native', 'attr-native', 'libmpc-native', 'xz-native', 'linux-libc-headers', 'gmp-native', 'binutils-cross-arm', 'gnu-config-native', 'flex-native', 'zlib-native', 'mpfr-native', 'texinfo-dummy-native', 'zstd-native', 'libgcc', 'libffi-native', 'libtirpc-native', 'readline-native', 'gdbm-native', 'openssl-native', 'ncurses-native', 'sqlite3-native', 'bzip2-native', 'libnsl2-native', 'util-linux-libuuid-native', 'compose-file', 'btrfs-tools', 'go-capability', 'go-runtime', 'base-passwd', 'shadow', 'notary', 'go-mux', 'go-systemd', 'go-logrus', 'grpc-go', 'go-fsnotify', 'sqlite3', 'go-distribution', 'go-context', 'base-files', 'go-connections', 'shadow-native', 'shadow-sysroot', 'go-patricia', 'go-dbus', 'lvm2', 'libseccomp', 'libtool', 'go-pty', 'go-cli', 'ca-certificates-native', 'libssh2-native', 'curl-native', 'rust-llvm-native', 'gettext-minimal-native', 'm4-native', 'perl-native', 'lzo', 'e2fsprogs', 'zlib', 'python3', 'util-linux', 'attr', 'libxcrypt', 'systemd', 'libaio', 'cmake-native', 'make-native', 'autoconf-archive', 'ncurses', 'gdbm', 'libffi', 'bzip2', 'xz', 'libtirpc', 'readline', 'util-linux-libuuid', 'libnsl2', 'bash-completion', 'libcap-ng', 'acl', 'libxkbcommon', 'zstd', 'kmod', 'libcap', 'libxcb', 'wayland', 'libxml2', 'xkeyboard-config', 'wayland-protocols', 'libpthread-stubs', 'libxdmcp', 'libxau', 'xcb-proto', 'xorgproto', 'expat', 'util-macros']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| install: cannot stat '/mnt/storage/yocto/kirkstone/builds/digitalsignage/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/aziotctl/1.4.7.AUTOINC+91e058880c-r0/build/target/arm-poky-linux-gnueabi/release/aziotctl': No such file or directory
| WARNING: exit code 1 from a shell command.
ERROR: Task (/mnt/storage/yocto/kirkstone/meta-iotedge/recipes-core/aziotctl/aziotctl_1.4.7.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4077 tasks of which 3943 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/mnt/storage/yocto/kirkstone/meta-iotedge/recipes-core/aziotctl/aziotctl_1.4.7.bb:do_install
Summary: There were 2 WARNING messages.
Summary: There was 1 ERROR message, returning a non-zero exit code.
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/mnt/storage/yocto/kirkstone/meta-lts-mixins/recipes-devtools/rust/libstd-rs_1.70.0.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/meta-virtualization/recipes-containers/docker/docker-moby_git.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-connectivity/openssl/openssl_3.0.13.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/gcc/gcc-cross_11.4.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/gcc/gcc-runtime_11.4.bb:do_populate_sysroot', '/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/meta-lts-mixins/recipes-devtools/rust/cargo_1.70.0.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/meta-lts-mixins/recipes-devtools/rust/rust_1.70.0.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/mnt/storage/yocto/kirkstone/poky/meta/recipes-devtools/python/python3_3.10.13.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['libstd-rs', 'docker-moby', 'openssl', 'glibc', 'gcc-cross-arm', 'gcc-runtime', 'quilt-native', 'cargo-native', 'rust-native', 'patch-native', 'pseudo-native', 'python3-native', 'opkg-utils', 'libtool-native', 'attr-native', 'libmpc-native', 'xz-native', 'linux-libc-headers', 'gmp-native', 'binutils-cross-arm', 'gnu-config-native', 'flex-native', 'zlib-native', 'mpfr-native', 'texinfo-dummy-native', 'zstd-native', 'libgcc', 'libffi-native', 'libtirpc-native', 'readline-native', 'gdbm-native', 'openssl-native', 'ncurses-native', 'sqlite3-native', 'bzip2-native', 'libnsl2-native', 'util-linux-libuuid-native', 'compose-file', 'btrfs-tools', 'go-capability', 'go-runtime', 'base-passwd', 'shadow', 'notary', 'go-mux', 'go-systemd', 'go-logrus', 'grpc-go', 'go-fsnotify', 'sqlite3', 'go-distribution', 'go-context', 'base-files', 'go-connections', 'shadow-native', 'shadow-sysroot', 'go-patricia', 'go-dbus', 'lvm2', 'libseccomp', 'libtool', 'go-pty', 'go-cli', 'ca-certificates-native', 'libssh2-native', 'curl-native', 'rust-llvm-native', 'gettext-minimal-native', 'm4-native', 'perl-native', 'lzo', 'e2fsprogs', 'zlib', 'python3', 'util-linux', 'attr', 'libxcrypt', 'systemd', 'libaio', 'cmake-native', 'make-native', 'autoconf-archive', 'ncurses', 'gdbm', 'libffi', 'bzip2', 'xz', 'libtirpc', 'readline', 'util-linux-libuuid', 'libnsl2', 'bash-completion', 'libcap-ng', 'acl', 'libxkbcommon', 'zstd', 'kmod', 'libcap', 'libxcb', 'wayland', 'libxml2', 'xkeyboard-config', 'wayland-protocols', 'libpthread-stubs', 'libxdmcp', 'libxau', 'xcb-proto', 'xorgproto', 'expat', 'util-macros']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function do_install
install: cannot stat '/mnt/storage/yocto/kirkstone/builds/digitalsignage/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/aziotctl/1.4.7.AUTOINC+91e058880c-r0/build/target/arm-poky-linux-gnueabi/release/aziotctl': No such file or directory
WARNING: exit code 1 from a shell command.
Build System (please complete the following information):
- Debian 11
Target System (please complete the following information):
- Raspberry Pi 4
Additional context