Source: coda
Version: 2.20-3
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 coda could not be built reproducibly.
This is because it ships an example Makefile that contains the full build path,
ironically due
to embedding the -f{file,debug}-prefix-map reproducibility-related
compiler flags.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2019-04-03 07:14:51.315666561 +0200
--- b/debian/rules 2019-04-03 07:26:31.272963611 +0200
@@ -41,6 +41,11 @@
dh_auto_install
find debian -name '*.la' -delete
+override_dh_installexamples:
+ sed -i -e 's@ [^ ]*-f\(file\|debug\)-prefix-map=[^ ]*@@g' \
+ $(DESTDIR)/usr/share/coda/fortran/Makefile
+ dh_installexamples
+
override_dh_auto_clean:
rm -f config.log
rm -f $(patsubst %, debian/%, ${AUTOGENERATED})