On 2/28/26 11:53, Robert Yang wrote:
Hi Mathieu,
On 2/27/26 17:16, Mathieu Dubois-Briand via lists.openembedded.org wrote:
On Thu Feb 26, 2026 at 5:00 PM CET, Robert Yang wrote:
Sorry, but I still can't reproduce it, would you please help to try:
$ git fetch https://github.com/robertlinux/yocto rbt/rpm
$ git merge FETCH_HEAD
$ . oe-init-build-env ../../build
Add the following lines to conf/local.conf:
PACKAGE_CLASSES = "package_rpm"
OE_FRAGMENTS += 'machine/qemux86 distro/poky'
OE_FRAGMENTS += 'core/yocto-autobuilder/autobuilder'
$ bitbake core-image-sato -cpopulate_sdk
I checked the manifest file, the error packages were installed correctly.
Would you please help to send me the error build's conf/local.conf and
conf/bblayers.conf?
// Robert
Thanks,
Mathieu
Hi Robert,
I did reproduce this again, here are as much data as possible about my
build setup:
- I'm using an ubuntu 24.04 docker.
Thank you very much for your kindly help, at last, I can reproduce the errors
with pkg-config installed on ubuntu 24.04 (Can't reproduce on ubuntu 22.04),
there are host contamination issues. I will fix that.
The rpmbuild + Ubuntu 24.04's /usr/bin/pkg-config is very strange:
* The flac-dev.rpm requires pkgconfig(ogg), but libogg-dev.rpm didn't provide
that, this is incorret:
- The libogg_1.3.6.bb inherits pkgconfig, so the libogg-dev.rpm should provide
that, but it didn't
- The flac_1.5.0.bb doesn't inherit pkgconfig, but it still finds pkgconfig(ogg)
It just worked in the opposite direction. This solution is don't use host's
/usr/bin/pkg-config, and use the one from 'which pkg-config'.
I will send V7 after more testing.
// Robert
// Robert
- oe-core version: either your rbt/rpm branch or
oecore/autobuilder.yoctoproject.org/valkyrie/a-full-3239 from
poky-ci-archive [1].
- bitbake version: either today master branch or
bitbake/autobuilder.yoctoproject.org/valkyrie/a-full-3239 from
poky-ci-archive.
- meta-yocto version: today master branch.
- Attached configuration.
You will need to adapt my configuration, at least to fix layer paths and
DL_DIR / SSTATE_DIR.
[1] : https://git.yoctoproject.org/poky-ci-archive
Thanks,
Mathieu
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232125):
https://lists.openembedded.org/g/openembedded-core/message/232125
Mute This Topic: https://lists.openembedded.org/mt/117873427/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-