[Android-tools-devel] Bug#864563: android-platform-external-libselinux FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sat Jun 10 17:47:53 UTC 2017


Source: android-platform-external-libselinux
Version: 7.0.0+r1-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

android-platform-external-libselinux fails to cross build from source,
because it uses the build architecture compiler. Just indirecting make
through dh_auto_build makes the cross build successful, because
dh_auto_build knows how to pass cross compilers. Please consider
applying the attached patch after stretch is released.

Helmut
-------------- next part --------------
diff --minimal -Nru android-platform-external-libselinux-7.0.0+r1/debian/changelog android-platform-external-libselinux-7.0.0+r1/debian/changelog
--- android-platform-external-libselinux-7.0.0+r1/debian/changelog	2016-12-06 09:56:35.000000000 +0100
+++ android-platform-external-libselinux-7.0.0+r1/debian/changelog	2017-06-10 18:14:36.000000000 +0200
@@ -1,3 +1,10 @@
+android-platform-external-libselinux (7.0.0+r1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross compilers. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 10 Jun 2017 18:14:36 +0200
+
 android-platform-external-libselinux (7.0.0+r1-2) unstable; urgency=medium
 
   * Upload to unstable
diff --minimal -Nru android-platform-external-libselinux-7.0.0+r1/debian/rules android-platform-external-libselinux-7.0.0+r1/debian/rules
--- android-platform-external-libselinux-7.0.0+r1/debian/rules	2016-12-06 09:56:35.000000000 +0100
+++ android-platform-external-libselinux-7.0.0+r1/debian/rules	2017-06-10 18:14:36.000000000 +0200
@@ -8,7 +8,7 @@
 	dh $@
 
 override_dh_auto_build:
-	make -f debian/Makefile
+	dh_auto_build --buildsystem=makefile -- -f debian/Makefile
 
 override_dh_auto_clean:
 	dh_auto_clean


More information about the Android-tools-devel mailing list