Bug#1122230: golang-github-cue-lang-cue: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 8 23:46:51 GMT 2025
Source: golang-github-cue-lang-cue
Version: 0.14.2-1
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-cue-lang-cue could not be built reproducibly.
This is because the call to remove some tests were in the wrong
debian/rules target. Whilst it was in override_dh_auto_test, this target
is not called if the tests are skipped — meaning that if the tests
are *not* run, then the package contains those files.
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 15:40:15.325997407 -0800
--- b/debian/rules 2025-12-08 15:43:55.140374481 -0800
@@ -22,7 +22,7 @@
rm -fv $(CURDIR)/_build/src/cuelang.org/go/mod/modzip/testdata/*/*.txt
rm -fv $(CURDIR)/_build/src/cuelang.org/go/cue/testdata/readme.md
-execute_before_dh_auto_test:
+execute_after_dh_auto_build:
# https://bugs.debian.org/1090796
## cuelang.org/go/cue/load_test [cuelang.org/go/cue/load.test]
#src/cuelang.org/go/cue/load/example_test.go:126:27: undefined: txtar.FS
More information about the Reproducible-bugs
mailing list