On 2/12/26 14:30, Mathieu Dubois-Briand wrote:
On Wed Feb 11, 2026 at 4:20 AM CET, Robert Yang via lists.openembedded.org 
wrote:
From: Robert Yang <[email protected]>

The rpm 6 doesn't support external dependency generator. Oe-core used it for
per file dependency which was saved into pn.requires and pn.provides, but that
hasn't been used any more since 2012 (rev:
be40f6d0bb80274366af00461112af65687a4de8), and there were no complains or
updates in the past 13 years, so just drop it to support rpm 6.

Signed-off-by: Robert Yang <[email protected]>
---

Hi Robert,

I've got several build failures while picking this patch. Different
errors, but basically all about dependency issues, like:

ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf. Command 
'/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/dnf
 -v --rpmverbosity=info -y -c 
/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/sdk/image/etc/dnf/dnf.conf
 
--setopt=reposdir=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/sdk/image/etc/yum.repos.d
 
--installroot=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/sdk/image
 
--setopt=logdir=/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/temp
 
--repofrompath=oe-repo,/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/oe-sdk-repo
 --nogpgcheck install nativesdk-glib-2.0-utils nativesdk-intltool 
nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-genericx86-64 
packagegroup-go-cross-canadian-genericx86-64 
packagegroup-rust-cross-canadian-genericx86-64' returned 1:
DNF version: 4.24.0
cachedir: 
/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/sdk/image/var/cache/dnf
Added oe-repo repo from 
/srv/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/genericx86_64-poky-linux/core-image-sato/1.0/oe-sdk-repo
User-Agent: constructed: 'libdnf (Ubuntu 22.04; generic; Linux.x86_64)'
repo: using cache for: oe-repo
oe-repo: using metadata from Wed 11 Feb 2026 04:44:05 PM UTC.
--> Starting dependency resolution
--> Finished dependency resolution

Sorry, I'm on vacation. I can reproduce the error when DISTRO = "poky", and the fix is:

diff --git a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
index 1d71f373a4..9fd8122d77 100644
--- a/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
+++ b/meta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb
@@ -8,6 +8,7 @@ DUMMYPROVIDES = "\
     /bin/sh \
     /bin/bash \
     /usr/bin/env \
+    /usr/bin/pkg-config \
     libGL.so()(64bit) \
     libGL.so \
 "

I will add the patch into:

[OE-core] [PATCH v5 6/7] target-sdk-provides-dummy: Add pkg-config to 
DUMMYPROVIDES

And send the updated patches.

// Robert

Error:
  Problem: package nativesdk-wayland-dev-1.24.0-r0.x86_64_nativesdk from 
oe-repo requires /usr/bin/pkg-config, but none of the providers can be installed
   - package nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk 
from oe-repo conflicts with /bin/sh provided by 
target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
   - package nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk 
from oe-repo conflicts with /usr/bin/env provided by 
target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
   - package nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk 
from oe-repo conflicts with /bin/bash provided by 
target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
   - package nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk 
from oe-repo conflicts with pkgconfig provided by 
target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from oe-repo
   - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with /bin/sh provided by 
nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk 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 
nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk from oe-repo
   - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with /bin/bash provided by 
nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk from oe-repo
   - package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target from 
oe-repo conflicts with pkgconfig provided by 
nativesdk-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_nativesdk from oe-repo
   - package nativesdk-packagegroup-sdk-host-1.0-r0.x86_64_nativesdk from 
oe-repo requires nativesdk-wayland-dev, but none of the providers can be 
installed
   - package nativesdk-packagegroup-sdk-host-1.0-r0.x86_64_nativesdk from 
oe-repo requires nativesdk-sdk-provides-dummy, 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)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/3175
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/3165
https://autobuilder.yoctoproject.org/valkyrie/#/builders/16/builds/3191
https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/3134
...

Can you have a look at these?

Thanks,
Mathieu


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231289): 
https://lists.openembedded.org/g/openembedded-core/message/231289
Mute This Topic: https://lists.openembedded.org/mt/117751108/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to