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

Helmut Grohne helmut at subdivi.de
Fri Apr 27 21:01:38 BST 2018


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

android-platform-external-libunwind fails to cross build from source,
because it uses the build architecture compiler. Using dh_auto_build
fixes that. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru android-platform-external-libunwind-7.0.0+r1/debian/changelog android-platform-external-libunwind-7.0.0+r1/debian/changelog
--- android-platform-external-libunwind-7.0.0+r1/debian/changelog	2016-12-26 00:09:38.000000000 +0100
+++ android-platform-external-libunwind-7.0.0+r1/debian/changelog	2018-04-27 19:47:51.000000000 +0200
@@ -1,3 +1,10 @@
+android-platform-external-libunwind (7.0.0+r1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use dh_auto_build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 27 Apr 2018 19:47:51 +0200
+
 android-platform-external-libunwind (7.0.0+r1-4) unstable; urgency=medium
  
   [ Hans-Christoph Steiner]
diff --minimal -Nru android-platform-external-libunwind-7.0.0+r1/debian/rules android-platform-external-libunwind-7.0.0+r1/debian/rules
--- android-platform-external-libunwind-7.0.0+r1/debian/rules	2016-12-26 00:03:56.000000000 +0100
+++ android-platform-external-libunwind-7.0.0+r1/debian/rules	2018-04-27 19:47:49.000000000 +0200
@@ -8,7 +8,7 @@
 	dh $@ --without autoreconf
 
 override_dh_auto_build:
-	make -f debian/libunwind.mk
+	dh_auto_build -Smakefile -- -f debian/libunwind.mk
 
 override_dh_auto_clean:
 	make clean -f debian/libunwind.mk


More information about the Android-tools-devel mailing list