Source: readline
Version: 8.0-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed
that readline could not be built reproducibly as
/usr/share/doc/libreadline8/examples/Makefile.gz embeds the build
path via embedding -ffile-prefix-map in CFLAGS.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2019-08-21 14:28:38.958184442 -0700
--- b/debian/rules 2019-08-21 14:35:48.602731884 -0700
@@ -367,6 +367,8 @@
-e '/^VPATH =/s,=.*,= .:/usr/share/doc/$(p_rl)/examples,' \
-e '/^top_srcdir =/s,=.*,= /usr/include/readline,' \
-e '/^BUILD_DIR =/s,=.*,= /usr/src/readline6/build,' \
+ -e 's/-ffile-prefix-map=[^ ]*[ ]*//g' \
+ -e 's/-fdebug-prefix-map=[^ ]*[ ]*//g' \
$(d_doc)/usr/share/doc/$(p_rl)/examples/Makefile
dh_link -p$(p_doc) \
/usr/share/doc/$(p_rl)/examples /usr/share/doc/$(p_doc)/examples