Bug#922664: unixcw FTCBFS: moc: could not find a Qt installation of ''
Source: unixcw
Version: 3.5.1-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
unixcw fails to cross build from source:
moc: could not find a Qt installation of ''
This is due to unixcw not selecting a qt version. The relevant moc
invocation lacks a version, QT_SELECT is not exported and qt5-default is
not in Build-Depends. Thus moc doesn't know which moc to use. I'm not
sure why this isn't a problem for native builds.
Since packages must not depend on qt5-default, the attached patch opts
for exporting QT_SELECT, which fixes the build. Please consider applying
the attached patch.
Helmut
diff --minimal -Nru unixcw-3.5.1/debian/changelog unixcw-3.5.1/debian/changelog
--- unixcw-3.5.1/debian/changelog 2017-07-24 14:15:48.000000000 +0200
+++ unixcw-3.5.1/debian/changelog 2019-02-19 05:41:42.000000000 +0100
@@ -1,3 +1,10 @@
+unixcw (3.5.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Select a qt version. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 19 Feb 2019 05:41:42 +0100
+
unixcw (3.5.1-2) unstable; urgency=medium
* Fix watch file
diff --minimal -Nru unixcw-3.5.1/debian/rules unixcw-3.5.1/debian/rules
--- unixcw-3.5.1/debian/rules 2014-06-25 11:42:26.000000000 +0200
+++ unixcw-3.5.1/debian/rules 2019-02-19 05:41:42.000000000 +0100
@@ -15,6 +15,7 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
+export QT_SELECT=qt5
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
Reply to: