Source: asp
Version: 1.8-8
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

asp fails to cross build from source, because its configure script is
too old to recognize the --host flag passed by dh_auto_configure.
Instead, one is supposed to initialize CC to a suitable cross compiler.
An easy way to do so is leverage dpkg's buildtools.mk. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru asp-1.8/debian/changelog asp-1.8/debian/changelog
--- asp-1.8/debian/changelog    2011-08-15 18:36:30.000000000 +0200
+++ asp-1.8/debian/changelog    2020-09-25 06:19:01.000000000 +0200
@@ -1,3 +1,10 @@
+asp (1.8-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply CC. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 25 Sep 2020 06:19:01 +0200
+
 asp (1.8-8) unstable; urgency=low
 
   * debian/control:
diff --minimal -Nru asp-1.8/debian/rules asp-1.8/debian/rules
--- asp-1.8/debian/rules        2011-08-15 18:29:05.000000000 +0200
+++ asp-1.8/debian/rules        2020-09-25 06:18:59.000000000 +0200
@@ -1,5 +1,8 @@
 #! /usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
+export CC
+
 %:
        dh $@
 

Reply via email to