public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: <liezhi.yang@windriver.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: Thu, 12 Feb 2026 07:30:12 +0100	[thread overview]
Message-ID: <DGCRSK0PMVJ1.8YL67O3XYVR7@bootlin.com> (raw)
In-Reply-To: <c68679d7733198d00209107564aeba2d4fc7301e.1770779786.git.liezhi.yang@windriver.com>

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
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

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  reply	other threads:[~2026-02-12  6:30 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   ` Mathieu Dubois-Briand [this message]
2026-02-18  9:39     ` [OE-core] " Robert Yang
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=DGCRSK0PMVJ1.8YL67O3XYVR7@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=liezhi.yang@windriver.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