Source: golang-github-containerd-accelerated-container-image
Version: 1.4.2-3
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-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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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/

Reply via email to