Source: mlpost Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org Various binaries in mlpost contain timestamps from the running build: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/mlpost.html /usr/lib/ocaml/mlpost/mlpost.a 120 Sun·Jan··9·20:01:41·-12·2022 120 Tue·Dec··8·15:41:43·+14·2020 The attached patch fixes this by passing options to the call to date in configure.in to use the SOURCE_DATE_EPOCH environment variable: https://reproducible-builds.org/docs/source-date-epoch/ Thanks for maintaining mlpost! live well, vagrant
From 9dac79dbe61945338a2c2a51f4f43d88b9dae464 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 12 Dec 2020 05:49:48 +0000
Subject: [PATCH 1/2] Patch configure.in to use SOURCE_DATE_EPOCH for the date.
This patch relies on GNU extensions to date and may need further
adjustments to be made portable.
https://reproducible-builds.org/docs/source-date-epoch/
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index 5b47867..09078e7 100644
--- a/configure.in
+++ b/configure.in
@@ -34,7 +34,7 @@
AC_INIT(mlpost,0.8.2,[],[],[])
# The compilation date
-TODAY=`date`
+TODAY=`LC_ALL=C date --utc --date=@${SOURCE_DATE_EPOCH}`
# Check for Ocaml compilers
--
2.29.2
Attachment:
signature.asc
Description: PGP signature