[Android-tools-devel] Bug#870766: android-platform-development FTCBFS: uses the build architecture toolchain

Helmut Grohne helmut at subdivi.de
Fri Aug 4 21:00:20 UTC 2017


Source: android-platform-development
Version: 7.0.0+r33-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

android-platform-development fails to cross build from source, because
it uses the build architecture toolchain. Wrapping make in dh_auto_build
fixes that as debhelper knows how to pass cross compilers to make.
Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru android-platform-development-7.0.0+r33/debian/changelog android-platform-development-7.0.0+r33/debian/changelog
--- android-platform-development-7.0.0+r33/debian/changelog	2017-04-24 23:57:00.000000000 +0200
+++ android-platform-development-7.0.0+r33/debian/changelog	2017-08-04 22:54:21.000000000 +0200
@@ -1,3 +1,10 @@
+android-platform-development (7.0.0+r33-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers to make (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 04 Aug 2017 22:54:21 +0200
+
 android-platform-development (7.0.0+r33-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru android-platform-development-7.0.0+r33/debian/rules android-platform-development-7.0.0+r33/debian/rules
--- android-platform-development-7.0.0+r33/debian/rules	2017-04-24 23:57:00.000000000 +0200
+++ android-platform-development-7.0.0+r33/debian/rules	2017-08-04 22:54:18.000000000 +0200
@@ -10,7 +10,7 @@
 	dh $@
 
 override_dh_auto_build:
-	make -f debian/etc1tool.mk
+	dh_auto_build --buildsystem=makefile -- -f debian/etc1tool.mk
 	pandoc -s -o debian/etc1tool.1 debian/etc1tool.1.md
 
 override_dh_auto_clean:


More information about the Android-tools-devel mailing list