Bug#1122392: golang-forgejo-forgejo-levelqueue: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Dec 10 20:25:51 GMT 2025


Source: golang-forgejo-forgejo-levelqueue
Version: 1.0.0-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-forgejo-forgejo-levelqueue could not be built reproducibly.

This is because whilst the packaging does perform some cleanup after
running the test, it does not delete everything: it was missing
the deletion of the CURRENT, LOCK and MANIFEST-000000 files which
end up in the binary package... so if the tests aren't run, then
these files are missing from the binary package.

A patch is attached that removes these files after running the
tests so that package no longer varies depending on whether nocheck
is passed.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-10 11:31:02.829285599 -0800
--- b/debian/rules	2025-12-10 12:07:54.547642306 -0800
@@ -4,4 +4,4 @@
 	dh ${@} --builddirectory=_build --buildsystem=golang
 
 execute_after_dh_auto_test:
-	find _build -type f \( -name LOG -or -name '*.log' \) -delete
+	find _build -type f \( -name LOG -or -name '*.log' -or -name CURRENT -or -name LOCK -or -name MANIFEST-000000 \) -delete


More information about the Reproducible-bugs mailing list