Debian Bug report logs - #1024412
claws-mail: reproducible builds: Embeds timezone-dependent build date in manpages

Package: src:claws-mail; Maintainer for src:claws-mail is Ricardo Mones <mones@debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Fri, 18 Nov 2022 21:33:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Mones <mones@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Ricardo Mones <mones@debian.org>:
Bug#1024412; Package src:claws-mail. (Fri, 18 Nov 2022 21:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Ricardo Mones <mones@debian.org>. (Fri, 18 Nov 2022 21:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: claws-mail: reproducible builds: Embeds timezone-dependent build date in manpages
Date: Fri, 18 Nov 2022 13:32:24 -0800
[Message part 1 (text/plain, inline)]
Source: claws-mail
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-bugs@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
[0001-debian-rules-Use-UTC-for-manpage-date.patch (text/x-diff, inline)]
From 13fb8991ce22369f131130f727584c8b02f9a6e1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@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

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#1024412; Package src:claws-mail. (Sun, 20 Nov 2022 20:36:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ricardo Mones <mones@debian.org>:
Extra info received and forwarded to list. (Sun, 20 Nov 2022 20:36:03 GMT) (full text, mbox, link).


Message #10 received at 1024412@bugs.debian.org (full text, mbox, reply):

From: Ricardo Mones <mones@debian.org>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>
Cc: 1024412@bugs.debian.org
Subject: Re: Bug#1024412: claws-mail: reproducible builds: Embeds timezone-dependent build date in manpages
Date: Sun, 20 Nov 2022 21:33:08 +0100
[Message part 1 (text/plain, inline)]
Hi Vagrant!

On Fri, 18 Nov 2022 13:32:24 -0800
Vagrant Cascadian <vagrant@reproducible-builds.org> wrote:

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

Applied, thanks!

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

Thank you for your work at reproducible builds! :)
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «Your true value depends entirely on what you are compared with.»
[Message part 2 (application/pgp-signature, inline)]

Added tag(s) pending. Request was from Ricardo Mones <mones@debian.org> to control@bugs.debian.org. (Sat, 26 Nov 2022 19:30:02 GMT) (full text, mbox, link).


Reply sent to Ricardo Mones <mones@debian.org>:
You have taken responsibility. (Sat, 28 Jan 2023 20:54:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sat, 28 Jan 2023 20:54:04 GMT) (full text, mbox, link).


Message #17 received at 1024412-done@bugs.debian.org (full text, mbox, reply):

From: Ricardo Mones <mones@debian.org>
To: Vagrant Cascadian <vagrant@reproducible-builds.org>
Cc: 1024412-done@bugs.debian.org
Subject: Re: Bug#1024412: claws-mail: reproducible builds: Embeds timezone-dependent build date in manpages
Date: Sat, 28 Jan 2023 21:50:55 +0100
[Message part 1 (text/plain, inline)]
control: fixed -1 claws-mail/4.1.1-2

On Fri, 18 Nov 2022 13:32:24 -0800
Vagrant Cascadian <vagrant@reproducible-builds.org> wrote:

> The build date is embedded in various manpages in a timezone-dependent
> way:[…]

Forgot to close it in the upload changelog, closing it now ;-)

best regards,
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «I've had a perfectly wonderful evening. But this wasn't it. -- Groucho 
 Marx»
[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 26 Feb 2023 07:25:57 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:31:49 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.