Bug#976359: debian-history: reproducible builds: Embedded timestamps in various documentation files

Vagrant Cascadian vagrant at reproducible-builds.org
Thu Dec 3 23:07:19 GMT 2020


Source: debian-history
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Several .pdf, .html, .txt and .epub files shipped in debian-history
embed the build date:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/debian-history.html

  /usr/share/doc/debian-history/docs/project-history.es.pdf
  40 	11·de·diciembre     40 	9·de·noviembre
  41 	de·2021             41 	de·2020

The two attached patches fix these issues, one by setting PUBDATE to use
UTC in debian/rules, and the other by setting FORCE_SOURCE_DATE=1 in
debian/rules, which texlive needs in order to respect SOURCE_DATE_EPOCH,
which is set during debian package builds to the timestamp in the latest
debian/changelog entry.

  https://reproducible-builds.org/docs/source-date-epoch/

These patches unfortunately do not fix all reproducibility issues in
debian-history; There are randomized bookid identifiers in the .epub
files I have not yet figured out how to fix, but will make it a little
easier to debug the remaining issues once the patches are applied.


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Use-UTC-for-PUBDATE.patch
Type: text/x-diff
Size: 907 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201203/185107bc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-debian-rules-Set-FORCE_SOURCE_DATE-1-in-order-for-te.patch
Type: text/x-diff
Size: 876 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20201203/185107bc/attachment-0001.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/20201203/185107bc/attachment.sig>


More information about the Reproducible-bugs mailing list