Bug#995650: chktex: reproducible builds: Embedded timestamps in .dvi file
Vagrant Cascadian
vagrant at reproducible-builds.org
Sun Oct 3 17:58:25 BST 2021
Source: chktex
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/chktex.html
/usr/share/doc/chktex/ChkTeX.dvi.gz
··TeX·output·2021.
vs.
··TeX·output·2022.
··08.23:1518
vs.
··09.26:2344..
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/
It also removes what appears to be some code attempting to adjust the
timestamsp in the tex.in files, which was only partially effective, and
is no longer needed.
With this patch applied, chktex should build reproducibly on
tests.reproducible-builds.org
Thanks for maintaining chktex!
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-rules-Export-FORCE_SOURCE_DATE-to-ensure-texl.patch
Type: text/x-diff
Size: 1517 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211003/c2563a1d/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/c2563a1d/attachment.sig>
More information about the Reproducible-bugs
mailing list