Bug#1141687: siso: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Jul 8 19:02:56 BST 2026


Source: siso
Version: 1.5.19+ds-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

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

This is because the manpage embeds three nondetermistic values; two
UUIDs and the absolute path to the build user's home directory.

A hacky patch is attached that post-processes the manpage in debian/rules,
although a better solution would be to modify the upstream code to
calculate these values separate from "flags" module's concept of 
default values.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-07-08 08:55:32.828234029 -0700
--- b/debian/rules	2026-07-08 09:23:02.240662655 -0700
@@ -34,6 +34,11 @@
 override_dh_auto_build:
 	dh_auto_build -- -buildmode=pie
 	debian/build/bin/siso man -out debian/siso.1
+	sed -i \
+		-e 's@\(-build_id\\fR=\\fI\).*\(\\fR\)@\1<automatically\\-generated>\2@' \
+		-e 's@\(-job_id\\fR=\\fI\).*\(\\fR\)@\1<automatically\\-generated>\2@' \
+		-e 's@\(-cache_dir\\fR=\\fI\).*\(\\fR\)@\1$$HOME/.cache/siso\2@' \
+		debian/siso.1
 	cat debian/siso.1.tail >> debian/siso.1
 
 override_dh_auto_install:


More information about the Reproducible-bugs mailing list