Your message dated Tue, 07 Apr 2020 07:18:39 +0000
with message-id <[email protected]>
and subject line Bug#955285: fixed in mergerfs 2.29.0-2
has caused the Debian Bug report #955285,
regarding merger FTCBFS: uses the build architecture compiler and strip in
libfuse
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 [email protected]
immediately.)
--
955285: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955285
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mergerfs
Version: 2.29.0-1
Tags: patch
User: [email protected]
Usertags: ftcbfs
mergerfs fails to cross build from source, because make install uses
build architecture tools in the libfuse subdirectory. Due to makefile
dependencies, one object is relinked during make install and since
dh_auto_install doesn't pass cross tools, it uses the build architecture
compilier. It also uses the build architecture strip there. Doing so
also breaks generation of -dbgsym packages as well as
DEB_BUILD_OPTIONS=nostrip. The attached patch fixes all of that. Please
consider applying it to make mergerfs cross buildable again.
Helmut
diff --minimal -Nru mergerfs-2.29.0/debian/changelog
mergerfs-2.29.0/debian/changelog
--- mergerfs-2.29.0/debian/changelog 2020-03-22 14:17:17.000000000 +0100
+++ mergerfs-2.29.0/debian/changelog 2020-03-28 09:24:08.000000000 +0100
@@ -1,3 +1,13 @@
+mergerfs (2.29.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + cross.patch: Make strip substitutable in libfuse/Makefile.
+ + Override strip for make install.
+ + export CC as make install rebuilds parts.
+
+ -- Helmut Grohne <[email protected]> Sat, 28 Mar 2020 09:24:08 +0100
+
mergerfs (2.29.0-1) unstable; urgency=medium
* New upstream version 2.29.0
diff --minimal -Nru mergerfs-2.29.0/debian/patches/cross.patch
mergerfs-2.29.0/debian/patches/cross.patch
--- mergerfs-2.29.0/debian/patches/cross.patch 1970-01-01 01:00:00.000000000
+0100
+++ mergerfs-2.29.0/debian/patches/cross.patch 2020-03-28 09:23:39.000000000
+0100
@@ -0,0 +1,21 @@
+--- mergerfs-2.29.0.orig/libfuse/Makefile
++++ mergerfs-2.29.0/libfuse/Makefile
+@@ -15,6 +15,7 @@
+ SBINDIR = $(EXEC_PREFIX)/sbin
+ MANDIR = $(DATAROOTDIR)/man
+ MAN1DIR = $(MANDIR)/man1
++STRIP ?= strip
+
+ INSTALLBINDIR = $(DESTDIR)$(BINDIR)
+ INSTALLSBINDIR = $(DESTDIR)$(SBINDIR)
+@@ -90,8 +91,8 @@
+ distclean: clean
+
+ strip:
+- strip --strip-all build/mount.mergerfs
+- strip --strip-all build/mergerfs-fusermount
++ $(STRIP) --strip-all build/mount.mergerfs
++ $(STRIP) --strip-all build/mergerfs-fusermount
+
+ install: mergerfs-fusermount mount.mergerfs strip
+ install -D build/mergerfs-fusermount
"$(INSTALLBINDIR)/mergerfs-fusermount"
diff --minimal -Nru mergerfs-2.29.0/debian/patches/series
mergerfs-2.29.0/debian/patches/series
--- mergerfs-2.29.0/debian/patches/series 2020-03-22 14:17:17.000000000
+0100
+++ mergerfs-2.29.0/debian/patches/series 2020-03-28 09:22:45.000000000
+0100
@@ -1,2 +1,3 @@
0001-Use-the-debian-build-flags.patch
0002-Override-the-assignment-of-the-variable.patch
+cross.patch
diff --minimal -Nru mergerfs-2.29.0/debian/rules mergerfs-2.29.0/debian/rules
--- mergerfs-2.29.0/debian/rules 2020-03-22 14:17:17.000000000 +0100
+++ mergerfs-2.29.0/debian/rules 2020-03-28 09:24:08.000000000 +0100
@@ -9,6 +9,7 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
-include /usr/share/dpkg/buildtools.mk
+export CC
export CXX
export DEBUG = 1
@@ -22,4 +23,4 @@
# Because there's no auto* files shipped anymore
override_dh_auto_install:
- $(MAKE) DESTDIR=$(CURDIR)/debian/mergerfs PREFIX=/usr install
+ $(MAKE) DESTDIR=$(CURDIR)/debian/mergerfs PREFIX=/usr install STRIP=true
--- End Message ---
--- Begin Message ---
Source: mergerfs
Source-Version: 2.29.0-2
Done: Ritesh Raj Sarraf <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mergerfs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ritesh Raj Sarraf <[email protected]> (supplier of updated mergerfs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 07 Apr 2020 12:25:24 +0530
Source: mergerfs
Architecture: source
Version: 2.29.0-2
Distribution: unstable
Urgency: medium
Maintainer: Ritesh Raj Sarraf <[email protected]>
Changed-By: Ritesh Raj Sarraf <[email protected]>
Closes: 955285
Changes:
mergerfs (2.29.0-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #955285)
+ cross.patch: Make strip substitutable in libfuse/Makefile.
+ Override strip for make install.
+ export CC as make install rebuilds parts.
Checksums-Sha1:
674376e5f3a1f031e73913fd2ffe4d5c5fee8670 1882 mergerfs_2.29.0-2.dsc
b280f0d0eecf3c8daf4f6b12e5ca39b8782295c3 5192 mergerfs_2.29.0-2.debian.tar.xz
Checksums-Sha256:
5d6e8244e4ad719bcda2f3a47c4b94aee89134b083f4fcd182eae4c510cf1f5b 1882
mergerfs_2.29.0-2.dsc
996f2a059649f15c34457c2acadc85803988c0497b516c9bf454d6cdf35fd517 5192
mergerfs_2.29.0-2.debian.tar.xz
Files:
55342d44a90fef7e2b7f9de86ffe736d 1882 utils optional mergerfs_2.29.0-2.dsc
4b6268645c79269ebb6401c3d00db825 5192 utils optional
mergerfs_2.29.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAl6MJJ8ACgkQpjpYo/Lh
dWk1mg/9GO0eh7g6D+bQ29TQl7J6AfhjxOYXsPGyLzPTlWeT2uOQy74OpOmtPexF
SuilyGpAU/dTNReCDE6TrKCj+ols5S5BlEuzX/YF0DTEQs7Fslj03mW2dnRDb/Kc
cR+TZDvaxq/Gl9myxbzwd5ImZZ89xraGsmVs7uxWiHIACIVq+nD6ZLcrOpY9hszV
DGG1Tcg6DorLMM4yxCR/wper6DcAirilS14VJwQ4DTXQj9iCwwuk/Ri88l4642qc
M8CH+C/Sb48WRwSrfhbZiym+yTNAwAEYVvvAJfgsWbnT5gJyJOrALnF1ZHuV0lsP
Nf90lad3upnlWHmNABlXw/qgaVFZR4eIYu8StJW+DEU5d/ILW3GcX6Nehr+j4+Pk
pgxYhdXEAUWJCT61QaEZTYntRnvJ/dK3HmFwnSCaCci8lp83LhsS9g/7f1u+zCFg
RmGaGivkuPZUStRc/S2kF0dOfa+fn0BKsswSTvnkiMJvhYfdW7spexpJ1DhTSjtK
RhtgYNiPDQQaJ2zqpR4NGNgFPDQFZWPYXr2JNKRTt8dZB1Nw0hlyiz3Q0zXSiMDH
01Dx9dhwumkKIVoJPx/EWIo/LLgXp7DsngTI7xoO74ZkK6BhjunSzPpp6ifeYgQK
S8aPI4ODWYZA5Rwpceu1oNzVGufoskJaOOQxIfhBoWjOysYiknk=
=Ocjx
-----END PGP SIGNATURE-----
--- End Message ---