Source: midish Version: 1.4.0-1 Tags: patch User: [email protected] Usertags: ftcbfs
midish fails to cross build from source, because it builds for the build architecture. Normally, we expect a configure script to set up the toolchain, but this configure is only concerned with paths. I propose selecting the makefile debhelper buildsystem explicitly as that causes debhelper to pass cross tools at the build step. I'm attaching a patch for your convenience. Helmut
diff -Nru midish-1.4.0/debian/changelog midish-1.4.0/debian/changelog --- midish-1.4.0/debian/changelog 2025-07-29 17:37:58.000000000 +0200 +++ midish-1.4.0/debian/changelog 2025-08-30 07:12:11.000000000 +0200 @@ -1,3 +1,10 @@ +midish (1.4.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use the makefile buildsystem. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 30 Aug 2025 07:12:11 +0200 + midish (1.4.0-1) unstable; urgency=medium * New upstream version diff -Nru midish-1.4.0/debian/rules midish-1.4.0/debian/rules --- midish-1.4.0/debian/rules 2025-07-29 17:37:58.000000000 +0200 +++ midish-1.4.0/debian/rules 2025-08-30 07:12:10.000000000 +0200 @@ -3,7 +3,7 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: - dh $@ + dh $@ --buildsystem=makefile override_dh_auto_configure: ./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" --prefix=/usr --mandir=/usr/share/man

