Bug#882783: kwindowsystem FTCBFS: fails to run qhelpgenerator
Source: kwindowsystem
Version: 5.37.0-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
kwindowsystem fails to cross build from source, because it fails running
qhelpgenerator (through doxygen). Doxygen doesn't notice the failure
(#818379), but the build finally fails due to missing files. The issue
here is that qhelpgenerator needs libqt5sql5-sqlite for the build
architecture, but Build-Depends only request it for the host
architecture. qhelpgenerator thus perceives it as missing and refuses to
operate. The solution is to annotate the dependency with :native and
that makes kwindowsystem cross build successfully indeed. Please
consider applying the attached patch.
Helmut
diff --minimal -Nru kwindowsystem-5.37.0/debian/changelog kwindowsystem-5.37.0/debian/changelog
--- kwindowsystem-5.37.0/debian/changelog 2017-09-03 09:58:59.000000000 +0200
+++ kwindowsystem-5.37.0/debian/changelog 2017-11-26 08:30:01.000000000 +0100
@@ -1,3 +1,10 @@
+kwindowsystem (5.37.0-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Annotate libqt5sql5-sqlite with :native. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 26 Nov 2017 08:30:01 +0100
+
kwindowsystem (5.37.0-2) sid; urgency=medium
* New revision
diff --minimal -Nru kwindowsystem-5.37.0/debian/control kwindowsystem-5.37.0/debian/control
--- kwindowsystem-5.37.0/debian/control 2017-09-03 09:58:59.000000000 +0200
+++ kwindowsystem-5.37.0/debian/control 2017-11-26 08:29:59.000000000 +0100
@@ -8,7 +8,7 @@
doxygen,
extra-cmake-modules (>= 5.37.0~),
graphviz,
- libqt5sql5-sqlite,
+ libqt5sql5-sqlite:native,
libqt5x11extras5-dev (>= 5.7.0~),
libx11-dev,
libxcb-keysyms1-dev,
Reply to: