Hi.. guys Hope all are doing well... I'm dealing with the Yocto Kirkstone with my custom -image In my case, everything is working well and I can boot my STM32MP1 board with the custom image.
My aim is to populate the SDK for the further development > > I'm using the command bitbake -c populate_sdk custom-image, however during > the mid of the build it's throwing the error as mentioned below > > > RROR: custom-image-1.0-r0 do_populate_sdk: Could not invoke dnf. Command > '/home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/recipe-sysroot-native/usr/bin/dnf > -v --rpmverbosity=info -y -c > /home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/sdk/image/etc/dnf/dnf.conf > --setopt=reposdir=/home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/sdk/image/etc/yum.repos.d > --installroot=/home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/sdk/image > --setopt=logdir=/home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/temp > --repofrompath=oe-repo,/home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/oe-sdk-repo > --nogpgcheck install nativesdk-binutils nativesdk-cpp-symlinks > nativesdk-dtc nativesdk-fiptool-stm32mp nativesdk-flex > nativesdk-gcc-arm-none-eabi nativesdk-gcc-symlinks > nativesdk-glibc-gconv-utf-16 nativesdk-glibc-gconv-utf-32 > nativesdk-libyaml nativesdk-libyaml-dev nativesdk-ncurses-libncursesw > nativesdk-openocd-stm32mp nativesdk-openssl-dev nativesdk-optee-sdk > nativesdk-packagegroup-sdk-host nativesdk-perl-module-encode > nativesdk-perl-module-encode-encoding > nativesdk-perl-module-encode-mime-header > nativesdk-perl-module-file-spec-functions nativesdk-perl-module-integer > nativesdk-perl-module-pod-text nativesdk-perl-module-term-ansicolor > nativesdk-python3 nativesdk-python3-cffi nativesdk-python3-cryptography > nativesdk-python3-dev nativesdk-python3-pillow nativesdk-python3-pycparser > nativesdk-python3-pycryptodomex nativesdk-python3-pyelftools > nativesdk-python3-setuptools nativesdk-sdcard-raw-tools > nativesdk-stm32wrapper4dbg nativesdk-svd-tools nativesdk-swig > nativesdk-u-boot-mkimage nativesdk-wayland > packagegroup-cross-canadian-stm32mp1' returned 1: > DNF version: 4.11.1 > cachedir: > /home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/sdk/image/var/cache/dnf > > Added oe-repo repo from > /home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/oe-sdk-repo > > User-Agent: constructed: 'libdnf (Ubuntu 20.04; generic; Linux.x86_64)' > repo: using cache for: oe-repo > oe-repo: using metadata from Tue 06 Aug 2024 06:12:23 PM UTC. > Last metadata expiration check: 0:00:01 ago on Thu 08 Aug 2024 06:30:38 PM > UTC. > --> Starting dependency resolution > --> Finished dependency resolution > Error: > Problem: conflicting requests > - nothing provides libpython3.6m.so.1.0()(64bit) needed by > nativesdk-gcc-arm-none-eabi-11-r0.x86_64_nativesdk > (try to add '--skip-broken' to skip uninstallable packages) > ERROR: Logfile of failure stored in: > /home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/build-mp1/tmp/work/stm32mp1-poky-linux-gnueabi/custom-image/1.0-r0/temp/log.do_populate_sdk.1764001 > > ERROR: Task > (/home/mahendra/Documents/MyWorkSpace/my-git/Yocto-stm32mp1/meta-custom/recipes-core/images/custom-image.bb:do_populate_sdk) > failed with exit code '1' > > Can any one help me here to figure-out the issue ? PS: I have already installed python3 python3-pip with the image. I have already added the meta-python layers with the image pl. suggest I have attached my custom-image.bb file here for the reference pl. suggest Thanks, Mahendra
custom-image.bb
Description: Binary data
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63680): https://lists.yoctoproject.org/g/yocto/message/63680 Mute This Topic: https://lists.yoctoproject.org/mt/107795481/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-