Source: kcompletion Version: 5.37.0-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
kcompletion 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 kcompletion cross build successfully indeed. Please consider applying the attached patch. Helmut
diff --minimal -Nru kcompletion-5.37.0/debian/changelog kcompletion-5.37.0/debian/changelog --- kcompletion-5.37.0/debian/changelog 2017-09-03 09:57:42.000000000 +0200 +++ kcompletion-5.37.0/debian/changelog 2017-11-27 20:26:42.000000000 +0100 @@ -1,3 +1,10 @@ +kcompletion (5.37.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Annotate libqt5sql5-sqlite with :native. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 27 Nov 2017 20:26:42 +0100 + kcompletion (5.37.0-2) sid; urgency=medium * New revision diff --minimal -Nru kcompletion-5.37.0/debian/control kcompletion-5.37.0/debian/control --- kcompletion-5.37.0/debian/control 2017-09-03 09:57:42.000000000 +0200 +++ kcompletion-5.37.0/debian/control 2017-11-27 20:26:39.000000000 +0100 @@ -10,7 +10,7 @@ graphviz, libkf5config-dev (>= 5.37.0~), libkf5widgetsaddons-dev (>= 5.37.0~), - libqt5sql5-sqlite, + libqt5sql5-sqlite:native, pkg-kde-tools (>= 0.15.15ubuntu1~), qtbase5-dev (>= 5.7.0~), qttools5-dev (>= 5.4),