Source: apsfilter
Version: 7.2.6-1.3
Severity: normal
Tags: patch
User: [email protected]
Usertags: usrmerge

Dear Maintainer,

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

The package embeds the full path of bash. 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/bash does
not exist on non-merged systems.

The attached patch passes `--with-shell=/bin/bash` to explicitly set
the path.

Regards,
Ansgar

diff -u apsfilter-7.2.6/debian/rules apsfilter-7.2.6/debian/rules
--- apsfilter-7.2.6/debian/rules
+++ apsfilter-7.2.6/debian/rules
@@ -12,7 +12,8 @@
 	dh_testdir
 	# Add here commands to configure the package.
 	./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
-		--with-awk=/usr/bin/awk --with-sendmail=/usr/sbin/sendmail
+		--with-awk=/usr/bin/awk --with-sendmail=/usr/sbin/sendmail \
+		--with-shell=/bin/bash
 	touch configure-stamp
 
 build: configure-stamp build-stamp
diff -u apsfilter-7.2.6/debian/changelog apsfilter-7.2.6/debian/changelog
--- apsfilter-7.2.6/debian/changelog
+++ apsfilter-7.2.6/debian/changelog
@@ -1,3 +1,10 @@
+apsfilter (7.2.6-1.4) UNRELEASED; urgency=medium
+
+  * Explicit pass `--with-shell=/bin/bash` to configure to make build
+    reproducible between merged-usr and non-merged-usr systems.
+
+ -- Ansgar Burchardt <[email protected]>  Sat, 01 Dec 2018 13:20:25 +0100
+
 apsfilter (7.2.6-1.3) unstable; urgency=low
 
   * Non-maintainer upload.

Reply via email to