Bug#1122218: golang-k8s-sigs-release-utils: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 8 22:17:36 GMT 2025
Source: golang-k8s-sigs-release-utils
Version: 0.8.5-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-k8s-sigs-release-utils could not be built reproducibly.
This is because the call to remove example_multi_test.go was 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 this file. :)
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:27.816490187 -0800
--- b/debian/rules 2025-12-08 14:15:41.172447339 -0800
@@ -5,7 +5,7 @@
%:
dh $@ --builddirectory=_build --buildsystem=golang
-execute_before_dh_auto_test:
+execute_after_dh_auto_build:
# This test fails for two reasons:
# 1. A TLS error occurs when the test try to download images because the 'ca-certificates' package is not installed.
# 2. Debian build machines are restricted from accessing the internet, preventing the test from completing successfully.
More information about the Reproducible-bugs
mailing list