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

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

    <bug>
          <bug_id>26217</bug_id>
          
          <creation_ts>2011-09-02 10:45:47 +0400</creation_ts>
          <short_desc>[PATCH] truncates output file in verbose mode</short_desc>
          <delta_ts>2011-10-31 00:26:59 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>hasher</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>http://git.altlinux.org/people/ldv/packages/?p=hasher.git;a=commitdiff;h=ca1aab7b211d42c0b1514e43fd5158d53a94a3e6</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>25686</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124788</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-09-02 10:45:47 +0400</bug_when>
    <thetext>При запуске hsh ... &gt;&gt;log 2&gt;&amp;1 hasher-1.3.21-alt1 truncate&apos;ит получившийся лог -- поймано при сборке mkimage:

&gt; hsh-initroot: Created contents index.
&gt; `/tmp/.private/mike/mkimage-profiles.build.kiKM8TDLQl/.work/.cache/hsh/contents/contents_index_bin&apos; -&gt; `chroot/.host/contents_index_bin&apos;
&gt; hsh-install: changed working directory to `/tmp/.private/mike/mkimage-profiles.build.kiKM8TDLQl/.work&apos;
&gt; hsh-install: Locked working directory `/tmp/.private/mike/mkimage-profiles.build.kiKM8TDLQl/.work&apos;
&gt;&gt;&gt; tail: /home/mike/mkimage/mkimage-profiles/build/build.log: file truncated
&gt; Reading Package Lists...
&gt; Building Dependency Tree...

Проблема в коммите ca1aab7b211d42c0b1514e43fd5158d53a94a3e6, исправление:
s,tee /dev/stderr,tee -a /dev/stderr,

PS: по некоторому опыту использования думаю, что это поведение было бы хорошо включать при -vv (который из того же mkimage также передавать при повышении уровня отладки выше первого -- например, при обычной отладке выхлоп сборки инструментальных чрутов IMHO можно вообще опустить).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124793</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2011-09-02 11:30:21 +0400</bug_when>
    <thetext>Спасибо, 1.3.21-alt1-1-g94a3ce6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126394</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-10-20 17:50:28 +0400</bug_when>
    <thetext>Можно в сизиф?  Опять напоролся на свежей сборочнице на обрезанный лог сборки mkimage, не сразу вспомнил, где именно грабли были.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126657</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-10-30 21:56:03 +0400</bug_when>
    <thetext>hasher-1.3.22-alt1 -&gt; sisyphus:

* Sun Oct 30 2011 Dmitry V. Levin &lt;ldv@altlinux&gt; 1.3.22-alt1
- Fixed duplications in generated hsh.1 manpage (closes: #20893).
- hsh-run: reverted the change made in previous release to disable
  network isolation when X11 forwarding is requested.
- mkaptbox: fixed a typo in readlink options (by Kirill A. Shutemov).
- hsh-sh-functions.in (print_uris): fixed stderr truncation
  in verbose mode (by Michael Shigorin; closes: #26217).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126659</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2011-10-31 00:26:59 +0400</bug_when>
    <thetext>Спасибо!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>