Package: rsnapshot
Version: 1.4.2-1
Severity: normal
Tags: unreproducible patch
User: m...@linux.it
Usertags: usrmerge

Dear maintainer.

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

Please see attached patch fixing this issue.

Regards, Andreas Henriksson 
diff -Nru rsnapshot-1.4.2/debian/changelog rsnapshot-1.4.2/debian/changelog
--- rsnapshot-1.4.2/debian/changelog    2016-03-26 18:51:17.000000000 +0100
+++ rsnapshot-1.4.2/debian/changelog    2018-12-06 21:25:55.000000000 +0100
@@ -1,3 +1,11 @@
+rsnapshot (1.4.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Explicitly pass paths to configure instead of looking up tools
+    - fixes reproducible build on merged-usr vs non-merged
+
+ -- Andreas Henriksson <andr...@fatal.se>  Thu, 06 Dec 2018 21:25:55 +0100
+
 rsnapshot (1.4.2-1) unstable; urgency=medium
 
   * New upstream release (Closes: #817071), refresh patches
diff -Nru rsnapshot-1.4.2/debian/rules rsnapshot-1.4.2/debian/rules
--- rsnapshot-1.4.2/debian/rules        2016-03-26 18:21:15.000000000 +0100
+++ rsnapshot-1.4.2/debian/rules        2018-12-06 21:25:53.000000000 +0100
@@ -19,6 +19,12 @@
                cp -f $(var) $(var).bak;)
        dh_autoreconf
 
+override_dh_auto_configure:
+       dh_auto_configure -- \
+               CP=/bin/cp RM=/bin/rm \
+               LVCREATE=/sbin/lvcreate LVREMOVE=/sbin/lvremove \
+               MOUNT=/bin/mount UMOUNT=/bin/umount
+
 override_dh_install:
        dh_install
        # rename default configfile

Reply via email to