Source: libcupsfilters
Version: 2.1.1-2
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
libcupsfilters could not be built reproducibly.
This is because the testsuite generates three binaries test1284, testfilters
and testimage that get installed in the binary package... but only if
the testsuite is run. This means that if the testsuite is skipped (i.e
via nocheck) then the package contents differ and is therefore
unreproducible.
Patch attached that deletes these particular binaries so they are never
shipped.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2026-03-20 12:02:21.979525192 -0700
--- b/debian/rules 2026-03-20 12:15:47.958291022 -0700
@@ -39,6 +39,8 @@
# Install test programs for autopkgtest, binary package
# libcupsfilters-tests
install -d -m 755 debian/libcupsfilters-tests/usr/bin
+ # skip files generated during the test run to ensure package is
reproducible
+ rm -f .libs/test1284 .libs/testfilters .libs/testimage
install -m 755 .libs/test* debian/libcupsfilters-tests/usr/bin/
install -D -m 644 cupsfilters/image.pgm
debian/libcupsfilters-tests/usr/share/libcupsfilters-tests/image.pgm
install -D -m 644 cupsfilters/image.pgm
debian/libcupsfilters-tests/usr/share/libcupsfilters-tests/image.ppm