Bug#1140688: golang-github-tobischo-gokeepasslib: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Jun 24 16:16:28 BST 2026
Source: golang-github-tobischo-gokeepasslib
Version: 3.6.2+ds-1
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-tobischo-gokeepasslib could not be built reproducibly.
This is because the testsuite does not clear up 3 .kbdx files and they
end up in the binary .deb — so when the tests are skipped, the package
is "missing" these files.
Patch attached that removes them after running the tests, although the
upstream code could instead be patched to remove these (presumably)
temporary files.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-06-24 07:55:03.220036161 -0700
--- b/debian/rules 2026-06-24 07:59:42.739903761 -0700
@@ -8,3 +8,6 @@
override_dh_auto_install:
dh_auto_install -- --no-binaries
+
+execute_after_dh_auto_test:
+ find debian/_build \( -name tmp.kdbx -or -name new.kdbx \) -delete
More information about the Reproducible-bugs
mailing list