<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>43905</bug_id>
          
          <creation_ts>2022-09-29 18:21:33 +0300</creation_ts>
          <short_desc>girar noarch comparison: ignore rpmlib(Payload.* (or force the same Payload on different architectures)</short_desc>
          <delta_ts>2022-09-29 18:53:06 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Infrastructure</classification>
          <product>Infrastructure</product>
          <component>girar</component>
          <version>unspecified</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="viy">viy</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>215447</commentid>
    <comment_count>0</comment_count>
    <who name="viy">viy</who>
    <bug_when>2022-09-29 18:21:33 +0300</bug_when>
    <thetext>You should ignore (using grep -v &apos;^rpmlib(Payload&apos;) 
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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215448</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2022-09-29 18:26:51 +0300</bug_when>
    <thetext>Makes sense.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>215450</commentid>
    <comment_count>2</comment_count>
    <who name="Gleb F-Malinovskiy">glebfm</who>
    <bug_when>2022-09-29 18:53:06 +0300</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>