Hi Mathieu,

On 2/19/26 01:50, Mathieu Dubois-Briand via lists.openembedded.org wrote:
On Wed Feb 18, 2026 at 1:22 PM CET, Robert Yang via lists.openembedded.org 
wrote:
From: Robert Yang <[email protected]>

* V6
   - Fix -cpopulate_sdk error when DISTRO = "poky"

* V5
   - Fix RP's comments: Don't hardcode libc6 into package_rpm.bbclass
   - Use SKIP_LDCONFIG_POSTINST_FRAGMENT:${PN} to fix the loop dependencies
     between /bin/sh and libc.so.

* V4
   - Fix loop dependencies issues for libc6 and busybox
   - Fix issues for can't find pkg-config files (.pc) on qemux86-64.

* V3
   - Fix Alexender's comments
     a) Suppot rpm 6
     b) Move rpm-setup-autosign to rpm-build
     c) Remove -DLIBELF_FOUND=False

   - Fix build for nativesdk-rpm

   - Drop patch for createrepo-c since it has been upgraded (rev:
     804a238c8a4e86c2bcfb2192d54cb861d5fd32a6)

* V1 & V2
   - Initial version

// Robert

The following changes since commit 2c20c05b324e5d6564c8554381019170839509bb:

   pseudo: Update to include an openat2 fix (2026-02-13 12:25:37 +0000)

are available in the Git repository at:

   https://github.com/robertlinux/yocto rbt/rpm
   https://github.com/robertlinux/yocto/tree/rbt/rpm

for you to fetch changes up to 907fd664240474a2183fc4bf7bfa35f98c53c3d4:

   rpm: 4.20.1 -> 6.0.1 (2026-02-18 10:02:04 +0000)

----------------------------------------------------------------

Robert Yang (7):

Hi Robert,

Thanks for the new version.

I believe we still have some issue:

ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf. Command 
'/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0/recipe-sysroot-native/usr/bin/dnf
 -v --rpmverbosity=info -y -c 
/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/core2-32-poky-linux/etc/dnf/dnf.conf
 
--setopt=reposdir=/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/core2-32-poky-linux/etc/yum.repos.d
 
--installroot=/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/core2-32-poky-linux
 
--setopt=logdir=/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0/temp
 
--repofrompath=oe-repo,/srv/pokybuild/yocto-worker/genericx86/build/build/tmp/work/genericx86-poky-linux/core-image-sato/1.0/oe-sdk-repo
 --setopt=install_weak_deps=False --nogpgcheck install acl-dbg acl-dev acl-src 
