Debian Bug report logs - #983148
wxmaxima: reproducible builds: Embeds date in manpage dependent on timezone

version graph

Package: src:wxmaxima; Maintainer for src:wxmaxima is Gunter Königsmann <wxmaxima@physikbuch.de>;

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

Date: Sat, 20 Feb 2021 04:39:02 UTC

Severity: normal

Tags: patch

Fixed in version 22.05.0-1

Done: Vagrant Cascadian <vagrant@reproducible-builds.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, Gunter Königsmann <wxmaxima@physikbuch.de>:
Bug#983148; Package src:wxmaxima. (Sat, 20 Feb 2021 04:39: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, Gunter Königsmann <wxmaxima@physikbuch.de>. (Sat, 20 Feb 2021 04:39: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: wxmaxima: reproducible builds: Embeds date in manpage dependent on timezone
Date: Fri, 19 Feb 2021 20:35:21 -0800
[Message part 1 (text/plain, inline)]
Source: wxmaxima
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The timezone affects the date embedded in the wxmaxima.1 manpages:

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

  wxmaxima.1

  .TH·"WXMAXIMA"·"1"·"2020-12-27"·"wxMaxima·20.12.1"
  vs.
  .TH·"WXMAXIMA"·"1"·"2020-12-29"·"wxMaxima·20.12.1"

The attached patch fixes this by setting the timestamp to use the UTC
timezone.


Thanks for maintaining wxmaxima!


live well,
  vagrant
[0001-data-CMakeLists.txt-Use-UTC-timestamp.patch (text/x-diff, inline)]
From 4e3d8e6f9fafa983dfbe0b0fcb07499696d1fb4d Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 20 Feb 2021 03:35:09 +0000
Subject: [PATCH] data/CMakeLists.txt: Use UTC timestamp.

While cmake respects SOURCE_DATE_EPOCH, the timezone may still change
the date stamp used.

https://reproducible-builds.org/docs/source-date-epoch/
---
 data/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 992cdc2..62120a6 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -19,7 +19,7 @@ set(PIXMAPS
 if(WIN32)
     add_subdirectory(fonts)
 else()
-    string(TIMESTAMP CURRENTDATE "%Y-%m-%d")
+    string(TIMESTAMP CURRENTDATE "%Y-%m-%d" UTC)
     # the config file is ~/.wxMaxima if wxWidgets < 3.1.1
     #                    ~/.config/wxMaxima.conf if wxWidgets >= 3.1.1 (XDG Specification)
     if(wxWidgets_VERSION_STRING VERSION_GREATER_EQUAL "3.1.1")
-- 
2.20.1

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

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Thu, 15 Dec 2022 19:45:04 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 15 Dec 2022 19:45:04 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 983148-done@bugs.debian.org
Subject: Re: wxmaxima: reproducible builds: Embeds date in manpage dependent on timezone
Date: Thu, 15 Dec 2022 11:41:22 -0800
[Message part 1 (text/plain, inline)]
Version: 22.05.0-1

On 2021-02-19, Vagrant Cascadian wrote:
> The timezone affects the date embedded in the wxmaxima.1 manpages:
...
>   wxmaxima.1
>
>   .TH·"WXMAXIMA"·"1"·"2020-12-27"·"wxMaxima·20.12.1"
>   vs.
>   .TH·"WXMAXIMA"·"1"·"2020-12-29"·"wxMaxima·20.12.1"
>
> The attached patch fixes this by setting the timestamp to use the UTC
> timezone.

This was apparently fixed in an earlier upstream version:

  https://tests.reproducible-builds.org/debian/history/wxmaxima.html

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

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 13 Jan 2023 07:27:53 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:13:43 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.