-
Notifications
You must be signed in to change notification settings - Fork 109
Description
Hi all,
Bitbake fails when populating the target toolchain into the container (bitbake -c populate_sdk core-image-base). I'm using the docker image crops/poky:ubuntu-18.04, and the repo yocto warrior from nxp 4.19.35.
Dnf cannot install openssl-1.1.1b for the sdk (see logs).
If I remove it from my local.conf (TOOLCHAIN_HOST_TASK_append = " openssl"), then the task ends well. But I really do need openssl to build my application. My current yocto project used to run fine without the use of docker on an other computer, running Ubuntu 14.04.
bitbake logs :
ERROR: core-image-base-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/sdk/image/etc/yum.repos.d --installroot=/workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/sdk/image --setopt=logdir=/workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/temp --repofrompath=oe-repo,/workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/oe-sdk-repo --nogpgcheck install nativesdk-packagegroup-sdk-host openssl packagegroup-cross-canadian-imx8mm-tac2' returned 1:
DNF version: 4.1.0
cachedir: /workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/sdk/image/var/cache/dnf
Added oe-repo repo from /workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/oe-sdk-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Wed 08 Sep 2021 10:11:44 AM UTC.
Last metadata expiration check: 0:00:01 ago on Wed 08 Sep 2021 10:11:44 AM UTC.
No module defaults found
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: conflicting requests
- package openssl-1.1.1b-r0.aarch64 does not have a compatible architecture
- nothing provides openssl-conf needed by openssl-1.1.1b-r0.aarch64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
ERROR: core-image-base-1.0-r0 do_populate_sdk:
ERROR: core-image-base-1.0-r0 do_populate_sdk: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /workdir/build/tmp/work/imx8mm_tac2-poky-linux/core-image-base/1.0-r0/temp/log.do_populate_sdk.23262
ERROR: Task (/workdir/sources/poky/meta/recipes-core/images/core-image-base.bb:do_populate_sdk) failed with exit code '1'