acpid-dbg acpid-dev acpid-src adwaita-icon-theme-dbg adwaita-icon-theme-dev 
alsa-plugins-dbg alsa-plugins-dev alsa-plugins-src alsa-state-dbg 
alsa-state-dev alsa-utils-dbg alsa-utils-dev alsa-utils-src at-spi2-core-dbg 
at-spi2-core-dev at-spi2-core-src attr-dbg attr-dev attr-src avahi-dbg 
avahi-dev avahi-libnss-mdns-dbg avahi-libnss-mdns-dev avahi-libnss-mdns-src 
avahi-src base-files-dbg base-files-dev base-passwd-dbg base-passwd-dev 
base-passwd-src bluez5-dbg bluez5-dev bluez5-src busybox-dbg busybox-dev 
busybox-src bzip2-dbg bzip2-dev bzip2-src ca-certificates-dbg 
ca-certificates-dev connman-dbg connman-dev connman-gnome-dbg connman-gnome-dev 
connman-gnome-src connman-src consolekit-dbg consolekit-dev consolekit-src 
curl-dbg curl-dev curl-src dbus-dbg dbus-dev dbus-src dbus-wait-dbg 
dbus-wait-dev dbus-wait-src debugedit-dbg debugedit-dev debugedit-src 
desktop-file-utils-dbg desktop-file-utils-dev desktop-file-utils-src dnf-dbg 
dnf-dev dropbear-dbg dropbear-dev dropbear-src e2fsprogs-dbg e2fsprogs-dev 
e2fsprogs-src elfutils-dbg elfutils-dev elfutils-src eudev-dbg eudev-dev 
eudev-src file-dbg file-dev file-src flac-dbg flac-dev flac-src formfactor-dbg 
formfactor-dev gcc-runtime-dbg gcc-runtime-src gconf-dbg gconf-dev gconf-src 
glib-networking-dbg glib-networking-dev glib-networking-src glibc-locale-dbg 
gnupg-dbg gnupg-dev gnupg-src go-dev go-runtime-dbg gpgme-dbg gpgme-dev 
gpgme-src grub-bootconf-dbg grub-bootconf-dev grub-dbg grub-dev grub-efi-dbg 
grub-efi-dev grub-efi-src grub-src gst-examples-dbg gst-examples-dev 
gst-examples-src gstreamer1.0-dbg gstreamer1.0-dev gstreamer1.0-plugins-bad-dbg 
gstreamer1.0-plugins-bad-dev gstreamer1.0-plugins-bad-src 
gstreamer1.0-plugins-base-dbg gstreamer1.0-plugins-base-dev 
gstreamer1.0-plugins-base-src gstreamer1.0-plugins-good-dbg 
gstreamer1.0-plugins-good-dev gstreamer1.0-plugins-good-src gstreamer1.0-src 
gtk+3-dbg gtk+3-dev gtk+3-src hdparm-dbg hdparm-dev hdparm-src 
hicolor-icon-theme-dbg hicolor-icon-theme-dev icu-dbg icu-dev icu-src 
init-ifupdown-dbg init-ifupdown-dev init-system-helpers-dbg 
init-system-helpers-dev initscripts-dbg initscripts-dev iptables-dbg 
iptables-dev iptables-src iw-dbg iw-dev iw-src kbd-dbg kbd-dev kbd-src 
kernel-dbg kernel-dev keymaps-dbg keymaps-dev kmod-dbg kmod-dev kmod-src 
l3afpad-dbg l3afpad-dev l3afpad-src lame-dbg lame-src libacpi-dbg libacpi-dev 
libacpi-src libarchive-dbg libarchive-dev libarchive-src libasound-dbg 
libasound-dev libasound-src libassuan-dbg libassuan-dev libassuan-src libc6-src 
libcairo-dbg libcairo-dev libcairo-src libcap-dbg libcap-dev libcap-src 
libcomps-dbg libcomps-dev libcomps-src libcrypt-dbg libcrypt-dev libcrypt-src 
libdaemon-dbg libdaemon-dev libdaemon-src libdbus-glib-1-dbg libdbus-glib-1-dev 
libdbus-glib-1-src libdnf-dbg libdnf-dev libdnf-src libdrm-dbg libdrm-dev 
libdrm-src libedit-dbg libedit-dev libedit-src libegl-mesa-dev libell-dbg 
libell-dev libell-src lib
...
Error:
  Problem 1: conflicting requests
   - nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.core2_32 from 
oe-repo
  Problem 2: conflicting requests
   - nothing provides pkgconfig(libxml-2.0) needed by 
libcomps-dev-0.1.23-r0.core2_32 from oe-repo
  Problem 3: conflicting requests
   - nothing provides pkgconfig(ncurses) needed by 
libreadline-dev-8.3-r0.core2_32 from oe-repo
  Problem 4: package libsndfile-dev-1.2.2-r0.core2_32 from oe-repo requires 
flac-dev, but none of the providers can be installed
   - conflicting requests
   - nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.core2_32 from 
oe-repo
(try to add '--skip-broken' to skip uninstallable packages)

I'm sorry about that, but I can't reproduce the error, here are my settings:

PACKAGE_CLASSES = "package_rpm"
MACHINE = "genericx86"
DISTRO = "poky"

$ bitbake core-image-sato -cpopulate_sdk

I checked tmp/deploy/sdk/poky-glibc-x86_64-core-image-sato-core2-32-genericx86-toolchain-5.3.99+snapshot.target.manifest,
All the required packages are installed correctly:

flac-dev core2_32 1.5.0
libcomps-dev core2_32 0.1.23
libreadline-dev core2_32 8.3
libogg-dev core2_32 1.3.6
libxml2-dev core2_32 2.15.1
ncurses-dev core2_32 6.5

I also tested with IMAGE_CLASSES += "testimage", it also works well.

Do you have more info on how I can reproduce the issue, please?


// Robert


https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/3206
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/3206

Can you have a look at this?

Thanks,
Mathieu






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

Reply via email to