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

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

    <bug>
          <bug_id>47847</bug_id>
          
          <creation_ts>2023-10-05 14:11:05 +0300</creation_ts>
          <short_desc>/usr/lib/rpm/python3.req.files: line 73: test: too many arguments</short_desc>
          <delta_ts>2023-10-09 19:52:01 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-macros-python3</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</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="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="kotopesutility@altlinux.org">kotopesutility</assigned_to>
          <cc>andy</cc>
    
    <cc>darktemplar</cc>
    
    <cc>george</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>kotopesutility</cc>
    
    <cc>ldv</cc>
    
    <cc>slev</cc>
    
    <cc>vitty</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>234394</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2023-10-05 14:11:05 +0300</bug_when>
    <thetext>При сборке многих пакетов (замечено на systemd, воспроизведено на iotop например, но вообще в /beehive/logs/Sisyphus-x86_64/latest/success нагрепалось 2266 пакетов) замечено сообщение об ошибке:

/usr/lib/rpm/python3.req.files: line 73: test: too many arguments

И правда, если посмотреть на эту строку, видно, что, похоже, нужно больше кавычек.

https://git.altlinux.org/gears/r/rpm-build-python3.git?a=blob;f=rpm-build-python3/python3.req.files;h=c526c4d41290cabede837be0c98c49266759fe00#l73

&gt; test -z $to_handle || echo $to_handle</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234575</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-10-09 19:52:01 +0300</bug_when>
    <thetext>rpm-build-python3-0.1.24-alt2 -&gt; sisyphus:

 Thu Oct 05 2023 Daniel Zagaynov &lt;kotopesutility@altlinux&gt; 0.1.24-alt2
 - python3.req.files:used quotes for test argument (closes #47847)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>