Bug#1126038: hovercraft: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Jan 20 19:08:23 GMT 2026
Source: hovercraft
Version: 2.7-11
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
hovercraft could not be built reproducibly.
This is because to run the tests, debian/rules copies some tests into
position; however, it does not delete them afterwards and they then
end up in the binary package.
This means that if the tests are skipped (ie. via "nocheck"), then the
package will have different contents.
Patch attached that removes these (copies of the) tests after running
them.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-01-20 11:01:12.493372787 -0800
--- b/debian/rules 2026-01-20 11:04:55.382387508 -0800
@@ -4,6 +4,7 @@
export PYBUILD_NAME=hovercraft
export PYBUILD_INSTALL_ARGS=--install-scripts=/usr/share/hovercraft --install-lib=/usr/share/hovercraft
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests/ {build_dir}/
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests/
export PYBUILD_TEST_ARGS=tests/test_*.py
DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +%F -f -)
More information about the Reproducible-bugs
mailing list