Bug#1117614: rsbackup: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Oct 8 17:48:57 BST 2025


Source: rsbackup
Version: 10.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
rsbackup could not be built reproducibly.

This was because the DEBIAN/md5sums file was generated by naively
iterating over the file system without piping the outout via sort(1).
(There is a call to sort, but only for one of the binary packages.)

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-10-08 09:12:32.180505084 -0700
--- b/debian/rules	2025-10-08 09:41:20.475219750 -0700
@@ -119,7 +119,7 @@
 	cd debian/rsbackup-graph && \
 	  find -name DEBIAN -prune -o -type f -print \
 	    | sed 's/^\.\///' \
-			| xargs md5sum > DEBIAN/md5sums
+			| sort | xargs md5sum > DEBIAN/md5sums
 	dpkg-gencontrol -isp -prsbackup-graph -Pdebian/rsbackup-graph \
 		-Tdebian/substvars.rsbackup-graph
 	chmod -R g-ws debian/rsbackup-graph


More information about the Reproducible-bugs mailing list