Bug#1071064: tkgate: please make the build reproducible

Chris Lamb lamby at debian.org
Mon May 13 18:46:24 BST 2024


Source: tkgate
Version: 2.1+repack-6
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
tkgate could not be built reproducibly.

This is because the binary package ships test output that varies in
a nondeterministic manner. For example:

│ │ │ ├── ./usr/share/doc/tkgate-data/examples/verga/probe1.out
│ │ │ │┄ Ordering differences only
│ │ │ │ @@ -1,9 +1,9 @@
│ │ │ │ -valueof top.i 32'hx @ 0
│ │ │ │  valueof top.a 32'hx @ 0
│ │ │ │ +valueof top.i 32'hx @ 0
│ │ │ │  tell bob top.i 32'h0 @ 0
│ │ │ │  tell bob top.a 32'h0 @ 0
│ │ │ │  tell bob top.i 32'h1 @ 1
│ │ │ │  tell bob top.i 32'h2 @ 2
│ │ │ │  tell bob top.a 32'h2 @ 2
│ │ │ │  tell bob top.i 32'h3 @ 3
│ │ │ │  tell bob top.i 32'h4 @ 4

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2024-05-13 18:07:39.124000324 +0100
--- b/debian/rules	2024-05-13 18:18:23.558129447 +0100
@@ -21,3 +21,4 @@
 
 override_dh_auto_test:
 	cd test/ && sh runtests.sh
+	find test/ -name *.out | xargs rm -f


More information about the debian-science-maintainers mailing list