Chum: lupdate not found

Hi
i have a succesfull local build with translations and all, the propper rpm is in openrepos.
then i did add the app to obs. build succeeded. but the rpm does not contain the qm files…

any hints,
log shows this

home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_tr_TR.ts /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_zh_CN.ts || :
[ 65s] lupdate: could not exec ‘/usr/lib64/qt5/bin/lupdate’: No such file or directory
[ 65s] lrelease: could not exec ‘/usr/lib64/qt5/bin/lrelease’: No such file or directory
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_ca.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_ca.qm’: No such file or directory
[ 65s] make: [Makefile:285: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_cs_CZ.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_cs_CZ.qm’: No such file or directory
[ 65s] make: [Makefile:286: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_da_DK.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_da_DK.qm’: No such file or directory
[ 65s] make: [Makefile:287: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_de_DE.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_de_DE.qm’: No such file or directory
[ 65s] make: [Makefile:288: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_en_US.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_en_US.qm’: No such file or directory
[ 65s] make: [Makefile:289: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_es_ES.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_es_ES.qm’: No such file or directory
[ 65s] make: [Makefile:290: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_fi_FI.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_fi_FI.qm’: No such file or directory
[ 65s] make: [Makefile:291: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_fr_FR.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_fr_FR.qm’: No such file or directory
[ 65s] make: [Makefile:292: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_hu.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_hu.qm’: No such file or directory
[ 65s] make: [Makefile:293: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_it_IT.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_it_IT.qm’: No such file or directory
[ 65s] make: [Makefile:294: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_ku_IQ.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_ku_IQ.qm’: No such file or directory
[ 65s] make: [Makefile:295: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_nl_NL.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_nl_NL.qm’: No such file or directory
[ 65s] make: [Makefile:296: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_pl_PL.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_pl_PL.qm’: No such file or directory
[ 65s] make: [Makefile:297: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_ru_RU.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_ru_RU.qm’: No such file or directory
[ 65s] make: [Makefile:298: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_sv_SV.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_sv_SV.qm’: No such file or directory
[ 65s] make: [Makefile:299: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_tr_TR.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_tr_TR.qm’: No such file or directory
[ 65s] make: [Makefile:300: install_qm] Error 1 (ignored)
[ 65s] install -m 644 -p /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_zh_CN.qm /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/translations/
[ 65s] install: cannot stat ‘/home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/translations/harbour-tasklist_zh_CN.qm’: No such file or directory
[ 65s] make: [Makefile:301: install_qm] Error 1 (ignored)
[ 65s] cp -f -R /home/abuild/rpmbuild/BUILD/harbour-tasklist-1.8.17/qml /home/abuild/rpmbuild/BUILDROOT/harbour-tasklist-1.8.17-1.5.1.jolla.aarch64/usr/share/harbour-tasklist/

Add

BuildRequires:  qt5-qttools-linguist

in your SPEC. As SDK has it installed by default on PC, we all forget to add lupdate as a build dependency

3 Likes