On Mon Aug 10, 2026 at 6:52 AM CEST, Sumanth Gavini wrote: > * Added 0002-pkgconfigdeps.sh-Unset-cross-compilation-PKG_CONFIG-v.patch > - rpm 6's internal dependency generator runs pkgconfigdeps.sh during > rpmbuild, but OE's cross-build environment exports PKG_CONFIG_SYSROOT_DIR > which causes pkg-config --print-provides to silently fail on .pc files > in the package buildroot. > > Unset cross-compilation PKG_CONFIG_* variables in pkgconfigdeps.sh so > that pkgconfig() Provides/Requires are correctly generated. > > Without this fix, do_rootfs fails with errors like: > nothing provides pkgconfig(ogg) needed by flac-dev > > Signed-off-by: Sumanth Gavini <[email protected]> > ---
Hi Sumanth, Thanks for the new version. This looks better, at least for the dnf install errors. Yet we still have errors when reusing sstate-cache, as recipes generating pkgconfig should be rebuilt, but their signatures did not change: https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4377 I made some horrible hack in my branch to change the PR of many recipes, and the build now succeeds. I only tested one configuration, but we can expect similar results on the other ones. https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4386 So, depending on how you address Ross comment, you might need to make sure recipes signature is going to change. We also had some selftest errors: I will investigate a bit further and come back to you. https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4525 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 (#243205): https://lists.openembedded.org/g/openembedded-core/message/243205 Mute This Topic: https://lists.openembedded.org/mt/120680514/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
