Source: golang-github-jung-kurt-gofpdf
Version: 2.17.3+ds-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-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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to