Source: xca
Version: 2.1.2-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

xca fails to cross build from source, because it fails running lrelease.
In general, you cannot rely on tools such as qmake or lrelease to just
work unless you install qt5-default or export QT_SELECT. xca does
neither. Packages must not build depend on qt5-default, so packages must
export QT_SELECT. This happens to break with cross building here. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru xca-2.1.2/debian/changelog xca-2.1.2/debian/changelog
--- xca-2.1.2/debian/changelog  2019-09-03 22:27:02.000000000 +0200
+++ xca-2.1.2/debian/changelog  2019-12-27 15:55:07.000000000 +0100
@@ -1,3 +1,10 @@
+xca (2.1.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export QT_SELECT. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 27 Dec 2019 15:55:07 +0100
+
 xca (2.1.2-2) unstable; urgency=medium
 
   * d/patches/0002-pkg-config-remove-hardcoding.patch: Remove hard-coded
diff --minimal -Nru xca-2.1.2/debian/rules xca-2.1.2/debian/rules
--- xca-2.1.2/debian/rules      2019-09-03 17:05:54.000000000 +0200
+++ xca-2.1.2/debian/rules      2019-12-27 15:55:07.000000000 +0100
@@ -3,6 +3,7 @@
 include /usr/share/dpkg/pkg-info.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export QT_SELECT=qt5
 
 %:
        dh $@ --with autoreconf

Reply via email to