Hi,
When adding pru cgt build tools to my host SDK with:
TOOLCHAIN_HOST_TASK:append = " nativesdk-apc-sdk nativesdk-ti-cgt-pru"
I get the following error:
Since the cgt build tools are all statically linked executables this seems like a Yocto bug.
ERROR: aec-headless-image-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/sdk/image/etc/dnf/dnf.conf --setopt=reposdir=/home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/sdk/image/etc/yum.repos.d --installroot=/home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/sdk/image --setopt=logdir=/home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/temp --repofrompath=oe-repo,/home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/oe-sdk-repo --nogpgcheck install nativesdk-apc-sdk nativesdk-packagegroup-sdk-host nativesdk-ti-cgt-pru packagegroup-cross-canadian-aec-am6442' returned 1:DNF version: 4.19.0cachedir: /home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/sdk/image/var/cache/dnfAdded oe-repo repo from /home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/oe-sdk-repoUser-Agent: constructed: 'libdnf (Ubuntu 20.04; generic; Linux.x86_64)'repo: using cache for: oe-repooe-repo: using metadata from Thu 24 Jul 2025 10:59:14 PM UTC.--> Starting dependency resolution--> Finished dependency resolutionError:Problem: conflicting requests- nothing provides ld-linux.so.2 needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides ld-linux.so.2(GLIBC_2.3) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libc.so.6(GLIBC_2.3) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libdl.so.2 needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libdl.so.2(GLIBC_2.0) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libdl.so.2(GLIBC_2.1) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libm.so.6 needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libm.so.6(GLIBC_2.0) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libpthread.so.0 needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libpthread.so.0(GLIBC_2.0) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libpthread.so.0(GLIBC_2.1) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libpthread.so.0(GLIBC_2.2) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libpthread.so.0(GLIBC_2.2.3) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo- nothing provides libpthread.so.0(GLIBC_2.3.2) needed by nativesdk-ti-cgt-pru-2.3.3-r0.x86_64_nativesdk from oe-repo(try to add '--skip-broken' to skip uninstallable packages)
ERROR: Logfile of failure stored in: /home/jweyer/source/repos/yocto/meta-aec-build-env/build/tmp-aec/work/aec_am6442-phytec-linux/aec-headless-image/1.0/temp/log.do_populate_sdk.161576ERROR: Task (/home/jweyer/source/repos/yocto/meta-aec-build-env/sources/poky/../meta-aec-distro/recipes-images/images/aec-headless-image.bb:do_populate_sdk) failed with exit code '1'
From Yocto documentation:SKIP_FILEDEPS:class-nativesdk = "1"
- SKIP_FILEDEPS
Enables removal of all files from the “Provides” section of an RPM package. Removal of these files is required for packages containing prebuilt binaries and libraries such as
libstdc++andglibc.