Source: golang-github-cue-lang-cue
Version: 0.14.2-1
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-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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to