Source: golang-github-viant-toolbox
Version: 0.33.2-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to