Package: libdigidoc Severity: normal Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: timestamps timezone X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org The man page /usr/share/man/man1/cdigidoc.1.gz may include a different date dependent on the timezone of the build system: https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/libdigidoc.html TH·CDIGIDOC·1·"09.06.2020"·"3.10.5.0"·"cdigidoc·man·page" vs. TH·CDIGIDOC·1·"10.06.2020"·"3.10.5.0"·"cdigidoc·man·page" The attached patch fixes this by using the UTC timezone when generating the timestamp. Thanks for maintaining libdigidoc! live well, vagrant
From 7032f2516efc404bd97cdcde0a8c6ff0c0058922 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 25 Dec 2020 10:14:21 +0000
Subject: [PATCH] VersionInfo.cmake: Set BUILD_DATE using UTC timezone.
While cmake respects SOURCE_DATE_EPOCH for the timestamp, the
timestamp needs to be specified in UTC.
https://reproducible-builds.org/docs/timestamps/
---
cmake/modules/VersionInfo.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmake/modules/VersionInfo.cmake b/cmake/modules/VersionInfo.cmake
index 864a52e..cd495f2 100644
--- a/cmake/modules/VersionInfo.cmake
+++ b/cmake/modules/VersionInfo.cmake
@@ -6,7 +6,7 @@ else()
set( BUILD_VER 0 )
endif()
if(NOT BUILD_DATE)
- string(TIMESTAMP BUILD_DATE "%d.%m.%Y")
+ string(TIMESTAMP BUILD_DATE "%d.%m.%Y" UTC)
endif()
set( VERSION ${PROJECT_VERSION}.${BUILD_VER} )
--
2.30.0.rc2
Attachment:
signature.asc
Description: PGP signature