Bug#1005901: tree-puzzle: please make the build reproducible on i386

Chris Lamb lamby at debian.org
Thu Feb 17 00:07:48 GMT 2022


Source: tree-puzzle
Version: 5.3~rc16+dfsg-8
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at 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
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-

-------------- next part --------------
--- 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:


More information about the Reproducible-bugs mailing list