Bug#995647: cfi: reproducible builds: Embedded timestamps in .dvi file

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Oct 3 17:39:41 BST 2021


Source: cfi
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 timestamp is embedded in various .dvi files:

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

  ./usr/share/doc/cfi-sv/cfi.dvi.gz

  ··TeX·output·2022.
vs.
  ··TeX·output·2021.
00000020:·3039·2e32·373a·3139·3439·8b00·0000·0100

  ··09.27:1949......
vs.
  ··08.26:1527......

The attached patch fixes this 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/

With this patch applied, cfi should build reproducibly on
tests.reproducible-builds.org

Thanks for maintaining cfi!

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Export-FORCE_SOURCE_DATE-1-in-order-for.patch
Type: text/x-diff
Size: 780 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211003/137cbc08/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/20211003/137cbc08/attachment.sig>


More information about the Reproducible-bugs mailing list