Bug#924003: splint: please make the build reproducible
Source: splint
Version: 1:3.1.2+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that splint could not be built reproducibly as it does not also
strip -ffile-prefix-map.
Patch to the existing patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/11_reproducible_build_p2.patch 2019-03-08 08:33:05.525240389 +0000
--- b/debian/patches/11_reproducible_build_p2.patch 2019-03-08 08:41:07.272890610 +0000
@@ -32,7 +30,7 @@
fi
AC_DEFINE_UNQUOTED(LCL_PARSE_VERSION, "$LCL_PARSE_VERSION",
[Splint's version number])
-+FILTERED_CFLAGS=`echo $CFLAGS | sed 's@-fdebug-prefix-map=[[^ ]]*[[ ]]*@@g'`
++FILTERED_CFLAGS=`echo $CFLAGS | sed 's@-f\(debug|file\)-prefix-map=[[^ ]]*[[ ]]*@@g'`
AC_DEFINE_UNQUOTED(LCL_COMPILE,
- "Compiled using $CC $CFLAGS on `uname -a` by `whoami`",
- [String describing who compiled this binary and how])
Reply to: