Source: ne
Version: 3.3.4-2
Tags: patch
User: [email protected]
Usertags: ftcbfs

ne fails to cross build from source, because it started stripping its
build during dh_auto_build using the build architecture strip. This is
bad in several ways. It also breaks generation of -dbgsym packages as
well as DEB_BUILD_OPTIONS=nostrip. It is best to not let the upstream
build system strip at all and defer this task to dh_strip. I'm attaching
a patch for your convenience.

Helmut
diff -Nru ne-3.3.4/debian/changelog ne-3.3.4/debian/changelog
--- ne-3.3.4/debian/changelog   2025-10-22 19:54:00.000000000 +0200
+++ ne-3.3.4/debian/changelog   2025-11-24 11:29:18.000000000 +0100
@@ -1,3 +1,10 @@
+ne (3.3.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't strip during build. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 24 Nov 2025 11:29:18 +0100
+
 ne (3.3.4-2) unstable; urgency=medium
 
   * Fix reproducible builds. (Closes: #1118596)
diff -Nru ne-3.3.4/debian/rules ne-3.3.4/debian/rules
--- ne-3.3.4/debian/rules       2025-10-20 02:00:30.000000000 +0200
+++ ne-3.3.4/debian/rules       2025-11-24 11:29:16.000000000 +0100
@@ -11,7 +11,7 @@
        rm -f src/version.texinfo
 
 override_dh_auto_build:
-       dh_auto_build -- -Wall PREFIX=/usr NE_GLOBAL_DIR=/usr/share/ne 
LIBS=-ltinfo
+       dh_auto_build -- -Wall PREFIX=/usr NE_GLOBAL_DIR=/usr/share/ne 
LIBS=-ltinfo STRIP=true
 
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=$(BUILDDIR) PREFIX=/usr

Reply via email to