Bug 43546 - Невозможно собрать перевод
Summary: Невозможно собрать перевод
Status: REOPENED
Alias: None
Product: Sisyphus
Classification: Development
Component: po4a (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-16 17:37 MSK by Vladislav Glinkin
Modified: 2023-02-17 17:10 MSK (History)
5 users (show)

See Also:


Attachments
Логи при попытке собрать перевод (250 bytes, text/x-log)
2022-08-16 17:37 MSK, Vladislav Glinkin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Glinkin 2022-08-16 17:37:43 MSK
Created attachment 11338 [details]
Логи при попытке собрать перевод

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

Стенды:
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 "Тест First Second Third" > test
Вычленить текст из test:
$ po4a-gettextize -f text -M UTF-8 --copyright-holder "It's me, Mario!" --package-name "po4a TEST" --package-version "0.00000001" -m test -p test.po && cat test.po
3)Переводим файл, добавляем в строку msgstr файла test.po "Тест Первый Второй Третий"
Собираем перевод:
$ po4a-translate -f text -M UTF-8 -m test -p test.po -l result

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

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

Логи прилагаются
Comment 1 Vladislav Glinkin 2022-08-16 17:41:19 MSK
Данный баг не воспроизводится на версии пакета po4a-0.47-alt1.1 из бранча p10
Comment 2 Vladislav Glinkin 2022-08-23 17:13:38 MSK
Данная ошибка больше не воспроизводится
Comment 3 Alexander Makeenkov 2022-08-24 10:53:45 MSK
Ошибка воспроизводится если не установлен пакет gettext-tools, после установки ошибки нет.
А по зависимостям он не устанавливается вместе с po4a.
Comment 4 Repository Robot 2023-02-09 16:49:10 MSK
po4a-0.65-alt2 -> sisyphus:

 Thu Feb 09 2023 Anton Midyukov <antohami@altlinux> 0.65-alt2
 - Requires: gettext-tools (Closes: 43546)
Comment 5 Pavel Shilov 2023-02-17 17:10:39 MSK
Ошибка воспроизводится на платформах: 
* 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%).