Source: gmrun
Version: 1.4w-0.1
Tags: patch
User: [email protected]
Usertags: ftcbfs

gmrun fails to cross build from source. It used to honour --host=... and
still parses it, but it no longer prepends its value to build tools. As
a result, it uses the build architecture gcc and pkg-config. A
relatively easy way to make this work is exporting the standard
variables. I'm attaching a patch as it makes gmrun cross build again.
Please consider applying it.

Helmut
diff -Nru gmrun-1.4w/debian/changelog gmrun-1.4w/debian/changelog
--- gmrun-1.4w/debian/changelog 2024-11-27 23:06:13.000000000 +0100
+++ gmrun-1.4w/debian/changelog 2025-11-20 09:07:18.000000000 +0100
@@ -1,3 +1,10 @@
+gmrun (1.4w-0.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export build tools for configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 20 Nov 2025 09:07:18 +0100
+
 gmrun (1.4w-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru gmrun-1.4w/debian/rules gmrun-1.4w/debian/rules
--- gmrun-1.4w/debian/rules     2024-11-27 22:09:12.000000000 +0100
+++ gmrun-1.4w/debian/rules     2025-11-20 09:07:18.000000000 +0100
@@ -2,6 +2,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+DPKG_EXPORT_BUILDTOOLS := 1
+include /usr/share/dpkg/buildtools.mk
 
 %:
        dh $@

Reply via email to