Source: ssed
Version: 3.62-8.1
Tags: patch
User: [email protected]
Usertags: ftcbfs

ssed fails to cross build from source, because it attempts to build for
the build architecture and fails there. Usually, the easiest way to fix
this is using dh_auto_configure, but ssed's configure does not
understand the --runstatedir switch passed by debhelper. I therefore
suggest passing the --build and --host flags explicitly. Please find a
patch attached for your convenience.

Helmut
diff -Nru ssed-3.62/debian/changelog ssed-3.62/debian/changelog
--- ssed-3.62/debian/changelog  2025-12-20 22:34:51.000000000 +0100
+++ ssed-3.62/debian/changelog  2026-02-10 09:02:13.000000000 +0100
@@ -1,3 +1,10 @@
+ssed (3.62-8.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Pass --build and --host to configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 10 Feb 2026 09:02:13 +0100
+
 ssed (3.62-8.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru ssed-3.62/debian/rules ssed-3.62/debian/rules
--- ssed-3.62/debian/rules      2025-12-20 21:38:27.000000000 +0100
+++ ssed-3.62/debian/rules      2026-02-10 09:02:13.000000000 +0100
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
@@ -15,6 +17,7 @@
        cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub .
        cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub config
        ./configure --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info --program-prefix=s \
+               --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
                $(shell dpkg-buildflags --export=configure)
 
        touch configure-stamp

Reply via email to