[Debian-med-packaging] Bug#915853: toppred: reproducible build (usrmerge): embeds path of tool found via PATH

Andreas Henriksson andreas at fatal.se
Fri Dec 7 10:49:20 GMT 2018


Package: toppred
Version: 1.10-6
Severity: normal
Tags: unreproducible patch
User: md at linux.it
Usertags: usrmerge

Dear maintainer.

The package toppred currently fails to build reproducibly on
merged-usr vs non-merged systems.

Please see attached patch fixing this issue.

Regards, Andreas Henriksson 
-------------- next part --------------
diff -Nru toppred-1.10/debian/changelog toppred-1.10/debian/changelog
--- toppred-1.10/debian/changelog	2018-07-16 11:36:54.000000000 +0200
+++ toppred-1.10/debian/changelog	2018-12-06 21:34:43.000000000 +0100
@@ -1,3 +1,11 @@
+toppred (1.10-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Explicitly pass paths to configure instead of looking up tools
+    - fixes reproducible builds on merged-usr vs non-merged systems
+
+ -- Andreas Henriksson <andreas at fatal.se>  Thu, 06 Dec 2018 21:34:43 +0100
+
 toppred (1.10-6) unstable; urgency=medium
 
   * d/rules: do not parse d/changelog
diff -Nru toppred-1.10/debian/rules toppred-1.10/debian/rules
--- toppred-1.10/debian/rules	2018-07-16 11:36:54.000000000 +0200
+++ toppred-1.10/debian/rules	2018-12-06 21:32:28.000000000 +0100
@@ -11,6 +11,12 @@
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		GREP=/bin/grep \
+		EGREP="/bin/grep -E" \
+		MKDIR_P="/bin/mkdir -p"
+
 override_dh_installexamples:
 	make -C test clean
 	dh_installexamples


More information about the Debian-med-packaging mailing list