Source: stax
Version: 1.37-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

stax fails to cross build from source, because it uses the build
architecture compiler as a make default. Including dpkg's buildtools.mk
seeds the value from dpkg-architecture and makes stax cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru stax-1.37/debian/changelog stax-1.37/debian/changelog
--- stax-1.37/debian/changelog  2015-09-22 21:32:06.000000000 +0200
+++ stax-1.37/debian/changelog  2018-12-13 17:55:12.000000000 +0100
@@ -1,3 +1,10 @@
+stax (1.37-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CXX). (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Thu, 13 Dec 2018 17:55:12 +0100
+
 stax (1.37-1) unstable; urgency=low
 
   * New upstream version, new upstream source
diff --minimal -Nru stax-1.37/debian/rules stax-1.37/debian/rules
--- stax-1.37/debian/rules      2015-09-22 21:32:06.000000000 +0200
+++ stax-1.37/debian/rules      2018-12-13 17:55:09.000000000 +0100
@@ -3,6 +3,7 @@
 
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 

Reply via email to