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

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

    <bug>
          <bug_id>43546</bug_id>
          
          <creation_ts>2022-08-16 17:37:43 +0300</creation_ts>
          <short_desc>Невозможно собрать перевод</short_desc>
          <delta_ts>2023-02-17 17:10:39 +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>po4a</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>REOPENED</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="Vladislav Glinkin">glinkinvd</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>amakeenk</cc>
    
    <cc>cas</cc>
    
    <cc>lav</cc>
    
    <cc>shaba</cc>
    
    <cc>shilovps</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>213769</commentid>
    <comment_count>0</comment_count>
      <attachid>11338</attachid>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2022-08-16 17:37:43 +0300</bug_when>
    <thetext>Created attachment 11338
Логи при попытке собрать перевод

Невозможно собрать перевод

Стенды:
p10-kworkstation-10-x86-64
p10-server-10-x86-64
p10-workstation-10-x86-64

Версия пакета: po4a-0.65-alt1

Шаги воспроизведения:
1)apt-get install po4a
2)$ echo &quot;Тест First Second Third&quot; &gt; test
Вычленить текст из test:
$ po4a-gettextize -f text -M UTF-8 --copyright-holder &quot;It&apos;s me, Mario!&quot; --package-name &quot;po4a TEST&quot; --package-version &quot;0.00000001&quot; -m test -p test.po &amp;&amp; cat test.po
3)Переводим файл, добавляем в строку msgstr файла test.po &quot;Тест Первый Второй Третий&quot;
Собираем перевод:
$ po4a-translate -f text -M UTF-8 -m test -p test.po -l result

Фактический результат: Невозможно собрать перевод

Ожидаемый результат: Перевод успешно собран и находится в файле result

Логи прилагаются</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213770</commentid>
    <comment_count>1</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2022-08-16 17:41:19 +0300</bug_when>
    <thetext>Данный баг не воспроизводится на версии пакета po4a-0.47-alt1.1 из бранча p10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213946</commentid>
    <comment_count>2</comment_count>
    <who name="Vladislav Glinkin">glinkinvd</who>
    <bug_when>2022-08-23 17:13:38 +0300</bug_when>
    <thetext>Данная ошибка больше не воспроизводится</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213980</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Makeenkov">amakeenk</who>
    <bug_when>2022-08-24 10:53:45 +0300</bug_when>
    <thetext>Ошибка воспроизводится если не установлен пакет gettext-tools, после установки ошибки нет.
А по зависимостям он не устанавливается вместе с po4a.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221432</commentid>
    <comment_count>4</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-02-09 16:49:10 +0300</bug_when>
    <thetext>po4a-0.65-alt2 -&gt; sisyphus:

 Thu Feb 09 2023 Anton Midyukov &lt;antohami@altlinux&gt; 0.65-alt2
 - Requires: gettext-tools (Closes: 43546)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>221823</commentid>
    <comment_count>5</comment_count>
    <who name="Pavel Shilov">shilovps</who>
    <bug_when>2023-02-17 17:10:39 +0300</bug_when>
    <thetext>Ошибка воспроизводится на платформах: 
* p10-education-10.1-x86-64
* p10-education-10.1-x86-64-kde
* p10-kworkstation-10.1-x86-64
* p10-server-10-x86-64
* p10-workstation-10.1-x86-64

Версии пакетов:
* gettext-tools-0.21-alt1.x86_64
* po4a-0.65-alt2.noarch

Ошибка сборки перевода
$ po4a-translate -d -v -f text -M UTF-8 -m test -p test.po -l result
po4a::transtractor::process: Read PO file test.po
po4a::transtractor::process: Read document test
po4a::transtractor::process: Call parse()
po4a::transtractor::process: Done parse()
Перевод отброшен test (переведено только 0%; необходимо 80%).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>11338</attachid>
            <date>2022-08-16 17:37:43 +0300</date>
            <delta_ts>2022-08-16 17:37:43 +0300</delta_ts>
            <desc>Логи при попытке собрать перевод</desc>
            <filename>po4a.log</filename>
            <type>text/x-log</type>
            <size>250</size>
            <attacher name="Vladislav Glinkin">glinkinvd</attacher>
            
              <data encoding="base64">IHRlc3RAd29ya3N0YXRpb24tMTAteDg2LTY0LTIwMjIwODE2IH4gJCBwbzRhLXRyYW5zbGF0ZSAt
ZiB0ZXh0IC1NIFVURi04IC1tIHRlc3QgLXAgdGVzdC5wbyAtbCByZXN1bHQKVXNlIG9mIHVuaW5p
dGlhbGl6ZWQgdmFsdWUgJGFyZ3NbMV0gaW4gc3ByaW50ZiBhdCAvdXNyL3NoYXJlL3Blcmw1L0xv
Y2FsZS9QbzRhL0NvbW1vbi5wbSBsaW5lIDEzNC4K0J3QtdCy0LXRgNC90YvQuSDRhNC+0YDQvNCw
0YIgcG8g0YTQsNC50LvQsCB0ZXN0Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>