Re: [poky] [PATCH] fix: use pkgconf instead of pkg-config

Ross Burton <[email protected]> Mon, 1 Sep 2025 17:01:31 +0000
Newsgroups org.yoctoproject.lists.poky,org.openembedded.lists.openembedded-core
Message-ID <[email protected]>
On 29 Aug 2025, at 12:47, Frederik Brændstrup via lists.yoctoproject.org <[email protected]> wrote:
> 
> As a preface, I know this is probably a bit of an aggressive move. But
> pkg-config doesn't build on newer GCC and Clang compilers due to a lot
> of hardening. The old K&R style C code is deprecated and cannot compile
> in the gcc default mode.
> 
> pkgconf is a modern and compatible (although not necessarily bug
> compatible) alternative that is maintained, and has more features
> that are not available in the old pkg-config. I've been using this patch
> for a while now, and it has worked flawlessly.
> 
> Signed-off-by: Frede Braendstrup <[email protected]>

First, I’m 100% on board with this.  But the last time I did a test build with pkg-config vs pkgconf there were some differences in the output.

Have you done a world build with and without this change, and verified that the output is identical?

Also, this should go to [email protected] <mailto:[email protected]> so can you follow-up on there?

Thanks,
Ross