Bug#1010787: sgml-base-doc: reproducible builds: Build date embedded in documentation

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 10 01:23:19 BST 2022


Source: sgml-base-doc
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Set-DEBIANDOC_DATE-based-on-SOURCE_DATE.patch
Type: text/x-diff
Size: 791 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220509/8d03fc80/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220509/8d03fc80/attachment.sig>


More information about the Reproducible-bugs mailing list