Source: libcifpp Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The build time is embedded in /usr/lib/arm-linux-gnueabihf/libcifpp.so.1.0.0: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/armhf/diffoscope-results/libcifpp.html Date: 2020-12-22 vs. Date: 2020-12-24 The attached patch fixes this by adjusting the date command in GNUmakefile.in to use SOURCE_DATE_EPOCH for the timestamp. Thanks for maintaining libcifpp! live well, vagrant
From d6022f4c631e73daa597a47faa751c3b651d5437 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Thu, 24 Dec 2020 07:44:51 +0000 Subject: [PATCH] revision.hpp: Patch to use SOURCE_DATE_EPOCH. https://reproducible-builds.org/docs/source-date-epoch/ --- GNUmakefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile.in b/GNUmakefile.in index 08a29fb..1d9526c 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -162,7 +162,7 @@ else src/revision.hpp: @ echo 'const char kRevision[] = R"(' > $@ @ echo libcifpp-version: $(VERSION) >> $@ - @ echo Date: $$(date --iso-8601) >> $@ + @ echo Date: $$(date --utc --date=@$(SOURCE_DATE_EPOCH) --iso-8601) >> $@ @ echo ')";' >> $@ endif -- 2.30.0.rc1
signature.asc
Description: PGP signature