Bug#1028051: unifrac-tools: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Jan 6 10:58:10 GMT 2023
Source: unifrac-tools
Version: 1.2-1
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
unifrac-tools could not be built reproducibly.
This is because upstream's Makefile does not use the contents of
CFLAGS from dpkg-buildflags so it misses the reproducibility-related
compiler flags (and likely others).
Proof of concept patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-01-06 10:46:40.635033129 +0000
--- b/debian/rules 2023-01-06 10:55:34.858553266 +0000
@@ -4,7 +4,8 @@
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PYBUILD_NAME=unifrac
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export CPPFLAGS := $(CFLAGS) $(CPPFLAGS)
+
%:
dh $@ --no-parallel
More information about the Reproducible-bugs
mailing list