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

Bug#1010787: marked as done (sgml-base-doc: reproducible builds: Build date embedded in documentation)



Your message dated Tue, 10 May 2022 02:36:26 +0000
with message-id <E1noFje-0006u1-VG@fasolo.debian.org>
and subject line Bug#1010787: fixed in sgml-base-doc 1.99.3
has caused the Debian Bug report #1010787,
regarding sgml-base-doc: reproducible builds: Build date embedded in documentation
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.)


-- 
1010787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010787
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: sgml-base-doc
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The build date is embedded in various documentation:

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

  /usr/share/doc/sgml-base-doc/sgml_layout.html/ch-Other.html


  23·April·2022<br>
  vs.
  26·May·2023<br>


The attached patch fixes this in debian/rules by setting the
DEBIANDOC_DATE environment variable based on SOURCE_DATE_EPOCH.

Alternately, this variable could also be set to an empty value, which
results in no date of any kind.


With this patch applied, sgml-base-doc should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining sgml-base-doc!


live well,
  vagrant
From af442a242fb76dce0fa1cbe81ff3585574ba53ed Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 10 May 2022 00:08:56 +0000
Subject: [PATCH] debian/rules: Set DEBIANDOC_DATE based on SOURCE_DATE_EPOCH.

https://tests.reproducible-builds.org/debian/issues/unstable/debiandoc_sgml_timestamp_issue.html
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0714fa7..d3778ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,8 @@
 PACKAGE  = sgml-base-doc
 PKG_DOCS = sgml_layout.html sgml_layout.pdf sgml_layout.txt
 
+# Ensure reproducible date
+export DEBIANDOC_DATE = $(shell date --utc --date=@$(SOURCE_DATE_EPOCH) '+%Y-%m-%d')
 
 .SUFFIXES: .html .pdf .sgml .txt
 .sgml.html:
-- 
2.36.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: sgml-base-doc
Source-Version: 1.99.3
Done: Vagrant Cascadian <vagrant@debian.org>

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

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated sgml-base-doc 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, 09 May 2022 19:09:19 -0700
Source: sgml-base-doc
Architecture: source
Version: 1.99.3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 998964 1010787
Changes:
 sgml-base-doc (1.99.3) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Set DEBIANDOC_DATE based on SOURCE_DATE_EPOCH.
     (Closes: #1010787)
   * Update to debhelper-compat 13. (Closes: #998964)
   * README.Debian: Fix typo.
   * Switch to source format 3.0 (native).
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/copyright: Reference GPL-2 in common-licenses.
   * debian/control: Comment out Vcs-* and Homepage fields as the services
     are no longer reachable.
   * debian/control: Update Standards-Version to 4.6.0.
Checksums-Sha1:
 22896602a47ce3abc2767afc1f1f92cfae24c370 1078 sgml-base-doc_1.99.3.dsc
 9f94df4787d9268957e8b613a16760ce98395762 13468 sgml-base-doc_1.99.3.tar.xz
Checksums-Sha256:
 1a66103716ca3ed739dd1c8f5f86d67bbf060405c6e8f4fc8ae397b811778404 1078 sgml-base-doc_1.99.3.dsc
 72cfbd754453483caedb171ef4c49be2bbd046b37b5135cce782072bac0ec756 13468 sgml-base-doc_1.99.3.tar.xz
Files:
 5591dc761ba98eebe30ed0bac48b538f 1078 doc optional sgml-base-doc_1.99.3.dsc
 cd452874b8bed6fdd627dfe026ed0df3 13468 doc optional sgml-base-doc_1.99.3.tar.xz

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnnMMBMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqBWcBALtTmTjlrxHo2z9yJcET82kF/iNhwoYL
rqONKJ6UEp4LAP4qpJvl7SUDQ28s9zD2H9TreadzipCG3pM4lZofUfCMBg==
=S6Eg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: