Bug#1136426: git-pw: please make the build reproducible
Chris Lamb
lamby at debian.org
Wed May 13 17:55:44 BST 2026
Source: git-pw
Version: 2.7.1-0.1
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
git-pw could not be built reproducibly.
This is because if you run the tests, the .egg-info file is copied into
place via PYBUILD_BEFORE_TEST and is not removed afterwards — this
results in the binary file containing this directory. However, this
means that if the tests are skipped (ie. via nocheck), then the .deb
will not include this directory and will have different contents.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-05-13 08:59:42.622981739 -0700
--- b/debian/rules 2026-05-13 09:20:47.311670829 -0700
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=git-pw
export PYBUILD_BEFORE_TEST=cp -r {dir}/*.egg-info {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info
%:
dh $@ --buildsystem=pybuild
More information about the Reproducible-bugs
mailing list