Package: device-tree-compiler Version: 1.4.2-1 Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Thanks for maintaining device-tree-compiler! While working on the Reproducible Builds effort [0], we noticed that device-tree-compiler could not be built reproducibly. This is because it includes the timestamp in the generated documentation. [0] https://reproducible-builds.org/ The following patch sets a variable that causes texlive to respect SOURCE_DATE_EPOCH when generating documentation. diff --git a/debian/rules b/debian/rules index c852d3c..e3d56eb 100755 --- a/debian/rules +++ b/debian/rules @@ -10,6 +10,10 @@ export CFLAGS = -Wall -g -fPIC +# reproducible builds: Insist that documents generated with texlive +# use SOURCE_DATE_EPOCH for timestamps. +export FORCE_SOURCE_DATE=1 + include /usr/share/dpkg/architecture.mk ifeq ($(origin CC),default) export CC = $(DEB_HOST_GNU_TYPE)-gcc This doesn't fully address reproducibility issues with device-tree-compiler, as it is still influenced by build-path variations, but build-path is not currently varied when testing buster. live well, vagrant
signature.asc
Description: PGP signature