Source: proxytunnel
Version: 1.10.20200907-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

proxytunnel fails to cross build from source, because debian/rules
forces the build architecture compiler. It even has a comment explaining
that exporting CC makes changing the compiler simple. Unfortunately,
that choice overrides the default choice of dh_auto_build and makes
things fail. Please leave CC unset by default and only set it, when you
know it needs being set. I'm attaching a patch that makes proxytunnel
cross buildable for your convenience.

Helmut
diff --minimal -Nru proxytunnel-1.10.20200907/debian/changelog 
proxytunnel-1.10.20200907/debian/changelog
--- proxytunnel-1.10.20200907/debian/changelog  2020-09-19 20:39:44.000000000 
+0200
+++ proxytunnel-1.10.20200907/debian/changelog  2020-09-22 06:33:08.000000000 
+0200
@@ -1,3 +1,10 @@
+proxytunnel (1.10.20200907-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Stop forcing the build architecture compiler. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 22 Sep 2020 06:33:08 +0200
+
 proxytunnel (1.10.20200907-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru proxytunnel-1.10.20200907/debian/rules 
proxytunnel-1.10.20200907/debian/rules
--- proxytunnel-1.10.20200907/debian/rules      2020-09-19 20:39:44.000000000 
+0200
+++ proxytunnel-1.10.20200907/debian/rules      2020-09-22 06:33:05.000000000 
+0200
@@ -3,11 +3,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This serves to change compilers easily
-#  It should be set to 'cc' by default. Alternatives can be 'gcc-9', 'gcc-10'
-#  or others, depending on the build environment in use.
-export CC=cc
-
 # Make sure the code is compiled for use with OpenSSL 1.1.0 and above
 export OPTFLAGS=-DOPENSSL11
 

Reply via email to