Bug 431127

Summary: Messages.sh fails on Fedora
Product: [Applications] kst Reporter: Alexander Potashev <aspotashev>
Component: i18nAssignee: kst
Status: REPORTED ---    
Severity: normal CC: rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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).