Source: sff Version: 1.1-1 Tags: patch User: [email protected] Usertags: ftcbfs
sff fails to cross build from source, because it uses the build architecture compiler as a make default. The easiest way of fixing this is using dh_auto_build. Once doing so, sff cross build successfully. I'm attaching a patch for your convenience. Helmut
diff -Nru sff-1.1/debian/changelog sff-1.1/debian/changelog --- sff-1.1/debian/changelog 2025-06-24 04:30:00.000000000 +0200 +++ sff-1.1/debian/changelog 2025-10-24 10:24:51.000000000 +0200 @@ -1,3 +1,10 @@ +sff (1.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Fri, 24 Oct 2025 10:24:51 +0200 + sff (1.1-1) unstable; urgency=medium * Initial release (Closes: #1108135) diff -Nru sff-1.1/debian/rules sff-1.1/debian/rules --- sff-1.1/debian/rules 2025-06-24 04:30:00.000000000 +0200 +++ sff-1.1/debian/rules 2025-10-24 10:24:49.000000000 +0200 @@ -12,7 +12,7 @@ override_dh_auto_configure: override_dh_auto_build: - $(MAKE) CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \ + dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)" \ LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" override_dh_auto_install:

