Bug 240747 - multimedia/shotcut: Fails to build without NLS option
Summary: multimedia/shotcut: Fails to build without NLS option
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-09-22 10:13 UTC by ml
Modified: 2019-09-22 14:20 UTC (History)
0 users

See Also:


Attachments
Full (failing) log (573.94 KB, text/plain)
2019-09-22 14:20 UTC, ml
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ml 2019-09-22 10:13:23 UTC
Compiling multimedia/shotcut with poudriere, fails if option NLS is deselected.

Log ends with:
/usr/local/lib/qt5/bin/lrelease shotcut_ca.ts -qm ../share/shotcut/translations/shotcut_ca.qm
make[2]: exec(/usr/local/lib/qt5/bin/lrelease) failed (No such file or directory)
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/multimedia/shotcut/work/shotcut-19.09.14/translations
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/multimedia/shotcut/work/shotcut-19.09.14
*** Error code 1



Enabling NLS lets me compile.



I believe the problem might be in Makefile, where it says:
USE_QT=         buildtools_build concurrent_build core declarative \
                graphicaleffects_run gui multimedia network opengl \
                printsupport quickcontrols_run sql \
                sql-sqlite3_run webkit websockets widgets x11extras xml
...
NLS_USES=       qt:5
NLS_USE=                QT=linguisttools_build


Perhaps qt:5 shoud be in USES in any case?
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-22 12:51:50 UTC
Can you include the full build log as an attachment please
Comment 2 ml 2019-09-22 14:20:09 UTC
Created attachment 207715 [details]
Full (failing) log