Source: netcat
Version: 1.10-45
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

netcat fails to cross build from source, because it uses the build
architecture compiler as a make default in debian/rules. Please consider
including dpkg's buildtools.mk to correctly initialize the CC variable.

Helmut
diff --minimal -Nru netcat-1.10/debian/changelog netcat-1.10/debian/changelog
--- netcat-1.10/debian/changelog        2020-07-22 18:54:17.000000000 +0200
+++ netcat-1.10/debian/changelog        2020-08-09 17:18:27.000000000 +0200
@@ -1,3 +1,10 @@
+netcat (1.10-45.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 09 Aug 2020 17:18:27 +0200
+
 netcat (1.10-45) unstable; urgency=medium
 
   * Fix nc not being installed in arch builds now (Closes: #966062)
diff --minimal -Nru netcat-1.10/debian/rules netcat-1.10/debian/rules
--- netcat-1.10/debian/rules    2020-07-22 18:54:17.000000000 +0200
+++ netcat-1.10/debian/rules    2020-08-09 17:18:26.000000000 +0200
@@ -4,6 +4,7 @@
 export DH_OPTIONS
 
 include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
 
 # TODO: there are a lot of warnings with -Wall on. Fix them.
 

Reply via email to