Hello,
I tried to build toolchain for aarch64 target architecture using below command:
$ bitbake -c populate_sdk ls-image-main
Errors that i'm facing is:
ERROR: ls-image-main-22.04.2-r0 do_populate_sdk: Could not invoke dnf. Command 
'/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/recipe-sysroot-native/usr/bin/dnf
 -v --rpmverbosity=info -y -c 
/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-fsl-linux/etc/dnf/dnf.conf
 
--setopt=reposdir=/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-fsl-linux/etc/yum.repos.d
 
--installroot=/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-fsl-linux
 
--setopt=logdir=/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/temp
 
--repofrompath=oe-repo,/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/oe-sdk-repo
 --nogpgcheck install blktrace can-utils cpufrequtils dpdk-examples fio 
i2c-tools iozone3 iperf2 iperf3 ipsec-demo ipsec-tools kernel-devicetree 
kernel-image kernel-modules linuxptp lmbench lmsensors-sensors makedevs 
mmc-utils netperf openssl-engines packagegroup-core-standalone-sdk-target 
packagegroup-fsl-tools-core packagegroup-fsl-tools-extended perf rt-tests 
sysfsutils target-sdk-provides-dummy ubuntu-main ubuntu-main-dbg 
ubuntu-main-dev ubuntu-main-doc udev-extraconf udev-rules-qoriq usbutils 
watchdog' returned 1:
DNF version: 4.14.0
cachedir: 
/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-fsl-linux/var/cache/dnf
Added oe-repo repo from 
/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-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 Thu 16 May 2024 09:31:47 AM UTC.
Last metadata expiration check: 0:00:01 ago on Thu 16 May 2024 09:32:01 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target 
from oe-repo conflicts with /bin/sh provided by ubuntu-main-22.04.2-r0.aarch64 
from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with perl provided by ubuntu-main-22.04.2-r0.aarch64 from 
oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with bash provided by ubuntu-main-22.04.2-r0.aarch64 from 
oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with coreutils provided by ubuntu-main-22.04.2-r0.aarch64 
from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with /usr/bin/env provided by ubuntu-main-22.04.2-r0.aarch64 
from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with /bin/bash provided by ubuntu-main-22.04.2-r0.aarch64 
from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with bash-dev provided by ubuntu-main-22.04.2-r0.aarch64 from 
oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with pkgconfig provided by ubuntu-main-22.04.2-r0.aarch64 
from oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with perl-dev provided by ubuntu-main-22.04.2-r0.aarch64 from 
oe-repo
- package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with /usr/bin/perl provided by ubuntu-main-22.04.2-r0.aarch64 
from oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with perl 
provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with bash 
provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with coreutils 
provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with bash-dev 
provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with pkgconfig 
provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with perl-dev 
provided by target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo
- conflicting requests
Problem 2: package ubuntu-main-22.04.2-r0.aarch64 from oe-repo conflicts with 
libc6-dbg provided by libc6-dbg-2.35-r0.aarch64 from oe-repo
- package ubuntu-main-22.04.2-r0.aarch64 from oe-repo obsoletes libc6-dbg 
provided by libc6-dbg-2.35-r0.aarch64 from oe-repo
- package ubuntu-main-doc-22.04.2-r0.aarch64 from oe-repo requires ubuntu-main, 
but none of the providers can be installed
- package packagegroup-core-standalone-sdk-target-1.0-r8.aarch64 from oe-repo 
requires glibc-dbg, but none of the providers can be installed
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or 
'--skip-broken' to skip uninstallable packages)

ERROR: Logfile of failure stored in: 
/home/dhanyalakshmi/distro/build_ls1012afrwy/tmp/work/ls1012afrwy-fsl-linux/ls-image-main/22.04.2-r0/temp/log.do_populate_sdk.2348536
ERROR: Task 
(/home/dhanyalakshmi/distro/sources/meta-nxp-desktop/recipes-fsl/images/ls-image-main.bb:do_populate_sdk)
 failed with exit code '1'

Can anyone explain what is this error and how can i resolve it so that i can 
get cross compiler toolchain.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63107): https://lists.yoctoproject.org/g/yocto/message/63107
Mute This Topic: https://lists.yoctoproject.org/mt/106131316/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to