On 10 Aug 2026, at 05:52, Sumanth Gavini via lists.openembedded.org 
<[email protected]> wrote:
> 
> * Added 0001-pkgconfigdeps.sh-Do-not-emit-usr-bin-pkg-config-as-a.patch
>  - 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 do_rootfs and do_populate_sdk failures with -dev packages.

But that’s not entirely true - a package which ships a .pc file arguably needs 
pkgconfig of some sort for that to be useful, and it’s absolutely possible to 
do development on the target.

You can argue whether this dependency is actually useful - and I don’t believe 
it is, the user of the .pc file should be the origin of the pkgconf dependency, 
but we can fix this and keep the existing behaviour by adding another RPROVIDES 
to pkgconf.

(note that my WIP branch to remove rpmdeps entirely doesn’t generate these 
dependencies at all, as I really do believe they’re pointless)

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

Reply via email to