Your message dated Sun, 2 Jun 2024 10:37:26 +0200
with message-id <zlwvrmnvirxqb...@hjemme.reinholdtsen.name>
and subject line Re: multimail FTCBFS: does not pass cross tools to make
has caused the Debian Bug report #930241,
regarding multimail FTCBFS: does not pass cross tools to make
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
930241: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930241
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: multimail
Version: 0.49-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

multimail fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that - using
dh_auto_build - is insufficient here, because multimail also passes -s
to install and thus uses the wrong strip. This also happens to break the
generation of -dbgsym packages. Stripping is best left to dh_strip. The
attached patch fixes both. Please consider applying it.

Helmut
diff -u multimail-0.49/Makefile multimail-0.49/Makefile
--- multimail-0.49/Makefile
+++ multimail-0.49/Makefile
@@ -22,11 +22,7 @@
 endif
 
 # Edited for Debian - make it possible to install unstripped binaries
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_OPTS = -s
-else
 INSTALL_OPTS =
-endif
 
 # Edited for Debian
 DESTDIR =
diff -u multimail-0.49/debian/control multimail-0.49/debian/control
--- multimail-0.49/debian/control
+++ multimail-0.49/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Peter Karlsson <pet...@debian.org>
 Standards-Version: 3.7.2
-Build-Depends: libncurses5-dev, debhelper (>= 5.0)
+Build-Depends: libncurses5-dev, debhelper (>= 7)
 
 Package: multimail
 Architecture: any
diff -u multimail-0.49/debian/rules multimail-0.49/debian/rules
--- multimail-0.49/debian/rules
+++ multimail-0.49/debian/rules
@@ -9,7 +9,7 @@
 build: build-stamp
 build-stamp:
        dh_testdir
-       $(MAKE)
+       dh_auto_build
        touch build-stamp
 
 clean:
diff -u multimail-0.49/debian/changelog multimail-0.49/debian/changelog
--- multimail-0.49/debian/changelog
+++ multimail-0.49/debian/changelog
@@ -1,3 +1,12 @@
+multimail (0.49-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Let dh_auto_build pass cross tools to make.
+    + Defer all stripping to dh_strip.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 09 Jun 2019 07:37:49 +0200
+
 multimail (0.49-2) unstable; urgency=low
 
   * Fixed FTBFS with GCC 4.3.

--- End Message ---
--- Begin Message ---
Version: 0.52-1

As far as I can tell, this issue is fixed in version 0.52-1, as simple
dh is used and the install command no longer uses -s.
-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---

Reply via email to