Source: tree-puzzle
Version: 5.3~rc16+dfsg-8
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
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 on the on i386
architecture.

This seems to be some kind of rounding issue, but as it only affects a
test or example output file, a patch is attached that results in
Debian simply not shipping this file.

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


Regards,

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

--- a/debian/rules      2022-02-16 15:54:07.153676650 -0800
--- b/debian/rules      2022-02-16 16:05:32.982516872 -0800
@@ -31,6 +31,10 @@
 
 override_dh_installexamples:
        rm -f tests/*.log tests/*.trs
+ifneq (,$(filter $(DEB_BUILD_ARCH),i386))
+       # Does not generate deterministic output on i386.
+       rm -f tests/qp-tn-nucl.nucl*
+endif
        dh_installexamples
 
 override_dh_fixperms:

Reply via email to