Source: maildrop
Version: 2.9.3-2.1
Severity: normal
Tags: patch
User: m...@linux.it
Usertags: usrmerge

Dear Maintainer,

According to reproducible build tests maildrop gets built differently
on a merged-usr system vs a non-merged system.

The package embeds the full path of cat. Since PATH defaults to
/usr/bin before /bin, the first will be used on a usrmerged system
where they're both essentially the same thing, but /usr/bin/cat does
not exist on non-merged systems.

The attached patch passes `CAT=/bin/cat` to explicitly set the path.

Regards,
Ansgar

diff -Nru maildrop-2.9.3/debian/changelog maildrop-2.9.3/debian/changelog
--- maildrop-2.9.3/debian/changelog	2018-07-01 09:05:35.000000000 +0200
+++ maildrop-2.9.3/debian/changelog	2018-12-01 14:20:56.000000000 +0100
@@ -1,3 +1,10 @@
+maildrop (2.9.3-2.1) UNRELEASED; urgency=medium
+
+  * Explicit pass CAT=/bin/cat to configure to make build reproducible
+    between merged-usr and non-merged-usr systems.
+
+ -- Ansgar Burchardt <ans...@debian.org>  Sat, 01 Dec 2018 14:20:56 +0100
+
 maildrop (2.9.3-2) unstable; urgency=medium
 
   * Migrate VCS from alioth to salsa. 
diff -Nru maildrop-2.9.3/debian/rules maildrop-2.9.3/debian/rules
--- maildrop-2.9.3/debian/rules	2018-07-01 09:02:52.000000000 +0200
+++ maildrop-2.9.3/debian/rules	2018-12-01 14:01:42.000000000 +0100
@@ -23,6 +23,7 @@
 override_dh_auto_configure:
 # trust on the auto-detect of qmail failing (for sendmail compability)
 	dh_auto_configure -- \
+			CAT=/bin/cat \
 			--enable-use-dotlock=1 \
 			--enable-use-flock=1 \
 			--enable-sendmail=/usr/sbin/sendmail \

Reply via email to