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

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

    <bug>
          <bug_id>37243</bug_id>
          
          <creation_ts>2019-09-19 22:40:32 +0300</creation_ts>
          <short_desc>patch not applied</short_desc>
          <delta_ts>2020-10-27 21:03:25 +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>libjudy</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>alexey.tourbin</reporter>
          <assigned_to name="Michael Shigorin">mike</assigned_to>
          <cc>cheusov</cc>
    
    <cc>glebfm</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>184409</commentid>
    <comment_count>0</comment_count>
    <who name="">alexey.tourbin</who>
    <bug_when>2019-09-19 22:40:32 +0300</bug_when>
    <thetext>/usr/bin/patch специально показывает, что он патчит, чтобы недоразумений не было, что пропатчилось не то.

Patch #4 (04_fix_undefined_behavior_during_aggressive_loop_optimizations.patch):
+ /usr/bin/patch -p1
patching file debian/patches/04_fix_undefined_bahavior_during_aggressive_loop_optimizations.patch

В результате после &apos;gear-rpm -bc&apos; в дереве сборки имеем:

judy-1.0.5 $ patch -p1 --dry-run &lt;debian/patches/04_fix_undefined_bahavior_during_aggressive_loop_optimizations.patch
checking file src/JudyCommon/JudyPrivateBranch.h

Надо бы грепнуть все логи сборки на предмет &quot;^patching file debian/patches/&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184433</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2019-09-20 16:09:56 +0300</bug_when>
    <thetext>Лёш, спасибо за внимательность!  Этот патчик был добавлен &quot;до кучи&quot; по результатам осмотра, а я благополучно опять отвлёкся и не закрыл контекст.

task #237903: added #100: build srpm judy-1.0.5-alt4.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184436</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2019-09-20 16:43:51 +0300</bug_when>
    <thetext>judy-1.0.5-alt4 -&gt; sisyphus:

Fri Sep 20 2019 Michael Shigorin &lt;mike@altlinux&gt; 1.0.5-alt4
- Actually applied patch4 as well, thx at@ (closes: #37243)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>193573</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2020-10-27 21:03:25 +0300</bug_when>
    <thetext>(Ответ для alexey.tourbin на комментарий #0)
...
&gt; Надо бы грепнуть все логи сборки на предмет &quot;^patching file debian/patches/&quot;.

Грепнул:
arj-1:3.10.22-alt7:patching file debian/patches/003_64_bit_clean.patch
...
docbook-to-man-2.0.0-alt1.qa1:patching file debian/patches/01-conglomeration.dpatch
...
html2ps-1.0-alt2_0.33.b7:patching file debian/patches/02_xhtml2ps_defaults.dpatch
...
lesstif-0.95.2-alt3:patching file debian/patches/000_bootstrap_script.diff
...
mailman-5:2.1.33.0.4.0f97-alt1:patching file debian/patches/01_defaults.debian.patch
...
xwit-3.4-alt2.qa1:patching file debian/patches/morecleanup.patch

Во всех спеках, кроме xwit, замечено последующее прикладывание созданных патчами файлов.

В xwit странный патч, который и файлы патчит, и debian/patches создаёт. Создал багу про это:
https://bugzilla.altlinux.org/show_bug.cgi?id=39155</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>