#1147673 golang-forgejo-xorm-xorm: please make the build reproducible

#1147673#5
Date:
2026-09-14 11:06:52 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
golang-forgejo-xorm-xorm could not be built reproducibly.

This is because the testsuite does not correctly tidy up after itself,
leading to a different binary .deb being generated if the tests are
skipped.

Patch attached that excludes a bunch of these files from the binary
package. However, a cleaner method would be to remove these in the
testsuite itself (a job for upstream, perhaps). If these files are
needed at runtime, however, the packaging would of course need re-
jiggering.

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


Regards,