From: "Gavini, Sumanth" <sumanth.gavini@windriver.com>
To: "mathieu.dubois-briand@bootlin.com"
<mathieu.dubois-briand@bootlin.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Cc: "alex.kanavin@gmail.com" <alex.kanavin@gmail.com>,
"mattware@cisco.com" <mattware@cisco.com>,
"esparlin@cisco.com" <esparlin@cisco.com>,
"peter.marko@siemens.com" <peter.marko@siemens.com>,
"MacLeod, Randy" <Randy.MacLeod@windriver.com>
Subject: Re: [OE-core] [PATCH v11 0/9] rpm: 4.20.1 -> 6.0.2
Date: Thu, 30 Jul 2026 18:13:51 +0000 [thread overview]
Message-ID: <40d27de1-afee-4c92-abef-b2d09ab7a036@windriver.com> (raw)
In-Reply-To: <DKC0OQ8NEVPS.2A0FULELCCRJH@bootlin.com>
On 7/30/2026 10:39 AM, Mathieu Dubois-Briand via lists.openembedded.org
wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Thu Jul 30, 2026 at 1:51 AM CEST, Sumanth Gavini wrote:
>> * V11:
>> - Added 0001-pkgconfigdeps.sh-Do-not-emit-usr-bin-pkg-config-as-a.patch
>> To fix "bitbake core-image-minimal-dev" Could not invoke dnf. Command...
>> pkgconfigdeps.sh unconditionally emits /usr/bin/pkg-config as a hard
>> Requires for packages shipping .pc files. In OE/Yocto cross-compilation,
>> pkg-config is a host-only build tool not needed on the target rootfs,
>> causing failures with -dev packages.
>>
>> * v10:
>> - The ARCHIVE_FILTER_RPM macro was commented out in a previous
>> libarchive change, causing do_compile_ptest_base to fail with:
>> error: 'ARCHIVE_FILTER_RPM' undeclared
>> Restore the macro definition. The ptest now compiles and passes
>> successfully.
>>
>> * V9:
>> - Updated SRCREV to the 6.0.2 tag.
>> - Incorporated all V8 changes and updated them as needed for 6.0.2.
>> - Dropped
>> 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch
>> from V8, as it is no longer needed. After filtering out the
>> /usr/bin/pkg-config file dependency, "bitbake core-image-sato -c
>> populate_sdk" completes successfully without the patch.
>> - Fixed the filtering of the /usr/bin/pkg-config file dependency.
>> pkg-config is a build-time tool, not a runtime dependency. Filtered
>> the /usr/bin/pkg-config dependency automatically detected by
>> pkgconfig.attr for packages containing .pc files, preventing
>> unnecessary hard runtime dependencies in -dev packages.
>> - Removed v8 libarchive-related changes since the latest version
>> (3.8.8) already includes the required updates.
>> - Fixed the "oe-selftest -r debuginfod.Debuginfod.test_debuginfod_native"
>> failure observed after upgrading to 6.0.2.
>> - Verified that previously reported Autobuilder issues are no longer observed.
>> The following builds/tests were successfully completed:
>> "bitbake core-image-minimal"
>> "bitbake core-image-full-cmdline"
>> "bitbake core-image-sato"
>> "bitbake core-image-sato world"
>> "bitbake core-image-full-cmdline:do_testimage"
>> "bitbake core-image-minimal:do_rootfs"
>> "bitbake core-image-sato -c populate_sdk"
>>
>> * V8:
>> - Fix build with systemd (Check patch 7 for detailes)
>> - Make rpmbuild can find the pkgconfig (.pc) files in /usr/share/pkgconfig
>> (Check patch 7 for detailes)
>> - Backport a PULL from git/libarchive to fix oe-selftest failures.
>>
>> * 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
>>
>>
>> --
>> # Sumanth Gavini
>> # Wind River Linux
>>
>
> Hi Sumanth,
>
> Thanks for the new version.
>
> It does look better, but we still have a lot of errors. First, another
> dnf error on core-image-sato:
>
> ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf
> ...
> Error:
> Problem 1: conflicting requests
> - nothing provides pkgconfig(fontconfig) >= 2.13.0 needed by libcairo-dev-1.18.4-r0.x86_64_v3 from oe-repo
> Problem 2: conflicting requests
> - nothing provides pkgconfig(libsolv) needed by libdnf-dev-0.75.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(sqlite3) needed by libdnf-dev-0.75.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(libsolvext) needed by libdnf-dev-0.75.0-r0.x86_64_v3 from oe-repo
> Problem 3: conflicting requests
> - nothing provides pkgconfig(mount) >= 2.23 needed by libglib-2.0-dev-1:2.88.2-r0.x86_64_v3 from oe-repo
> Problem 4: conflicting requests
> - nothing provides pkgconfig(libudev) >= 251 needed by libgudev-1.0-dev-238-r0.x86_64_v3 from oe-repo
> Problem 5: conflicting requests
> - nothing provides pkgconfig(libudev) needed by libinput-dev-1.31.3-r0.x86_64_v3 from oe-repo
> Problem 6: conflicting requests
> - nothing provides pkgconfig(ncurses) needed by libreadline-dev-8.3-r0.x86_64_v3 from oe-repo
> Problem 7: conflicting requests
> - nothing provides pkgconfig(libxml-2.0) needed by librepo-dev-1.20.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(openssl) needed by librepo-dev-1.20.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(libcurl) needed by librepo-dev-1.20.0-r0.x86_64_v3 from oe-repo
>
> ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Could not invoke dnf.
> ...
> Error:
> Problem 1: conflicting requests
> - nothing provides pkgconfig(fontconfig) >= 2.13.0 needed by libcairo-dev-1.18.4-r0.x86_64_v3 from oe-repo
> Problem 2: conflicting requests
> - nothing provides pkgconfig(sqlite3) needed by libdnf-dev-0.75.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(libsolv) needed by libdnf-dev-0.75.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(libsolvext) needed by libdnf-dev-0.75.0-r0.x86_64_v3 from oe-repo
> Problem 3: conflicting requests
> - nothing provides pkgconfig(mount) >= 2.23 needed by libglib-2.0-dev-1:2.88.2-r0.x86_64_v3 from oe-repo
> Problem 4: conflicting requests
> - nothing provides pkgconfig(libudev) >= 251 needed by libgudev-1.0-dev-238-r0.x86_64_v3 from oe-repo
> Problem 5: conflicting requests
> - nothing provides pkgconfig(libudev) needed by libinput-dev-1.31.3-r0.x86_64_v3 from oe-repo
> Problem 6: conflicting requests
> - nothing provides pkgconfig(ncurses) needed by libreadline-dev-8.3-r0.x86_64_v3 from oe-repo
> Problem 7: conflicting requests
> - nothing provides pkgconfig(libxml-2.0) needed by librepo-dev-1.20.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(libcurl) needed by librepo-dev-1.20.0-r0.x86_64_v3 from oe-repo
> - nothing provides pkgconfig(openssl) needed by librepo-dev-1.20.0-r0.x86_64_v3 from oe-repo
> ...
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/68/builds/4362
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4253
>
>
> Some ptest images are also failing:
>
> ERROR: core-image-ptest-glib-2.0-1.0-r0 do_rootfs: Could not invoke dnf.
> ...
> Error:
> Problem: package libglib-2.0-ptest-1:2.88.2-r0.x86_64_v3 from oe-repo requires glib-2.0-dev, but none of the providers can be installed
> - conflicting requests
> - nothing provides pkgconfig(mount) >= 2.23 needed by libglib-2.0-dev-1:2.88.2-r0.x86_64_v3 from oe-repo
> (try to add '--skip-broken' to skip uninstallable packages)
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/819
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/4163
>
>
> And also the libarchive ptest are failing:
>
> AssertionError:
> Failed ptests:
> {'libarchive': ['libarchive_test']}
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/4145
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/56/builds/2031
>
>
> Can you have a look at the issues?
>
> Thanks,
> Mathieu
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#242368): https://lists.openembedded.org/g/openembedded-core/message/242368
> Mute This Topic: https://lists.openembedded.org/mt/120512258/10534619
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [sumanth.gavini@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Hi Mathieu,
In V11 patch
0001-pkgconfigdeps.sh-Do-not-emit-usr-bin-pkg-config-as-a.patch should
resolve the "pkgconfig could not invoke dnf" error"
I have successfully verified the following:
bitbake core-image-sato-sdk:do_populate_sdk
bitbake core-image-sato-sdk:do_rootfs
Both completed successfully on my side.
Could you please verify again and let me know if you still encounter the
issue?
Below is my local.conf:
MACHINE ??= "qemux86-64"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
INHERIT += 'image-buildinfo'
IMAGE_BUILDINFO_VARS:append = ' IMAGE_BASENAME IMAGE_NAME'
IMAGE_INSTALL:append = ' ssh-pregen-hostkeys'
SANITY_TESTED_DISTROS = ''
OEQA_TESTDISPLAY = ':1'
EXTRA_IMAGE_FEATURES ?= 'allow-empty-password empty-root-password
allow-root-login'
#OE_FRAGMENTS += 'machine/qemux86-64 distro/poky'
IMAGE_CLASSES += "testimage"
--
# Sumanth Gavini
# Wind River Linux
next prev parent reply other threads:[~2026-07-30 18:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-29 23:51 [PATCH v11 0/9] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 1/9] package_rpm.bbclass: Drop external dependency generator to support rpm 6 Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 2/9] package_rpm.bbclass: Define _lib and _libdir for rpmbuild Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 3/9] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 4/9] lib/oe/package.py: Filter out /usr/bin/pkg-config file dependency Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 5/9] lib/oe/package.py: Don't redirect stderr Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 6/9] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 7/9] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 8/9] libarchive: Make it work with rpm 6 Sumanth Gavini
2026-07-29 23:51 ` [PATCH v11 9/9] rpm: filter /usr/bin/pkg-config from RPM auto-generated Requires Sumanth Gavini
2026-07-30 15:39 ` [PATCH v11 0/9] rpm: 4.20.1 -> 6.0.2 Mathieu Dubois-Briand
2026-07-30 18:13 ` Gavini, Sumanth [this message]
2026-07-31 1:44 ` [OE-core] " Randy MacLeod
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=40d27de1-afee-4c92-abef-b2d09ab7a036@windriver.com \
--to=sumanth.gavini@windriver.com \
--cc=Randy.MacLeod@windriver.com \
--cc=alex.kanavin@gmail.com \
--cc=esparlin@cisco.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=mattware@cisco.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.marko@siemens.com \
/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