On Tue, 4 Aug 2026 at 16:18, Mathieu Dubois-Briand
<[email protected]> wrote:
>  Problem 2: conflicting requests
>   - nothing provides pkgconfig(libxml-2.0) needed by 
> libcomps-dev-0.1.24-r0.core2_64 from oe-repo

I looked into this a bit. First of all, this is easily reproducible
locally. Set up qemux86-64 poky, run 'bitbake core-image-sato-sdk' and
it will trigger.

Second, some observations:

1. Looking at 
tmp/work/x86-64-v3-poky-linux/libcomps/0.1.24/temp/log.do_package_write_rpm
I see:

Processing files: libcomps-dev-0.1.24-r0.x86_64_v3
...
Requires: pkgconfig(expat) pkgconfig(libxml-2.0)

So why does libcomps-dev rpm require both of these, but only
libxml-2.0 is mentioned in the error?

2. Let's first look at
tmp/work/x86-64-v3-poky-linux/expat/2.8.2/temp/log.do_package_write_rpm

Processing files: libexpat-dev-2.8.2-r0.x86_64_v3
...
Provides: expat-dev = 2.8.2 libexpat-dev = 2.8.2-r0
libexpat-dev(x86-64) = 2.8.2-r0 pkgconfig(expat) = 2.8.2

3. Then let's look at
tmp/work/x86-64-v3-poky-linux/libxml2/2.15.3/temp/log.do_package_write_rpm

Processing files: libxml2-dev-2.15.3-r0.x86_64_v3
...
Provides: libxml2-dev = 2.15.3-r0 libxml2-dev(x86-64) = 2.15.3-r0

4. So it seems that for expat rpm does write the needed pkgconfig()
provides entry, and for libxml2 it does not. Both recipes however do
install and package those files into their respective -dev packages:

$ find tmp/work/x86-64-v3-poky-linux/expat/2.8.2/packages-split/ |grep pc
tmp/work/x86-64-v3-poky-linux/expat/2.8.2/packages-split/expat-dev/usr/lib/pkgconfig/expat.pc
$ find tmp/work/x86-64-v3-poky-linux/libxml2/2.15.3/packages-split/ |grep \\.pc
tmp/work/x86-64-v3-poky-linux/libxml2/2.15.3/packages-split/libxml2-dev/usr/lib/pkgconfig/libxml-2.0.pc

5. So the next question is why is rpm picking up one as a provides
entry, but not the other. This is where I stopped, but I hope you
Sumanth can take it from here.

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

Reply via email to