public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: mathieu.dubois-briand@bootlin.com, alex.kanavin@gmail.com
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH v6 0/7] rpm: 4.20.1 -> 6.0.1
Date: Sat, 28 Feb 2026 16:01:15 +0800	[thread overview]
Message-ID: <3ac31ee1-ed0b-4abd-8c59-c6bc664e74ca@windriver.com> (raw)
In-Reply-To: <9ec2a6d2-a03a-4a30-9490-10e0fe7cc5e1@windriver.com>



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 (#232089): https://lists.openembedded.org/g/openembedded- 
>> core/message/232089
>> Mute This Topic: https://lists.openembedded.org/mt/117873427/7304958
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
>> [liezhi.yang@eng.windriver.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
> 



      reply	other threads:[~2026-02-28  8:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18 12:22 [PATCH v6 0/7] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-02-18 12:22 ` [PATCH v6 1/7] package_rpm.bbclass: Drop external dependency generator to support rpm 6 liezhi.yang
2026-02-18 12:22 ` [PATCH v6 2/7] package_rpm.bbclass: Define _lib and _libdir for rpmbuild liezhi.yang
2026-02-18 12:22 ` [PATCH v6 3/7] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl liezhi.yang
2026-02-18 12:22 ` [PATCH v6 4/7] glib/python3/acl: Add pkgconfig to RDEPENDS liezhi.yang
2026-02-18 12:22 ` [PATCH v6 5/7] lib/oe/package.py: Don't redirect stderr liezhi.yang
2026-02-18 12:22 ` [PATCH v6 6/7] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES liezhi.yang
2026-02-18 12:22 ` [PATCH v6 7/7] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-02-18 17:50 ` [OE-core] [PATCH v6 0/7] " Mathieu Dubois-Briand
2026-02-20  5:27   ` Robert Yang
2026-02-21 12:15     ` Mathieu Dubois-Briand
2026-02-23 12:27       ` Alexander Kanavin
2026-02-23 14:58         ` Mathieu Dubois-Briand
2026-02-26 16:00           ` Robert Yang
2026-02-27  9:16             ` Mathieu Dubois-Briand
2026-02-28  3:53               ` Robert Yang
2026-02-28  8:01                 ` Robert Yang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ac31ee1-ed0b-4abd-8c59-c6bc664e74ca@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=alex.kanavin@gmail.com \
    --cc=mathieu.dubois-briand@bootlin.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox