Source: claws-mail
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build date is embedded in various manpages in a timezone-dependent
way:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/claws-mail.html

  /usr/share/man/man7/claws-mail-acpi-notifier.7.gz

  .TH·CLAWS-MAIL-ACPI-NOTIFIER·7·"2022-10-31"·"4.1.1-1"·"Claws·Mail"
  vs.
  .TH·CLAWS-MAIL-ACPI-NOTIFIER·7·"2022-11-01"·"4.1.1-1"·"Claws·Mail"

The attached patch to debian/rules fixes this by setting ISO_DATE using
the UTC timezone.

According to my local tests, With this patch applied claws-mail should
build reproducibly on tests.reproducible-builds.org!

Thanks for maintaining claws-mail!

live well,
  vagrant
From 13fb8991ce22369f131130f727584c8b02f9a6e1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Fri, 18 Nov 2022 21:24:22 +0000
Subject: [PATCH] debian/rules: Use UTC for manpage date.

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index d0b28572..e9f31342 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ include /usr/share/dpkg/pkg-info.mk
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 TMP := $(CURDIR)/debian/tmp
-ISO_DATE := $(shell date +%Y-%m-%d -d @$(SOURCE_DATE_EPOCH))
+ISO_DATE := $(shell date +%Y-%m-%d -u -d @$(SOURCE_DATE_EPOCH))
 
 MANUAL =
 XDOCPKG =
-- 
2.38.1

Attachment: signature.asc
Description: PGP signature

Reply via email to