Bug#1120880: python-babelgladeextractor: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Nov 17 20:31:56 GMT 2025
Source: python-babelgladeextractor
Version: 0.7.0-3
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-babelgladeextractor could not be built reproducibly.
This is because it ships a different binary package depending on
whether the testsuite is run or not.
Specifically, it does not remove some files (eg. test.desktop) that
are generated during the testsuite. A patch is attached that will remove
them, but if the binary package really does need this directory at runtime
for whatever reason (e.g. for autopkgtests or simply for the package to
function), then the package naturally needs to ensure that they exist
regardless of whether nocheck is specified or not.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-17 10:29:50.595968716 -0800
--- b/debian/rules 2025-11-17 11:22:55.304072223 -0800
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME = BabelGladeExtractor
+export PYBUILD_AFTER_TEST = rm -rfv {build_dir}/test.*
%:
dh $@ --with python3 --buildsystem=pybuild
More information about the Reproducible-bugs
mailing list