[Debian-med-packaging] Bug#956945: trinculo FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Fri Apr 17 06:17:56 BST 2020


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

trinculo fails to cross build from source, because it uses the build
architecture compiler as a make default. The simplest way of fixing that
- using dpkg's buildtools.mk - makes trinculo cross buildable. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru trinculo-0.96+dfsg/debian/changelog trinculo-0.96+dfsg/debian/changelog
--- trinculo-0.96+dfsg/debian/changelog	2020-04-10 07:43:12.000000000 +0200
+++ trinculo-0.96+dfsg/debian/changelog	2020-04-17 07:15:24.000000000 +0200
@@ -1,3 +1,10 @@
+trinculo (0.96+dfsg-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk set up CXX. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Fri, 17 Apr 2020 07:15:24 +0200
+
 trinculo (0.96+dfsg-2) unstable; urgency=medium
 
   * Rules-Requires-Root: no (routine-update)
diff --minimal -Nru trinculo-0.96+dfsg/debian/rules trinculo-0.96+dfsg/debian/rules
--- trinculo-0.96+dfsg/debian/rules	2020-04-10 07:43:12.000000000 +0200
+++ trinculo-0.96+dfsg/debian/rules	2020-04-17 07:15:22.000000000 +0200
@@ -2,6 +2,8 @@
 
 # DH_VERBOSE := 1
 
+-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