Bug#1108281: cctools: please make the build reproducible
Chris Lamb
lamby at debian.org
Tue Jun 24 18:10:18 BST 2025
Source: cctools
Version: 1:7.14.5-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
cctools could not be built reproducibly.
This is because the config.mk file included the current build time (as
well as the current build path).
Patch attached that modifies this file after its generation. However,
you may wish to consider the utility of shipping this file: said
paths, after all, did not resolve at all on user's systems prior to
this point.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-06-24 09:04:18.125749591 -0700
--- b/debian/rules 2025-06-24 09:26:09.687680778 -0700
@@ -66,6 +66,9 @@
for v in vine_example_gutenberg vine_example_blast vine_example_poncho vine_example_mosaic vine_example_watch ; do \
rm debian/tmp/doc/cctools/examples/taskvine/C/$$v ; done
find debian/tmp/ -type f -size 0 -delete
+ # fix nondeterminstic lines
+ sed -i '/^# Generated at.*/d' ./debian/tmp/etc/cctools/config.mk
+ sed -i -e 's@$(CURDIR)@/usr/share/cctools at g' ./debian/tmp/etc/cctools/config.mk
override_dh_auto_clean:
More information about the Reproducible-bugs
mailing list