Source: php-dompdf
Version: 3.1.0+dfsg-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
php-dompdf could not be built reproducibly.

This is because testsuite generates a series of .json files, but does
not remove them after and they get shipped in the binary package. This
means that if nocheck is specified, then the package does not contain
these files.

If these files are needed in the binary package (eg. for autopkgtests
or for any other reason), then the packaging will need rejigging.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2025-12-08 14:04:19.950720918 -0800
--- b/debian/rules      2025-12-08 14:20:51.077909348 -0800
@@ -48,6 +48,7 @@
        phpunit --no-coverage  --do-not-cache-result --bootstrap 
tests/autoload.php
        # Dompdf test requires installed-fonts.dist.json in the installed paths
        phpunit --no-coverage  --do-not-cache-result --bootstrap 
tests/autoload.php debian/tests/CpdfTest.php
+       rm lib/fonts/*fm.json
 
 override_dh_installchangelogs:
        dh_installchangelogs debian/upstream/changelog

Reply via email to