Source: authbind
Version: 2.2.0
Tags: patch
User: [email protected]
Usertags: ftcbfs

authbind fails to cross build from source, because it uses the build 
architecture linker. While dh_auto_build supplies CC and friends, it 
does not presently supply LD. As a result, the upstream Makefile uses 
bare ld for linking. Please consider applying the attached patch to 
supply a suitable initialized LD variable. Doing so will make authbind 
cross buildable.

Helmut
diff -Nru authbind-2.2.0/debian/changelog authbind-2.2.0+nmu1/debian/changelog
--- authbind-2.2.0/debian/changelog     2024-11-11 01:04:16.000000000 +0100
+++ authbind-2.2.0+nmu1/debian/changelog        2025-09-14 07:25:04.000000000 
+0200
@@ -1,3 +1,10 @@
+authbind (2.2.0+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Supply a host LD. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 14 Sep 2025 07:25:04 +0200
+
 authbind (2.2.0) unstable; urgency=medium
 
   Upstream build system:
diff -Nru authbind-2.2.0/debian/rules authbind-2.2.0+nmu1/debian/rules
--- authbind-2.2.0/debian/rules 2024-11-11 01:04:16.000000000 +0100
+++ authbind-2.2.0+nmu1/debian/rules    2025-09-14 07:25:01.000000000 +0200
@@ -22,6 +22,8 @@
 
 package=authbind
 
+include /usr/share/dpkg/buildtools.mk
+
 INSTALL = install
 INSTALL_FILE    = $(INSTALL) -p    -m  644
 INSTALL_PROGRAM = $(INSTALL) -p    -m  755
@@ -35,6 +37,7 @@
 export INSTALL_SCRIPT
 export INSTALL_DIR
 export STRIP
+export LD
 
 
 %:

Reply via email to