Bug#1123007: golang-github-jung-kurt-gofpdf: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 15 19:19:54 GMT 2025
Source: golang-github-jung-kurt-gofpdf
Version: 2.17.3+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-jung-kurt-gofpdf could not be built reproducibly.
This is because running the tests generated a seemingly duplicate (?)
set of .pdf files separate from the ones under reference/. This meant
that if the tests were skipped, then the binary package would not
include these files — ie. it would differ.
Patch attached that removes these pdfs after running the tests.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-15 10:26:45.047211861 -0800
--- b/debian/rules 2025-12-15 10:37:18.612794648 -0800
@@ -13,4 +13,5 @@
# Try to copy everything to build dir
cp -a internal/files _build/src/github.com/jung-kurt/gofpdf/internal
dh_auto_test
+ rm _build/src/github.com/jung-kurt/gofpdf/pdf/*.pdf
endif
More information about the Reproducible-bugs
mailing list