Bug#1137204: golang-github-containerd-accelerated-container-image: please make the build reproducible

Chris Lamb lamby at debian.org
Wed May 20 22:43:30 BST 2026


Source: golang-github-containerd-accelerated-container-image
Version: 1.4.2-3
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-containerd-accelerated-container-image could not be built reproducibly.

This is because the testsuite generates a hello-world file and does not
remove it afterwards, meaning that if the testsuite is *not* run, the
package will not include this file, resulting in the package being
unreproducible.

Patch attached that deletes this file execute_after_dh_auto_test.
(Alternatively, upstream's testsuite could be patched to remove this
file.)

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-05-20 12:01:15.707023703 -0700
--- b/debian/rules	2026-05-20 14:35:13.557471654 -0700
@@ -14,3 +14,6 @@
 	cp -v debian/zdfs/*.go debian/tmp/usr/share/gocode/src/github.com/data-accelerator/zdfs
 	# rename the ctr binary, cf. #1133166
 	mv -v debian/tmp/usr/bin/ctr debian/tmp/usr/bin/ctr.accelerated-container-image
+
+execute_after_dh_auto_test:
+	rm -rf ./debian/_build/src/github.com/containerd/accelerated-container-image/ci/e2e/resources/store/hello-world/


More information about the Reproducible-bugs mailing list