Bug#1154300: siscone: please make the build reproducible [filesystem]

Chris Lamb lamby at debian.org
Wed Nov 18 16:58:37 GMT 2026


Source: siscone
Version: 3.0.5-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
siscone could not be built reproducibly.

This is because Doxygen does not sort input files, so when it searches
for files in subdirectories, it includes them in a (nondeterministic)
filesystem order.

Patch attached that uses find and sort to pass a sorted list when
running Doxygen.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-11-18 16:23:52.526263755 +0000
--- b/debian/rules	2026-11-18 16:54:29.367552467 +0000
@@ -13,7 +13,11 @@
 override_dh_auto_build-indep:
 	dh_auto_build -i
 	mkdir -p doc/devel
-	doxygen
+	( \
+		cat Doxyfile; \
+		echo "RECURSIVE = NO"; \
+		echo "INPUT = $(shell find -type f \( -name '*.h' -o -name '*.c' \) | LC_ALL=C sort | tr '\n' ' ')" \
+	) | doxygen -
 	$(MAKE) -C doc/devel/latex pdf
 
 override_dh_install:


More information about the Reproducible-bugs mailing list