Bug 431128 - Messages.sh fails on Fedora
Summary: Messages.sh fails on Fedora
Status: REPORTED
Alias: None
Product: trojita
Classification: Applications
Component: Other (show other bugs)
Version: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-04 00:21 UTC by Alexander Potashev
Modified: 2021-01-04 00:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2021-01-04 00:21:03 UTC
SUMMARY
When trying to run Scripty (https://invent.kde.org/sysadmin/l10n-scripty) locally, I get this error:

===
trojita /home/aspotashev/prod/trunk/l10n-kf5/templates/messages/trojita
.
Messages.sh: строка 8: lupdate: команда не найдена
Messages.sh: строка 9: lconvert: команда не найдена
rm: невозможно удалить '/home/aspotashev/prod/git-unstable-kf5/trojita/po/trojita.ts': Нет такого файла или каталога
Bash exit code: 1
===

... because Fedora has these binaries named lupdate-qt5 and lconvert-qt5.

Please use variables $LUPDATE and $LCONVERT to refer to them.

I think you can also use $EXTRACT_TR_STRINGS instead, see e.g. https://invent.kde.org/education/gcompris/-/blob/master/src/Messages.sh#L10

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Sibling ticket: https://bugs.kde.org/show_bug.cgi?id=431127