From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Robert Yang" <liezhi.yang@windriver.com>,
<openembedded-core@lists.openembedded.org>
Cc: <alex.kanavin@gmail.com>, <mattware@cisco.com>,
<esparlin@cisco.com>, <peter.marko@siemens.com>
Subject: Re: [OE-core] [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1
Date: Sat, 14 Mar 2026 08:00:06 +0100 [thread overview]
Message-ID: <DH2B7SIOV4KX.3PZ5RW0V6NOSR@bootlin.com> (raw)
In-Reply-To: <189C7BAFC42D9B2E.1443259@lists.openembedded.org>
On Fri Mar 13, 2026 at 7:58 PM CET, Mathieu Dubois-Briand via lists.openembedded.org wrote:
> On Fri Mar 13, 2026 at 5:54 AM CET, Robert Yang wrote:
>> Hi Mathieu,
>>
>> On 3/12/26 23:52, Mathieu Dubois-Briand via lists.openembedded.org wrote:
>>> On Thu Mar 12, 2026 at 3:09 PM CET, liezhi.yang wrote:
>>>> From: Robert Yang <liezhi.yang@windriver.com>
>>>>
>>>> * V8:
>>>> - Fix build with systemd (Check patch 7 for detailes)
>>>> - Make rpmbuild can find the pkgconfig (.pc) files in /usr/share/pkgconfig
>>>> (Check patch 7 for detailes)
>>>> - Backport a PULL from git/libarchive to fix oe-selftest failures.
>>>>
>>>> * V7:
>>>> - Add 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch:
>>>> To fix "bitbake core-image-sato -cpopulate_sdk" error on Ubuntu 24.04 when
>>>> pkg-config is installed on host, now the host contamination has been fixed,
>>>> and the patch has been submitted to upstream:
>>>> https://github.com/rpm-software-management/rpm/pull/4127
>>>>
>>>> * V6
>>>> - Fix -cpopulate_sdk error when DISTRO = "poky"
>>>>
>>>> * V5
>>>> - Fix RP's comments: Don't hardcode libc6 into package_rpm.bbclass
>>>> - Use SKIP_LDCONFIG_POSTINST_FRAGMENT:${PN} to fix the loop dependencies
>>>> between /bin/sh and libc.so.
>>>>
>>>> * V4
>>>> - Fix loop dependencies issues for libc6 and busybox
>>>> - Fix issues for can't find pkg-config files (.pc) on qemux86-64.
>>>>
>>>> * V3
>>>> - Fix Alexender's comments
>>>> a) Suppot rpm 6
>>>> b) Move rpm-setup-autosign to rpm-build
>>>> c) Remove -DLIBELF_FOUND=False
>>>>
>>>> - Fix build for nativesdk-rpm
>>>>
>>>> - Drop patch for createrepo-c since it has been upgraded (rev:
>>>> 804a238c8a4e86c2bcfb2192d54cb861d5fd32a6)
>>>>
>>>> * V1 & V2
>>>> - Initial version
>>>>
>>>> // Robert
>>>>
>>>
>>> Hi Robert,
>>>
>>> Thanks for the new version.
>>>
>>> I suspect I still need to get some gettext patch with it. Either yours
>>> or the one from the glibc upgrade series. Is that right?
>>
>> I think you meat the following oe-selftest error:
>>
>> ERROR: glib-2.0-1_2.86.4-r0 do_package_qa: QA Issue: glib-2.0-ptest rdepends on
>> locale-base-c, but it isn't a build dependency? [build-deps]
>>
>>
>> I can reproduce it with pure master branch: (rev:
>> 438afb3ded629408172c4bd7d556c5d2abacd631)
>> PACKAGE_CLASSES = "package_rpm"
>> OE_FRAGMENTS += 'core/yocto-autobuilder/autobuilder'
>> MACHINE = 'qemux86-64'
>>
>> IMAGE_INSTALL:append = " glibc-utils localedef"
>> GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fr_FR.UTF-8 en_US.ISO-8859-1 de_DE.UTF-8
>> fr_FR.ISO-8859-1 zh_HK.BIG5-HKSCS tr_TR.UTF-8"
>> IMAGE_LINGUAS:append = " en-us fr-fr"
>>
>> $ bitbake glibc-2.0
>>
>> So I don't think it's caused by rpm 6 or gettext upgrading, and we don't need
>> other patches.
>>
>> I will check how to fix the glib-2.0 issues, but it's not related to rpm 6.
>>
>> // Robert
>>
>
> Hi Robert,
>
> So yes, I have this issue, and I'm not having it without your series:
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3399
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3290
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3517
>
> And some reproducibility error:
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3579
>
> I will try to build just your series on top of master and compare with
> master. Maybe some strange combination with the glibc upgrade.
>
Ok, so here is an a-full build with RPM patches applied directly on top
of master: we have the same issues as yesterday:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3410
selftests:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3526
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3420
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3298
reproducible:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/3592
By comparison, here is an a-full build on master:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/3414
I there any test I can do to help you?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2026-03-14 7:00 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 14:09 [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 1/9] package_rpm.bbclass: Drop external dependency generator to support rpm 6 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 2/9] package_rpm.bbclass: Define _lib and _libdir for rpmbuild liezhi.yang
2026-03-12 14:09 ` [PATCH v8 3/9] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl liezhi.yang
2026-03-12 14:09 ` [PATCH v8 4/9] glib/python3/acl: Add pkgconfig to RDEPENDS liezhi.yang
2026-03-14 8:02 ` [OE-core] " Richard Purdie
2026-03-14 23:36 ` Ross Burton
2026-03-12 14:09 ` [PATCH v8 5/9] lib/oe/package.py: Don't redirect stderr liezhi.yang
2026-03-12 14:09 ` [PATCH v8 6/9] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES liezhi.yang
2026-03-12 14:09 ` [PATCH v8 7/9] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 8/9] libarchive: upgrade 3.8.5 -> 3.8.6 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 9/9] libarchive: Make it work with rpm 6 liezhi.yang
2026-03-12 15:52 ` [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1 Mathieu Dubois-Briand
2026-03-13 4:54 ` [OE-core] " Robert Yang
2026-03-13 6:24 ` Mathieu Dubois-Briand
2026-03-13 18:58 ` Mathieu Dubois-Briand
[not found] ` <189C7BAFC42D9B2E.1443259@lists.openembedded.org>
2026-03-14 7:00 ` Mathieu Dubois-Briand [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=DH2B7SIOV4KX.3PZ5RW0V6NOSR@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=alex.kanavin@gmail.com \
--cc=esparlin@cisco.com \
--cc=liezhi.yang@windriver.com \
--cc=mattware@cisco.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.marko@siemens.com \
/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