Debian Bug report logs - #1000893
bind9: reproducible builds: Embedded timestamps in man pages due to timezone

version graph

Package: src:bind9; Maintainer for src:bind9 is Debian DNS Team <team+dns@tracker.debian.org>;

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

Date: Tue, 30 Nov 2021 20:45:02 UTC

Severity: normal

Tags: patch

Fixed in version bind9/1:9.18.0~0+git28350c-1

Done: Ondřej Surý <ondrej@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, Debian DNS Team <team+dns@tracker.debian.org>:
Bug#1000893; Package src:bind9. (Tue, 30 Nov 2021 20:45: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, Debian DNS Team <team+dns@tracker.debian.org>. (Tue, 30 Nov 2021 20:45: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: bind9: reproducible builds: Embedded timestamps in man pages due to timezone
Date: Tue, 30 Nov 2021 12:43:17 -0800
[Message part 1 (text/plain, inline)]
Source: bind9
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The build timestamp in various manpages varies dependent on timezone:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/i386/diffoscope-results/bind9.html

  /usr/share/man/man1/dig.1.gz

  .TH·"DIG"·"1"·"2021-10-12"·"9.17.19-3-Debian"·"BIND·9"
  vs.
  .TH·"DIG"·"1"·"2021-10-14"·"9.17.19-3-Debian"·"BIND·9"

The attached patch fixes this by adjusting the call to "date" in
configure.ac to explicitly use the UTC timezone.


Unfortunately, this does not resolve all reproducibility issues
(e.g. build path), but with this patch applied, bind9 should build
reproducibly on tests.reproducible-builds.org when it migrates to the
testing/bookworm suite (where build paths are not tested).


Thanks for maintaining bind9!


live well,
  vagrant
[0001-configure.ac-Set-release_date-using-UTC-timezone.patch (text/x-diff, inline)]
From afc3707e3935645c5c6388ca19b3ee825e0d3395 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 30 Nov 2021 20:31:20 +0000
Subject: [PATCH] configure.ac: Set release_date using UTC timezone.

https://reproducible-builds.org/docs/timestamps/
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ffcc69f..126182f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1238,7 +1238,7 @@ AM_CONDITIONAL([HAVE_XELATEX], [test "$XELATEX" != ":" && test "$LATEXMK" != ":"
 # Pull release date from CHANGES file last modification date
 # for reproducible builds
 #
-release_date=`date -r CHANGES +%Y-%m-%d`
+release_date=`date -u -r CHANGES +%Y-%m-%d`
 AC_SUBST([RELEASE_DATE], $release_date)
 
 #
-- 
2.30.2

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

Reply sent to Ondřej Surý <ondrej@debian.org>:
You have taken responsibility. (Mon, 24 Jan 2022 15:51:07 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 24 Jan 2022 15:51:07 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1000893-close@bugs.debian.org
Subject: Bug#1000893: fixed in bind9 1:9.18.0~0+git28350c-1
Date: Mon, 24 Jan 2022 15:48:52 +0000
Source: bind9
Source-Version: 1:9.18.0~0+git28350c-1
Done: Ondřej Surý <ondrej@debian.org>

We believe that the bug you reported is fixed in the latest version of
bind9, 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 1000893@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ondrej@debian.org> (supplier of updated bind9 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: Mon, 24 Jan 2022 16:00:49 +0100
Source: bind9
Architecture: source
Version: 1:9.18.0~0+git28350c-1
Distribution: unstable
Urgency: medium
Maintainer: Debian DNS Team <team+dns@tracker.debian.org>
Changed-By: Ondřej Surý <ondrej@debian.org>
Closes: 903586 942377 1000893 1004271
Changes:
 bind9 (1:9.18.0~0+git28350c-1) unstable; urgency=medium
 .
   * New upstream version 9.18.0~0+git28350c
    + Pull the 9.18.0 pre-release git to have the L1 cache line
      fix (Closes: #1004271)
   * Fix the typo when backing up and restoring configure{,.ac}
     (Closes: #903586)
   * Remove some prehistoring conffile no longer in use
     (Closes: #942377)
   * Pick UTC date for release_date variable (Closes: #1000893)
Checksums-Sha1:
 552d97534eba0e0b549ecc03ce534caa6de12d19 3110 bind9_9.18.0~0+git28350c-1.dsc
 275496d2410b2598fa627ea97a8a277f9e112caf 4924520 bind9_9.18.0~0+git28350c.orig.tar.xz
 780d5d87ad965443fdbe739902aa712ec62824ea 78680 bind9_9.18.0~0+git28350c-1.debian.tar.xz
 6373f6db375df47df763f22a25533ad769512e1a 15640 bind9_9.18.0~0+git28350c-1_amd64.buildinfo
Checksums-Sha256:
 4bb1bb127da90a855241a2048b902c53ee1ceef09bd965a7cd56af9008215e8a 3110 bind9_9.18.0~0+git28350c-1.dsc
 8ced0b77ddbc15d203a1ed1df19a13fc7da3923eb4cb3ae7c90db2e0f31e6365 4924520 bind9_9.18.0~0+git28350c.orig.tar.xz
 57cd596529e8ae879dfd04be3ea7f525b987532fa93f85be84d7b6a3d4cdbb19 78680 bind9_9.18.0~0+git28350c-1.debian.tar.xz
 ee1fe0dc70d58a5b518abb0c6e5442d12089e33fc4b8e0f056a0755aa03b050a 15640 bind9_9.18.0~0+git28350c-1_amd64.buildinfo
Files:
 7ada68e753fbc6877faab6df8f519e46 3110 net optional bind9_9.18.0~0+git28350c-1.dsc
 44563a49f911cdba37392971d69fbe37 4924520 net optional bind9_9.18.0~0+git28350c.orig.tar.xz
 b77755e64bb32d2e8ec9f85142e598d3 78680 net optional bind9_9.18.0~0+git28350c-1.debian.tar.xz
 4a814e22cb5015346e6907e756266d8f 15640 net optional bind9_9.18.0~0+git28350c-1_amd64.buildinfo

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

iQKTBAEBCgB9FiEEw2Gx4wKVQ+vGJel9g3Kkd++uWcIFAmHux0lfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEMz
NjFCMUUzMDI5NTQzRUJDNjI1RTk3RDgzNzJBNDc3RUZBRTU5QzIACgkQg3Kkd++u
WcKKixAAjTQ+XYrYI2MXEo3lR5BSQyKB7ligPiVx9IpyEV9kMcv4F/jqxX8tYe2q
b6SuWzpR7X8ncPYn4KQikhXnvJab2iBFwNesV0dr3V7YaWUfpDBb+gDYkhC8mN3r
gsj110Qs9I9yqpe5WvUg6v6ZR3rfACOrdqfY9iDGtxEpxBauiojMc9HduYwI4aK/
z+BzejzwYzw9US54zFKMCxKUsnO91ZxwnLOs8HlegoTqUitF7pTfGmS0LKgC7k4g
AMfzsh8mmicIoKDO5KXrmuV0x5fJz+SFBDJeAq6UkNcgVvBPDIUddET5pkUKnYwh
Sd2KnT6GFpECzLqBH2KT1JxjGiG5qjI+17h3ItvMV8L0MsKsWFJxGopvXeG1wqL6
/9DMuHyq8q5oJCiSPcLMuyce9TGYjhNjcMknlKjX6zrNwyeCKrcVP56fnLVeIinx
rfQZKaf/gkRCp96PIlsA+c6pA0JOYlbAOjVryKKQvhdm5T4vazZFzAph4Yo1Nx4e
D/g8h0ebN0j2SlicWW3tXY+mDq3wkdPniseKucfq0JMCAm3XO78ljdQ8PUQtpRdU
4ugIJtbkTq0iHGJrFXkA3P8QhkDaEOTBtuBpON5TtTc55upcDWLnKUVnNgKUBCPX
5kR1r7h6gxIaXb9B586cxTzOu9IZgINOUI4VSVMPSSkvXiPYETg=
=zYo2
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 26 Feb 2022 07:33:05 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 10:04:05 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.