Bug 43905 - girar noarch comparison: ignore rpmlib(Payload.* (or force the same Payload on different architectures)
Summary: girar noarch comparison: ignore rpmlib(Payload.* (or force the same Payload o...
Status: NEW
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: girar (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 normal
Assignee: placeholder@altlinux.org
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-29 18:21 MSK by viy
Modified: 2022-09-29 18:53 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description viy 2022-09-29 18:21:33 MSK
You should ignore (using grep -v '^rpmlib(Payload') 
rpmlib(Payload* in girar noarch provides comparison
unless you can force the same Payload on different architectures.

Example: (see task 307128)

#307128 FAILED #2 sisyphus srpm=fcitx5-zhuyin-5.0.10-alt1_2.src.rpm
failed due to the difference in rpmlib(Payload*:

fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm 
has rpmlib(PayloadIsLzma) on x86_64
and rpmlib(PayloadIsXz)  on ppc64le
that triggers
error (#100): non-identical noarch packages

--- fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm.x86_64  2022-09-20 19:07:57.126799848 +0000
+++ fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm.ppc64le 2022-09-20 19:07:58.558812986 +0000
@@ -20,3 +20,3 @@
 Requires: fcitx5-zhuyin = 5.0.10-alt1_2:sisyphus+307128.100.1.1
-Requires: rpmlib(PayloadIsLzma) 
+Requires: rpmlib(PayloadIsXz)
Comment 1 Dmitry V. Levin 2022-09-29 18:26:51 MSK
Makes sense.
Comment 2 Gleb F-Malinovskiy 2022-09-29 18:53:06 MSK
rpm судя по всему выбирает lzdio вместо xzdio если блоков слишком мало, а у этих пакетов почему-то разный размер:

41662732 aarch64/rpms/fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm
41662732 armh/rpms/fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm
41662732 i586/rpms/fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm
46352652 ppc64le/rpms/fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm
41662732 x86_64/rpms/fcitx5-zhuyin-data-5.0.10-alt1_2.noarch.rpm