Debian Bug report logs - #995145
cyrus-sasl2: reproducible builds: timestamps in man pages

version graph

Package: src:cyrus-sasl2; Maintainer for src:cyrus-sasl2 is Debian Cyrus Team <team+cyrus@tracker.debian.org>;

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

Date: Mon, 27 Sep 2021 02:18:01 UTC

Severity: normal

Tags: patch

Fixed in version cyrus-sasl2/2.1.27+dfsg2-2

Done: Bastian Germann <bage@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 Cyrus Team <team+cyrus@tracker.debian.org>:
Bug#995145; Package src:cyrus-sasl2. (Mon, 27 Sep 2021 02:18:03 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 Cyrus Team <team+cyrus@tracker.debian.org>. (Mon, 27 Sep 2021 02:18:03 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: cyrus-sasl2: reproducible builds: timestamps in man pages
Date: Sun, 26 Sep 2021 19:15:56 -0700
[Message part 1 (text/plain, inline)]
Source: cyrus-sasl2
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Timestamps are embedded in man pages generated by sphinx:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/diffoscope-results/cyrus-sasl2.html

  /usr/share/man/man3/sasl.3.gz

  .TH·"SASL"·"3"·"August·23,·2022"·"2.1.27"·"Cyrus·SASL"
  vs.
  .TH·"SASL"·"3"·"July·22,·2021"·"2.1.27"·"Cyrus·SASL"

The attached patch fixes this by passing a specific date during the
build, using SOURCE_DATE_EPOCH defined from debian/changelog.

With this patch applied cyrus-sasl2 should become reproducible on
tests.reproducible-builds.org.


Thanks for maintaining cyrus-sasl2!


live well,
  vagrant
[0002-Makefile.am-Set-date-in-man-pages.patch (text/x-diff, inline)]
From 2591a38f60f182898679f2a6f5f7f17e72009fc6 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 27 Sep 2021 01:27:09 +0000
Subject: [PATCH 2/2] Makefile.am: Set date in man pages.

The build date is embedded in the man pages by default. Pass arguments
to sphinx to use the date defined in SOURCE_DATE_EPOCH.

https://reproducible-builds.org/docs/source-date-epoch/
---
 Makefile.am | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 25694a8..c2a86fc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -180,6 +180,12 @@ GENERATED_RSTS =
 
 SPHINX_OPTS = -d $(SPHINX_CACHE) -n -q
 
+# Pass date defined in SOURCE_DATE_EPOCH for reproducible builds:
+# https://reproducible-builds.org/docs/source-date-epoch/
+SOURCE_DATE_EPOCH ?= $(shell date -d "$$(dpkg-parsechangelog -S Date)" +%s)
+BUILD_DATE=$(shell LC_ALL=C date -u --iso-8601 -d "@$(SOURCE_DATE_EPOCH)")
+SPHINX_OPTS += -D today=$(BUILD_DATE)
+
 ## detect when source directory is not build directory (i.e. VPATH
 ## build), and clone the docsrc tree into the build directory, so
 ## that we have a single "source directory" for sphinx-build to use.
-- 
2.33.0

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

Reply sent to Bastian Germann <bage@debian.org>:
You have taken responsibility. (Thu, 18 Nov 2021 18:21:08 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 18 Nov 2021 18:21:09 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 995145-close@bugs.debian.org
Subject: Bug#995145: fixed in cyrus-sasl2 2.1.27+dfsg2-2
Date: Thu, 18 Nov 2021 18:18:45 +0000
Source: cyrus-sasl2
Source-Version: 2.1.27+dfsg2-2
Done: Bastian Germann <bage@debian.org>

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

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated cyrus-sasl2 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: Wed, 17 Nov 2021 01:23:49 +0100
Source: cyrus-sasl2
Architecture: source
Version: 2.1.27+dfsg2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Cyrus Team <team+cyrus@tracker.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 928512 995145
Changes:
 cyrus-sasl2 (2.1.27+dfsg2-2) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #928512)
     + cross.patch: Support caching SPNEGO support test.
     + Provide SPNEGO support test result.
 .
   [ Vagrant Cascadian ]
   * Set date in man pages (Closes: #995145)
Checksums-Sha1:
 d2468f1a9ec5e8abbf23b55584ecbd4e417be2e5 3236 cyrus-sasl2_2.1.27+dfsg2-2.dsc
 e9edc86113c6b2f0eb0b1ab1dd268618de98f957 91912 cyrus-sasl2_2.1.27+dfsg2-2.debian.tar.xz
 5fc39d29fb504412f3c0fd0a9c45670249e2aad2 9124 cyrus-sasl2_2.1.27+dfsg2-2_source.buildinfo
Checksums-Sha256:
 39ffb2d7e752e14148f016c712d95293b3597b3bd08ea5a6ddf60952d41adf7e 3236 cyrus-sasl2_2.1.27+dfsg2-2.dsc
 c2ab5857b9a912cb24d1375b524a53cda35aa7b40f4b44fd2cb47349c93c82e5 91912 cyrus-sasl2_2.1.27+dfsg2-2.debian.tar.xz
 465dc1af8187c43bb3be9d1514545f742cd66a1dd305bae2913002bd63a9a633 9124 cyrus-sasl2_2.1.27+dfsg2-2_source.buildinfo
Files:
 3b33411ffeff89fcdcb3f6429173a4f8 3236 libs standard cyrus-sasl2_2.1.27+dfsg2-2.dsc
 f7c964c5cba84757775332bf1ae10ca0 91912 libs standard cyrus-sasl2_2.1.27+dfsg2-2.debian.tar.xz
 3ae8de7df05fd18d4b53880c8b18c7cd 9124 libs standard cyrus-sasl2_2.1.27+dfsg2-2_source.buildinfo

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

iQGzBAEBCgAdFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmGWlaUACgkQH1x6i0VW
QxRxSQwAqbMW9nGLzVUHjkz3RDx+eVQdrkjl7k4W+06Qdg347ynDhxzmQl4Mtt9s
/YGXPRackYqPoKlBuc94G1ckJxO9B3+ViGWkVBm7uNbVtuQzLslyuJ3Tlb6m1jDJ
gAtBEq90oPbFdzxB73GcljhD03IRAK4P+1jt54Z2X7f48y++Lr6zQThI3bK1BHAK
IutBZVxZ+J+t4WffAwe9RoGQMjXo9hy/0E4h26sjGcc+fbj5BzQ/SxkeojMX73Y7
4TN/B2jF8UhPjl8W7o/50OCmy0DLGV5uHxS+VJ6jQNBl9KsIm7YkSbhVFjxX8Ewy
dzHbOSytWIgh5YiXDGcWYXIMWpUzm3c3mNuTKoLEdHveczu7SP+IXBkS2BIGywx5
WXzxePVsH51ruzml4X126ivv2OpCbT7vgoAhUS6K6ZFFOCw01ZCi+F6X15a6B+wx
lyK7fVbWo3Fx4+Z+cFqvlP9MqQ8Jy05HMBhncmbzlL7KdpYwIKg+FQ7DG9yrB5Ff
IE9G3cMr
=BTsS
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 22 Dec 2021 07:26:26 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 12:13:19 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.