Source: googletest
Version: 1.8.0-6
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

googletest fails to cross build from source, because its build
dependencies are not installable. More specifically, it requests python
for the host architecture. A host architecture python is neither
installable nor executable. What googletest really wanted was a build
architecture python, because python is exclusively used as a tool.
Annotating the dependency with :any or :native fixes the cross build.
Please consider applying the attached patch after stretch is released.

Helmut
diff --minimal -Nru googletest-1.8.0/debian/changelog 
googletest-1.8.0/debian/changelog
--- googletest-1.8.0/debian/changelog   2016-12-23 06:24:15.000000000 +0100
+++ googletest-1.8.0/debian/changelog   2017-03-06 08:24:09.000000000 +0100
@@ -1,3 +1,10 @@
+googletest (1.8.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate python build dependency with :native. Closes: #-1.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 06 Mar 2017 08:24:09 +0100
+
 googletest (1.8.0-6) unstable; urgency=medium
 
   * [d806ccb] Remove m68k-disable-getthreadcounttest.patch: it was based
diff --minimal -Nru googletest-1.8.0/debian/control 
googletest-1.8.0/debian/control
--- googletest-1.8.0/debian/control     2016-12-23 06:24:15.000000000 +0100
+++ googletest-1.8.0/debian/control     2017-03-06 08:24:05.000000000 +0100
@@ -4,7 +4,7 @@
 Maintainer: Steve M. Robbins <s...@debian.org>
 Uploaders: Giuseppe Iuculano <iucul...@debian.org>, Fredrik Hallenberg 
<hal...@debian.org>
 Priority: optional
-Build-Depends: debhelper (>= 9), cmake, python
+Build-Depends: debhelper (>= 9), cmake, python:native
 Standards-Version: 3.9.8
 Vcs-Git: git://anonscm.debian.org/collab-maint/gtest.git
 Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/gtest.git

Reply via email to