From: Robert Yang <liezhi.yang@windriver.com>
To: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>,
openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v5 1/7] package_rpm.bbclass: Drop external dependency generator to support rpm 6
Date: Wed, 18 Feb 2026 17:39:39 +0800 [thread overview]
Message-ID: <1584f3c8-2e31-430e-a84b-0d734bcd5136@windriver.com> (raw)
In-Reply-To: <DGCRSK0PMVJ1.8YL67O3XYVR7@bootlin.com>
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 <liezhi.yang@windriver.com>
>>
>> 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 <liezhi.yang@windriver.com>
>> ---
>
> 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
>
next prev parent reply other threads:[~2026-02-18 9:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-11 3:20 [PATCH v5 0/7] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-02-11 3:20 ` [PATCH v5 1/7] package_rpm.bbclass: Drop external dependency generator to support rpm 6 liezhi.yang
2026-02-12 6:30 ` [OE-core] " Mathieu Dubois-Briand
2026-02-18 9:39 ` Robert Yang [this message]
2026-02-11 3:20 ` [PATCH v5 2/7] package_rpm.bbclass: Define _lib and _libdir for rpmbuild liezhi.yang
2026-02-11 3:20 ` [PATCH v5 3/7] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl liezhi.yang
2026-02-11 3:20 ` [PATCH v5 4/7] glib/python3/acl: Add pkgconfig to RDEPENDS liezhi.yang
2026-02-11 3:31 ` Patchtest results for " patchtest
2026-02-11 3:35 ` Robert Yang
2026-02-11 3:20 ` [PATCH v5 5/7] lib/oe/package.py: Don't redirect stderr liezhi.yang
2026-02-11 3:20 ` [PATCH v5 6/7] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES liezhi.yang
2026-02-11 3:20 ` [PATCH v5 7/7] rpm: 4.20.1 -> 6.0.1 liezhi.yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1584f3c8-2e31-430e-a84b-0d734bcd5136@windriver.com \
--to=liezhi.yang@windriver.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox