Source: gmap Version: 2020-04-08+ds1-2 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: environment randomness X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that gmap could not be built reproducibly. This is because the tests.tar.xz file contained some non-deterministic or generated data: │ │ │ │ │ ├── file list │ │ │ │ │ │ @@ -1,12 +1,12 @@ │ │ │ │ │ │ drwxr-xr-x 0 0 0 0 2020-04-18 18:38:39.000000 tests/ │ │ │ │ │ │ --rw-r--r-- 0 0 0 29029 2020-04-18 18:38:39.000000 tests/Makefile │ │ │ │ │ │ +-rw-r--r-- 0 0 0 29047 2020-04-18 18:38:39.000000 tests/Makefile │ │ │ │ │ │ -rw-r--r-- 0 0 0 1319 2020-04-18 18:38:39.000000 tests/Makefile.am │ │ │ │ │ │ -rw-r--r-- 0 0 0 29193 2020-04-18 18:38:39.000000 tests/Makefile.in │ │ │ │ │ │ --rw-r--r-- 0 0 0 560 2020-04-18 18:38:39.000000 tests/align.log │ │ │ │ │ │ +-rw-r--r-- 0 0 0 559 2020-04-18 18:38:39.000000 tests/align.log │ │ │ │ │ │ -rwxr-xr-x 0 0 0 206 2020-04-18 18:38:39.000000 tests/align.test │ │ │ │ │ │ -rw-r--r-- 0 0 0 206 2020-04-18 18:38:39.000000 tests/align.test.in Patch attached that does not ship these generated files (plus Makefile.in). [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2020-07-13 12:18:16.221932141 +0100 --- b/debian/rules 2020-07-13 12:30:05.471655529 +0100 @@ -50,4 +50,7 @@ --mtime="@${SOURCE_DATE_EPOCH}" \ --owner=root --group=root --numeric-owner \ --mode=go=rX,u+rw,a-s \ + --exclude='*/align.log' \ + --exclude='*/Makefile' \ + --exclude='*/Makefile.in' \ -cJf $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/doc/$(DEB_SOURCE)/examples/tests.tar.xz tests