[Debian-med-packaging] Bug#930242: pscan-tfbs FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sun Jun 9 06:50:23 BST 2019


Source: pscan-tfbs
Version: 1.2.2-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

pscan-tfbs fails to cross build from source, because it uses the build
architecture compiler as a make default. The easiest way of setting up
compiler variables is using dpkg's buildtools.mk. Please consider
appying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru pscan-tfbs-1.2.2/debian/changelog pscan-tfbs-1.2.2/debian/changelog
--- pscan-tfbs-1.2.2/debian/changelog	2018-06-08 14:48:00.000000000 +0200
+++ pscan-tfbs-1.2.2/debian/changelog	2019-06-09 07:48:17.000000000 +0200
@@ -1,3 +1,10 @@
+pscan-tfbs (1.2.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CXX). (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 09 Jun 2019 07:48:17 +0200
+
 pscan-tfbs (1.2.2-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru pscan-tfbs-1.2.2/debian/rules pscan-tfbs-1.2.2/debian/rules
--- pscan-tfbs-1.2.2/debian/rules	2018-06-08 14:48:00.000000000 +0200
+++ pscan-tfbs-1.2.2/debian/rules	2019-06-09 07:48:16.000000000 +0200
@@ -2,6 +2,8 @@
 
 export DH_VERBOSE=1
 
+-include /usr/share/dpkg/buildtools.mk
+
 CXXFLAGS += -flto
 LDFLAGS += -Wl,-flto
 


More information about the Debian-med-packaging mailing list