Source: qtdeclarative-opensource-src
Version: 5.11.2-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

qtdeclarative-opensource-src fails to cross build from source, because
it asks for the host architecture python via Build-Depends and that one
fails postinst. It actually wants to run python during build rather than
integrate with python, so it should be asking for the build architecture
python. Annotating the dependency with :any fixes that and makes
qtdeclarative-opensource-src cross buildable. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru qtdeclarative-opensource-src-5.11.2/debian/changelog 
qtdeclarative-opensource-src-5.11.2/debian/changelog
--- qtdeclarative-opensource-src-5.11.2/debian/changelog        2018-10-15 
20:16:04.000000000 +0200
+++ qtdeclarative-opensource-src-5.11.2/debian/changelog        2018-11-08 
17:36:20.000000000 +0100
@@ -1,3 +1,10 @@
+qtdeclarative-opensource-src (5.11.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate Build-Depends: python with :any. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 08 Nov 2018 17:36:20 +0100
+
 qtdeclarative-opensource-src (5.11.2-2) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru qtdeclarative-opensource-src-5.11.2/debian/control 
qtdeclarative-opensource-src-5.11.2/debian/control
--- qtdeclarative-opensource-src-5.11.2/debian/control  2018-10-15 
20:16:04.000000000 +0200
+++ qtdeclarative-opensource-src-5.11.2/debian/control  2018-11-08 
17:36:18.000000000 +0100
@@ -14,7 +14,7 @@
                libqt5opengl5-dev (>= 5.11.2+dfsg~),
                libqt5xmlpatterns5-dev (>= 5.11.2~),
                pkg-kde-tools (>= 0.15.17~),
-               python,
+               python:any,
                qtbase5-private-dev (>= 5.11.2+dfsg~),
                xauth,
                xvfb

Reply via email to