Re: [OE-core] [PATCH v7 1/7] package_rpm.bbclass: Drop external dependency generator to support rpm 6

Robert Yang
2026-03-12T13:43:31Z

On 3/9/26 15:15, Mathieu Dubois-Briand wrote:
> On Mon Mar 9, 2026 at 8:04 AM CET, Mathieu Dubois-Briand wrote:
>> Hi Robert,
>>
>> I ran a build, not with your gettext patch, but with the one from the
>> glibc upgrade by Hemanth. We still had similar errors.
>>
>> Any opinion?
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/3378
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/25/builds/3330
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/26/builds/3302
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/40/builds/3307
>>
>> Thanks,
>> Mathieu
>
> I also note a lot of selftest failures, that are probably related. Like
> this one:
>
> 2026-03-08 19:02:19,088 - oe-selftest - INFO - debuginfod.Debuginfod.test_debuginfod_qemu (subunit.RemotedTestCase)
> 2026-03-08 19:02:19,088 - oe-selftest - INFO - ... FAIL
> ...
> [Sun Mar 8 18:59:18 2026] (1950649/1950690): cannot open archive from pipe /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1129110/tmp-debuginfod/work/cortexa57-poky-linux/xz/5.8.2/localpkgfeed/cortexa57/xz-locale-pt-5.8.2-r0.cortexa57.rpm
> [Sun Mar 8 18:59:18 2026] (1950649/1950690): libarchive error: cannot open archive from pipe: Unrecognized archive format
> [Sun Mar 8 18:59:18 2026] (1950649/1950690): exceptions encountered during archive scan
> [Sun Mar 8 18:59:18 2026] (1950649/1950695): cannot open archive from pipe /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1129110/tmp-debuginfod/work/cortexa57-poky-linux/xz/5.8.2/localpkgfeed/cortexa57/bash-locale-sr-5.3-r0.cortexa57.rpm
> [Sun Mar 8 18:59:18 2026] (1950649/1950690): cannot open archive from pipe /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1129110/tmp-debuginfod/work/cortexa57-poky-linux/xz/5.8.2/localpkgfeed/cortexa57/bash-locale-hr-5.3-r0.cortexa57.rpm
> [Sun Mar 8 18:59:18 2026] (1950649/1950691): cannot open archive from pipe /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1129110/tmp-debuginfod/work/cortexa57-poky-linux/xz/5.8.2/localpkgfeed/cortexa57/xz-locale-nl-5.8.2-r0.cortexa57.rpm
> [Sun Mar 8 18:59:18 2026] (1950649/1950691): libarchive error: cannot open archive from pipe: Unrecognized archive format
> [Sun Mar 8 18:59:18 2026] (1950649/1950691): exceptions encountered during archive scan
> [Sun Mar 8 18:59:18 2026] (1950649/1950688): cannot open archive from pipe /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1129110/tmp-debuginfod/work/cortexa57-poky-linux/xz/5.8.2/localpkgfeed/cortexa57/bash-locale-pt-br-5.3-r0.cortexa57.rpm
> [Sun Mar 8 18:59:18 2026] (1950649/1950688): libarchive error: cannot open archive from pipe: Unrecognized archive format
> [Sun Mar 8 18:59:18 2026] (1950649/1950690): libarchive error: cannot open archive from pipe: Unrecognized archive format
> [Sun Mar 8 18:59:18 2026] (1950649/1950690): exceptions encountered during archive scan
> [Sun Mar 8 18:59:18 2026] (1950649/1950694): cannot open archive from pipe /srv/pokybuild/yocto-worker/oe-selftest-armhost/build/build-st-1129110/tmp-debuginfod/work/cortexa57-poky-linux/xz/5.8.2/localpkgfeed/cortexa57/liblzma5-5.8.2-r0.cortexa57.rpm
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/3254
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/3362
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/3482

I've looked into these failures as well. 16 of them are related to the rpm 6,
I've taken a PULL from github/libarchive to fix them:

https://github.com/libarchive/libarchive/pull/2846

I will also take the libarchive upgrading in V8:
[OE-core] [PATCH] libarchive: upgrade 3.8.5 -> 3.8.6

Otherwise, there will be conflicts when you merge it.

And for the other failures such as:
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 them without rpm 6. I will leave them atm, and focus on rpm 6
upgrading.

V8 is coming.

// Robert

>
> Thanks,
> Mathieu
>