Bug#1132876: wapiti: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Apr 6 18:50:14 BST 2026
Source: wapiti
Version: 3.2.10+dfsg-2
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
wapiti could not be built reproducibly.
This is because the testsuite generated a coverage.xml file which was
then shipped in the binary package, meaning that if the tests were
skipped via "nocheck" then the package contents would differ.
Patch attached that deletes this file 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 2026-04-06 13:33:53.608962134 -0400
--- b/debian/rules 2026-04-06 13:44:18.063154491 -0400
@@ -3,6 +3,7 @@
# do not run tests that need internet, or that are know to fail
# test_xss_utils: https://github.com/wapiti-scanner/wapiti/issues/698
export PYBUILD_TEST_ARGS=--ignore=tests/attack --ignore=tests/endpoint/test_endpoint.py --ignore=tests/parsers/test_xss_utils.py --ignore=tests/web
+export PYBUILD_AFTER_TEST=rm -vf {build_dir}/coverage.xml
%:
dh $@ --buildsystem=pybuild
More information about the Reproducible-bugs
mailing list