Bug#883243: kfilemetadata-kf5 FTCBFS: fails to run qhelpgenerator
Source: kfilemetadata-kf5
Version: 5.37.0-2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
kfilemetadata-kf5 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 kfilemetadata-kf5 cross build successfully indeed. Please
consider applying the attached patch.
Helmut
diff --minimal -Nru kfilemetadata-kf5-5.37.0/debian/changelog kfilemetadata-kf5-5.37.0/debian/changelog
--- kfilemetadata-kf5-5.37.0/debian/changelog 2017-09-03 09:58:06.000000000 +0200
+++ kfilemetadata-kf5-5.37.0/debian/changelog 2017-12-01 10:03:08.000000000 +0100
@@ -1,3 +1,10 @@
+kfilemetadata-kf5 (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> Fri, 01 Dec 2017 10:03:08 +0100
+
kfilemetadata-kf5 (5.37.0-2) sid; urgency=medium
* New revision
diff --minimal -Nru kfilemetadata-kf5-5.37.0/debian/control kfilemetadata-kf5-5.37.0/debian/control
--- kfilemetadata-kf5-5.37.0/debian/control 2017-09-03 09:58:06.000000000 +0200
+++ kfilemetadata-kf5-5.37.0/debian/control 2017-12-01 10:03:06.000000000 +0100
@@ -19,7 +19,7 @@
libkf5i18n-dev (>= 5.37.0~),
libpoppler-qt5-dev (>= 0.12.1),
libpostproc-dev,
- libqt5sql5-sqlite,
+ libqt5sql5-sqlite:native,
libswscale-dev,
libtag1-dev (>= 1.9~),
pkg-config,
Reply to: