Re: [PATCH v7 0/7] rpm: 4.20.1 -> 6.0.1

Mathieu Dubois-Briand
2026-03-02T10:47:14Z

On Sun Mar 1, 2026 at 1:25 PM CET, liezhi.yang wrote:
> From: Robert Yang <liezhi.yang@windriver.com>
>
> * V7:
> - Add 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch:
> To fix "bitbake core-image-sato -cpopulate_sdk" error on Ubuntu 24.04 when
> pkg-config is installed on host, now the host contamination has been fixed,
> and the patch has been submitted to upstream:
> https://github.com/rpm-software-management/rpm/pull/4127
>
> * 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
>

Hi Robert,

Thanks for the new version, but it looks like we still have some kind of
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 ...
...
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: conflicting requests
- nothing provides pkgconfig(gtk+-3.0) needed by libfm-dev-1.3.2-r0.core2_32 from oe-repo
Problem 2: conflicting requests
- nothing provides pkgconfig(cairo) >= 1.10.0 needed by libharfbuzz-dev-12.3.2-r0.core2_32 from oe-repo
Problem 3: conflicting requests
- nothing provides pkgconfig(cairo) >= 1.18.0 needed by librsvg-2-dev-2.61.3-r0.core2_32 from oe-repo
- nothing provides pkgconfig(cairo-gobject) >= 1.18.0 needed by librsvg-2-dev-2.61.3-r0.core2_32 from oe-repo
- nothing provides pkgconfig(cairo-png) >= 1.18.0 needed by librsvg-2-dev-2.61.3-r0.core2_32 from oe-repo
- nothing provides pkgconfig(pangocairo) >= 1.50.0 needed by librsvg-2-dev-2.61.3-r0.core2_32 from oe-repo
- nothing provides pkgconfig(pangoft2) >= 1.50.0 needed by librsvg-2-dev-2.61.3-r0.core2_32 from oe-repo
Problem 4: conflicting requests
- nothing provides pkgconfig(gtk+-3.0) needed by matchbox-panel-2-dev-2.12-r0.core2_32 from oe-repo
Problem 5: conflicting requests
- nothing provides pkgconfig(cairo) >= 1.0 needed by vte-dev-0.82.2-r0.core2_32 from oe-repo
- nothing provides pkgconfig(pango) >= 1.22.0 needed by vte-dev-0.82.2-r0.core2_32 from oe-repo
- nothing provides pkgconfig(gtk+-3.0) >= 3.24.0 needed by vte-dev-0.82.2-r0.core2_32 from oe-repo
Problem 6: package pango-dev-1.57.0-r0.core2_32 from oe-repo requires harfbuzz-dev, but none of the providers can be installed
- conflicting requests
- nothing provides pkgconfig(cairo) >= 1.10.0 needed by libharfbuzz-dev-12.3.2-r0.core2_32 from oe-repo
Problem 7: package gtk+3-dev-3.24.51-r0.core2_32 from oe-repo requires pango-dev, but none of the providers can be installed
- package pango-dev-1.57.0-r0.core2_32 from oe-repo requires harfbuzz-dev, but none of the providers can be installed
- conflicting requests
- nothing provides pkgconfig(cairo) >= 1.10.0 needed by libharfbuzz-dev-12.3.2-r0.core2_32 from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/3281
https://autobuilder.yoctoproject.org/valkyrie/#/builders/36/builds/3277

ERROR: build-appliance-image-15.0.0-r0 do_rootfs: Could not invoke dnf. Command '/srv/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /srv/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/srv/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0/rootfs/etc/yum.repos.d --installroot=/srv/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0/rootfs --setopt=logdir=/srv/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0/temp --repofrompath=oe-repo,/srv/pokybuild/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0/oe-rootfs-repo --nogpgcheck install connman connman-plugin-ethernet dhcpcd dnf kernel-dev kernel-devsrc packagegroup-core-boot packagegroup-core-ssh-openssh packagegroup-core-x11-base packagegroup-self-hosted perl-misc psplash python3-pip rpm run-postinsts tzdata locale-base-c locale-base-en-us locale-base-en-gb' returned 1:
...
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem: package packagegroup-self-hosted-graphics-1.0-r0.x86_64_v3 from oe-repo requires libgl-dev, but none of the providers can be installed
- package packagegroup-self-hosted-1.0-r0.x86_64_v3 from oe-repo requires packagegroup-self-hosted-graphics, but none of the providers can be installed
- package libgl-mesa-dev-2:26.0.1-r0.x86_64_v3 from oe-repo requires libdrm-dev, but none of the providers can be installed
- package libgl-mesa-dev-2:26.0.1-r0.x86_64_v3 from oe-repo requires pkgconfig(libdrm) >= 2.4.75, but none of the providers can be installed
- conflicting requests
- nothing provides pkgconfig(pciaccess) >= 0.10 needed by libdrm-dev-2.4.131-r0.x86_64_v3 from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/78/builds/3303

Can you have a look at these?
Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering