[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978064: marked as done (libdigidoc: reproducible builds: date in cdigidoc man page varies with timezone)



Your message dated Thu, 31 Dec 2020 08:33:22 +0000
with message-id <E1kutOc-0003ri-Jy@fasolo.debian.org>
and subject line Bug#978064: fixed in libdigidoc 3.10.5-2
has caused the Debian Bug report #978064,
regarding libdigidoc: reproducible builds: date in cdigidoc man page varies with timezone
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
978064: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978064
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Source: libdigidoc
Source-Version: 3.10.5-2
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
libdigidoc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 978064@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated libdigidoc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 31 Dec 2020 00:11:01 -0800
Source: libdigidoc
Architecture: source
Version: 3.10.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 978064
Changes:
 libdigidoc (3.10.5-2) unstable; urgency=medium
 .
   * QA upload.
   * VersionInfo.cmake: Set BUILD_DATE using UTC timezone.
     (Closes: #978064)
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/copyright: Use https URL for "Format".
   * debian/control: Switch to priority optional.
   * Switch to debhelper-compat 13.
   * debian/rules: Use dh_missing --list-missing.
   * debian/control: Update Standards-Version to 4.5.1.
   * Add lintian override for orphaned-package-maintained-in-private-space.
   * debian/control: Remove uploaders field for QA-maintained package.
Checksums-Sha1:
 e9e2cc5695b64dc10cd982d18e8a9902193427dd 1737 libdigidoc_3.10.5-2.dsc
 09e5d90536e6e9d74eb80644c8c91e20a2ebdf74 3388 libdigidoc_3.10.5-2.debian.tar.xz
Checksums-Sha256:
 f4fc949fad4a880b23b74fe46c2d3a796bed6e35c1f2887bce4a0a5751a81338 1737 libdigidoc_3.10.5-2.dsc
 fd9ff98670f4bd164b75ceee67e7aabe6c26866205e8c34495ef9ad5ee690c6e 3388 libdigidoc_3.10.5-2.debian.tar.xz
Files:
 cf4223bf91cadc9104112263972ae618 1737 libs optional libdigidoc_3.10.5-2.dsc
 55d97f5c96cd420d45bcdfc5c8fb5e7f 3388 libs optional libdigidoc_3.10.5-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX+2JQiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqsSUAQCKadw6BKSWFpvN
Cyzyh80nFRhii/hl26uJnKLNDSmpvAEAsAPMDBLzqsH8DhOvttJWqZV5pEppbBNs
hohAhvet9gw=
=w9Pm
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: