Source: siscone
Version: 3.0.5-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: filesystem
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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:

Reply via email to