Bug#1123003: golang-github-roaringbitmap-roaring: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 15 19:14:52 GMT 2025
Source: golang-github-roaringbitmap-roaring
Version: 0.4.21-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
golang-github-roaringbitmap-roaring could not be built reproducibly.
This is because the testsuite generated an "all3.classic" file that
ended up in the binary package. This meant, therefore, that if the
tests were skipped (ie. via "nocheck") then the package would be
differ as it would be missing this file.
Patch attached that removes this file after running the tests. If,
however, the package needs this file, then the packaging will need
some rejigging.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-15 10:27:57.768370085 -0800
--- b/debian/rules 2025-12-15 10:37:52.489227919 -0800
@@ -2,3 +2,6 @@
%:
dh $@ --buildsystem=golang --with=golang
+
+execute_after_dh_auto_test:
+ rm obj-*/src/github.com/RoaringBitmap/roaring/testdata/all3.classic
More information about the Reproducible-bugs
mailing list