Bug#1120593: python-pyutil: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed Nov 12 20:28:42 GMT 2025
Source: python-pyutil
Version: 3.3.2-5
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
python-pyutil could not be built reproducibly.
This was because it was building a different binary package depending
on whether the testsuite was being run or not. Specifically, it was
shipping files such as this:
/usr/lib/python3/dist-packages/util/FileUtil/test_du/space-consuming/a/b/1.txt
^^^^^^^^^^^^^^^^^^
... which seems like an issue in itself. Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-12 12:18:49.485768858 -0800
--- b/debian/rules 2025-11-12 12:26:48.049686334 -0800
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME = pyutil
+export PYBUILD_AFTER_TEST = rm -rvf {build_dir}/util
%:
dh $@ --buildsystem pybuild
More information about the Reproducible-bugs
mailing list