Source: keybinder-3.0
Version: 0.3.2-1.1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

keybinder-3.0 fails to cross build from source, because it fails to
configure. Looking closer, the failing configure invocation happens for
the build architecture, so the failure is unsurprising. Looking into
native builds, one can see that it actually configures twice. The first
of these happens during dh_autoreconf and that's the failing one.
Skipping this extra configure removes the failure and makes cross
building succeed. I'm attaching a patch for your convenience.

Helmut
--- keybinder-3.0-0.3.2/debian/changelog
+++ keybinder-3.0-0.3.2/debian/changelog
@@ -1,3 +1,10 @@
+keybinder-3.0 (0.3.2-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not configure for the build architecture. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 03 Feb 2024 08:47:21 +0100
+
 keybinder-3.0 (0.3.2-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
--- keybinder-3.0-0.3.2/debian/rules
+++ keybinder-3.0-0.3.2/debian/rules
@@ -4,7 +4,7 @@
        dh $@ --with autoreconf,gir
 
 override_dh_autoreconf:
-       dh_autoreconf $(CURDIR)/autogen.sh
+       NOCONFIGURE=1 dh_autoreconf $(CURDIR)/autogen.sh
 
 override_dh_auto_configure:
        dh_auto_configure -- --prefix=/usr --enable-gtk-doc

Reply via email to