AnsweredAssumed Answered

iMX8mq Yocto: bitbake imx-image-full fail

Question asked by liu yong on Jan 14, 2020
Latest reply on Jan 16, 2020 by Bio_TICFSL

According to the method described in the official document, it took 2 weeks to download and compile. It turned out to be wrong. I do n’t know how to solve it, please help me. I really do n’t want to download it again.

 

The log is as follows:

Loading cache: 100% |######################################################################################################################################################| Time: 0:00:00
Loaded 3921 entries from dependency cache.
Parsing recipes: 100% |####################################################################################################################################################| Time: 0:00:02
Parsing of 2784 .bb files complete (2781 cached, 3 parsed). 3921 targets, 230 skipped, 4 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.42.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "aarch64-poky-linux"
MACHINE = "imx8mqevk"
DISTRO = "fsl-imx-xwayland"
DISTRO_VERSION = "4.19-warrior"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:6d2e12e79211b31cdf5ea824fb9a8be54ba9a9eb"
meta-oe
meta-multimedia = "HEAD:3bdbf72e3a4bf18a4a2c7afbde4f7ab773aeded9"
meta-freescale = "HEAD:2142f7ded1b3115ccc21f7575fd83e2376247193"
meta-freescale-3rdparty = "HEAD:da422478d38e744283bcf61123c4a526396c7030"
meta-freescale-distro = "HEAD:d4e77ea682fa10d0d54a723b3d3099c44fc5e95c"
meta-bsp
meta-sdk
meta-ml = "HEAD:bb05c60e6398b374ac49554c642a3bef36452f73"
meta-browser = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"
meta-rust = "HEAD:11aed43748d7dd194dc6c06a35a16104400d1090"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:3bdbf72e3a4bf18a4a2c7afbde4f7ab773aeded9"
meta-qt5 = "HEAD:dc2dedef9961950b88f4245ba7499538ec4244ab"

Initialising tasks: 100% |#################################################################################################################################################| Time: 0:00:06
Sstate summary: Wanted 2 Found 0 Missed 2 Current 3227 (0% match, 99% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: imx-image-full-1.0-r0 do_rootfs: Could not invoke dnf. Command '/smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/rootfs/etc/yum.repos.d --installroot=/smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/rootfs --setopt=logdir=/smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/temp --repofrompath=oe-repo,/smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/oe-rootfs-repo --nogpgcheck install locale-base-en-us locale-base-en-gb packagegroup-fsl-tools-benchmark packagegroup-fsl-optee-imx dnf packagegroup-fsl-gstreamer1.0 packagegroup-qt5-imx opencv-samples rpm weston-xwayland packagegroup-fsl-gstreamer1.0-full packagegroup-fsl-tools-testapps packagegroup-core-nfs-server weston-init psplash python3-opencv packagegroup-tools-bluetooth packagegroup-core-tools-debug run-postinsts packagegroup-fsl-tools-audio packagegroup-imx-ml packagegroup-fsl-tools-gpu-external jailhouse packagegroup-core-tools-profile packagegroup-core-ssh-dropbear packagegroup-core-tools-testapps packagegroup-core-boot packagegroup-core-full-cmdline xterm packagegroup-fsl-tools-gpu opencv-apps packagegroup-base-extended' returned 1:
DNF version: 4.1.0
cachedir: /smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/oe-rootfs-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 15 Jan 2020 06:08:40 AM UTC.
Last metadata expiration check: 0:00:01 ago on Wed 15 Jan 2020 06:08:41 AM UTC.
No module defaults found
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: conflicting requests
- nothing provides lmbench needed by packagegroup-fsl-tools-benchmark-1.0-r0.imx8mqevk
Problem 2: conflicting requests
- nothing provides optee-test-imx needed by packagegroup-fsl-optee-imx-1.0-r0.noarch
Problem 3: conflicting requests
- nothing provides cryptodev-module needed by packagegroup-fsl-tools-testapps-1.0-r0.imx8mqevk
Problem 4: conflicting requests
- nothing provides gdbserver needed by packagegroup-core-tools-debug-1.0-r3.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

ERROR: imx-image-full-1.0-r0 do_rootfs:
ERROR: imx-image-full-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /smbshared/portable_ultrasound/imx-yocto-bsp/build-xwayland/tmp/work/imx8mqevk-poky-linux/imx-image-full/1.0-r0/temp/log.do_rootfs.32034
ERROR: Task (/smbshared/portable_ultrasound/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/imx-image-full.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 8601 tasks of which 8600 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/smbshared/portable_ultrasound/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/imx-image-full.bb:do_rootfs
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

Outcomes