[Android-tools-devel] Bug#871599: android-platform-system-tools-aidl FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Wed Aug 9 18:41:15 UTC 2017


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

android-platform-system-tools-aidl fails to cross build from source,
because it uses the build architecture compiler. Wrapping all those make
invocations in dh_auto_build, which passes cross compilers to make,
fixes the build. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru android-platform-system-tools-aidl-7.0.0+r33/debian/changelog android-platform-system-tools-aidl-7.0.0+r33/debian/changelog
--- android-platform-system-tools-aidl-7.0.0+r33/debian/changelog	2017-04-25 22:30:07.000000000 +0200
+++ android-platform-system-tools-aidl-7.0.0+r33/debian/changelog	2017-08-09 20:37:17.000000000 +0200
@@ -1,3 +1,10 @@
+android-platform-system-tools-aidl (1: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>  Wed, 09 Aug 2017 20:37:17 +0200
+
 android-platform-system-tools-aidl (1:7.0.0+r33-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru android-platform-system-tools-aidl-7.0.0+r33/debian/rules android-platform-system-tools-aidl-7.0.0+r33/debian/rules
--- android-platform-system-tools-aidl-7.0.0+r33/debian/rules	2016-09-28 09:54:27.000000000 +0200
+++ android-platform-system-tools-aidl-7.0.0+r33/debian/rules	2017-08-09 20:37:14.000000000 +0200
@@ -5,13 +5,13 @@
 export DEB_CXXFLAGS_MAINT_APPEND = -DNDEBUG
 
 lib%.so: debian/lib%.mk
-	make -f $<
+	dh_auto_build --buildsystem=makefile -- -f $<
 
 aidl: debian/aidl.mk libaidl-common.so
-	make -f $<
+	dh_auto_build --buildsystem=makefile -- -f $<
 
 aidl-cpp: debian/aidl-cpp.mk libaidl-common.so
-	make -f $<
+	dh_auto_build --buildsystem=makefile -- -f $<
 
 debian/%.1: debian/%.1.md
 	pandoc -s -o $@ $<


More information about the Android-tools-devel mailing list