[Debian-med-packaging] Bug#970829: covtobed FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Thu Sep 24 05:15:21 BST 2020


Source: covtobed
Version: 1.1.2+dfsg-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

covtobed fails to cross build from source, because debian/rules uses the
build architecture compiler as a make default. Please consider letting
dpkg's buildtools.mk set up the CXX variable to make covtobed cross
buildable. I'm attaching a patch for your convenience.

Helmut
-------------- next part --------------
diff --minimal -Nru covtobed-1.1.2+dfsg/debian/changelog covtobed-1.1.2+dfsg/debian/changelog
--- covtobed-1.1.2+dfsg/debian/changelog	2020-07-20 13:52:38.000000000 +0200
+++ covtobed-1.1.2+dfsg/debian/changelog	2020-09-24 06:09:37.000000000 +0200
@@ -1,3 +1,10 @@
+covtobed (1.1.2+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk setup cross tools. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 24 Sep 2020 06:09:37 +0200
+
 covtobed (1.1.2+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru covtobed-1.1.2+dfsg/debian/rules covtobed-1.1.2+dfsg/debian/rules
--- covtobed-1.1.2+dfsg/debian/rules	2020-07-20 13:52:38.000000000 +0200
+++ covtobed-1.1.2+dfsg/debian/rules	2020-09-24 06:09:36.000000000 +0200
@@ -4,6 +4,7 @@
 export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
 
 # for hardening you might like to uncomment this:
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all


More information about the Debian-med-packaging mailing list