Source: golang-github-apptainer-container-library-client
Version: 1.4.10-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-apptainer-container-library-client could not be built 
reproducibly.

This is because it ships different files if the tests are run or not.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-11-05 09:38:06.046334735 -0800
--- b/debian/rules      2025-11-05 09:43:18.191105518 -0800
@@ -1,8 +1,11 @@
 #!/usr/bin/make -f
 
+CLIENT_DIR = 
$(CURDIR)/_build/src/github.com/apptainer/container-library-client/client
+
 %:
        dh $@ --builddirectory=_build --buildsystem=golang --with=golang
 
 override_dh_auto_test:
-       cp -a client/test_data 
$(CURDIR)/_build/src/github.com/apptainer/container-library-client/client/
+       cp -a client/test_data $(CLIENT_DIR)
        dh_auto_test
+       rm -rf $(CLIENT_DIR)/test_data

Reply via email to