[Yocto] bitbake imx-image-desktop -c populate_sdk to fails

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[Yocto] bitbake imx-image-desktop -c populate_sdk to fails

347 Views
andymo
Contributor I

@dear NXP teams: 

repo init -u repo init -u git@192.168.1.55:tisdk-openembedded/imx-manifest.git -b imx-linux-kirkstone-desktop -m imx-5.15.71-2.2.0_desktop.xml

DISTRO=imx-desktop-xwayland MACHINE=imx8mpevk source imx-setup-desktop.sh -b build-desktop

 

Problems that occurred while building the sdk: 

bitbake imx-image-desktop -c populate_sdk

 

ERROR: imx-image-desktop-22.04.1-r0 do_populate_sdk: Could not invoke dnf. Command '/home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux/etc/dnf/dnf.conf --setopt=reposdir=/home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux/etc/yum.repos.d --installroot=/home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux --setopt=logdir=/home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/temp --repofrompath=oe-repo,/home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/oe-sdk-repo --nogpgcheck install alsa-state apitrace basler-camera cheese chromium-ozone-wayland clutter-gst-3.0 firmware-imx-easrc-imx8mn firmware-imx-sdma-imx7d firmware-imx-xcvr-imx8mp firmwared gputop gtk+3-gles imx-alsa-plugins imx-g2d-samples imx-gpu-viv-tools imx-m7-demos isp-imx kernel-devicetree kernel-image kernel-module-isp-vvcam kernel-module-nxp89xx kernel-modules libclc-imx libclc-imx-dev libcogl libdrm-vivante libegl-imx libegl-imx-dev libgal-imx libgal-imx-dev libgbm-imx libgbm-imx-dev libgles1-imx libgles1-imx-dev libgles2-imx libgles2-imx-dev libgles3-imx-dev libglslc-imx libgpuperfcnt libnn-imx libopencl-imx libopenvx-imx libopenvx-imx-dev libvsc-imx libvulkan-imx linux-firmware-ath10k linux-firmware-nxp89xx nnstreamer nnstreamer-protobuf nnstreamer-python3 nnstreamer-tensorflow-lite nxp-wlan-sdk opencv packagegroup-core-standalone-sdk-target packagegroup-fsl-gstreamer1.0 packagegroup-fsl-gstreamer1.0-full perf sof-imx sof-zephyr systemd-gpuconfig target-sdk-provides-dummy tensorflow-lite tensorflow-lite-vx-delegate ubuntu-base ubuntu-base-dbg ubuntu-base-dev ubuntu-base-doc udev-rules-imx wayland-protocols xwayland zephyr-demo-imx' returned 1:
DNF version: 4.11.1
cachedir: /home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/armv8a-fsl-linux/var/cache/dnf
Added oe-repo repo from /home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/oe-sdk-repo
User-Agent: falling back to 'libdnf': could not detect OS or basearch
repo: using cache for: oe-repo
oe-repo: using metadata from Tue 06 Feb 2024 02:18:41 PM UTC.
Last metadata expiration check: 0:00:02 ago on Tue 06 Feb 2024 02:18:45 PM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /bin/sh provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with coreutils provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/env provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with bash provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /bin/bash provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with bash-dev provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl-dev provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with pkgconfig provided by ubuntu-base-22.04.1-r0.armv8a
  • package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by ubuntu-base-22.04.1-r0.armv8a
  • package ubuntu-base-22.04.1-r0.armv8a conflicts with perl provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target
  • package ubuntu-base-22.04.1-r0.armv8a conflicts with coreutils provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target
  • package ubuntu-base-22.04.1-r0.armv8a conflicts with bash provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target
  • package ubuntu-base-22.04.1-r0.armv8a conflicts with bash-dev provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target
  • package ubuntu-base-22.04.1-r0.armv8a conflicts with perl-dev provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target
  • package ubuntu-base-22.04.1-r0.armv8a conflicts with pkgconfig provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target
  • conflicting requests
  • package ubuntu-base-22.04.1-r0.armv8a obsoletes libc6-dbg provided by libc6-dbg-2.35-r0.armv8a
  • package ubuntu-base-dev-22.04.1-r0.armv8a requires ubuntu-base = 22.04.1-r0, but none of the providers can be installed
  • package packagegroup-core-standalone-sdk-target-1.0-r8.armv8a requires glibc-dbg, but none of the providers can be installed
  • conflicting requests
ERROR: Logfile of failure stored in: /home/lyf/work/nxp-desktop/build-desktop/tmp/work/imx8mpevk-fsl-linux/imx-image-desktop/22.04.1-r0/temp/log.do_populate_sdk.3784551
ERROR: Task (/home/lyf/work/nxp-desktop/sources/meta-nxp-desktop/recipes-fsl/images/imx-image-desktop.bb:do_populate_sdk) failed with exit code '1'
0 Kudos
1 Reply

330 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi, 

As I know, Unfortunately, to compile SDK hasn't supported for desktop so far. 

 

Regards

Harvey

0 Kudos