Bug#1122222: golang-github-viant-toolbox: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 8 22:29:59 GMT 2025
Source: golang-github-viant-toolbox
Version: 0.33.2-4
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-viant-toolbox could not be built reproducibly.
This was because the testsuite did not correctly clean up after itself,
meaning that if the tests are skipped via nocheck, the package will
contain different contents.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-08 14:04:20.869273030 -0800
--- b/debian/rules 2025-12-08 14:28:18.251668971 -0800
@@ -6,6 +6,8 @@
storage/test \
test
+export DH_GOLANG_EXCLUDES := /source.go
+
include /usr/share/dpkg/architecture.mk
%:
@@ -19,4 +21,5 @@
else
dh_auto_test
endif
+ rm -rfv obj-*/src/github.com/viant/toolbox/storage/test/target
endif
More information about the Reproducible-bugs
mailing list