Bug#1031829: gawk: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Feb 23 19:06:03 GMT 2023
Source: gawk
Version: 1:5.2.1-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
gawk could not be built reproducibly.
This is because the gawkbug script contained the contents of the CFLAGS
environment variable, and this can contain the full build path via/by
embedding -ffile-prefix-map.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-02-23 10:40:16.745966821 -0800
--- b/debian/rules 2023-02-23 10:58:04.377850011 -0800
@@ -34,6 +34,8 @@
rm -f debian/gawk/usr/bin/awk
# Remove fake info files (see README.source).
rm -rf debian/gawk/usr/share/info
+ # Make gawkbug reproducible
+ sed -i -e 's@$(CURDIR)@/build/dir at g' debian/gawk/usr/bin/gawkbug
override_dh_auto_clean:
dh_auto_clean
More information about the Reproducible-bugs
mailing list