Bug 431127 - Messages.sh fails on Fedora
Summary: Messages.sh fails on Fedora
Status: REPORTED
Alias: None
Product: kst
Classification: Applications
Component: i18n (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-04 00:11 UTC by Alexander Potashev
Modified: 2021-01-08 18:43 UTC (History)
1 user (show)

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:11:36 UTC
SUMMARY
When trying to run Scripty (https://invent.kde.org/sysadmin/l10n-scripty) locally, I get this error:

===
kst-plot /home/aspotashev/prod/trunk/l10n-kf5/templates/messages/kst-plot
.
Messages.sh: строка 8: lupdate: команда не найдена
Messages.sh: строка 9: lconvert: команда не найдена
rm: невозможно удалить '/home/aspotashev/prod/git-unstable-kf5/kst-plot/po/kst.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.

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
Comment 1 Alexander Potashev 2021-01-04 00:17:10 UTC
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
Comment 2 Alexander Potashev 2021-01-04 00:21:16 UTC
Sibling ticket: https://bugs.kde.org/show_bug.cgi?id=431128
Comment 3 Rex Dieter 2021-01-08 18:43:41 UTC
The unsuffixed binaries are under
/usr/lib64/qt5/bin
or 
/usr/lib/qt5/bin
depending on arch and bitness.

if you prepend that to your $PATH, that should make it work as-is (appending probably ok as well).