Source: tree-puzzle
Version: 5.3~rc16+dfsg-12
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: uname
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because the "clean" target of the (auto-generated)
tests/Makefile file does not clean the test-suite.log file, which
contains system information such as the kernel version.

Patch attached that manually deletes this file in debian/rules.
Alternatively, the "clean" target of the Makefile could be instructed
to clean this file as well.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-

--- a/debian/rules      2025-06-24 09:04:10.709669160 -0700
--- b/debian/rules      2025-06-24 09:09:45.724857197 -0700
@@ -34,6 +34,7 @@
 execute_before_dh_installexamples:
        # Don't install output generated by tests, some of which is 
nodeterminstic
        $(MAKE) -C tests clean
+       rm -f tests/test-suite.log
 
 override_dh_fixperms:
        dh_fixperms

Reply via email to