Bug#995648: cffi: reproducible builds: Embedded timestamps in .dvi and .ps files

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


Source: cffi
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 and .ps files:

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

  /usr/share/doc/cl-cffi/cffi-manual.ps.gz

  %DVIPSSource:··TeX·output·2021.09.26:1909	16
vs.
  %DVIPSSource:··TeX·output·2022.10.31:0334

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, cffi should build reproducibly on
tests.reproducible-builds.org

Thanks for maintaining cffi!

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: 676 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20211003/ff8e99e8/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/ff8e99e8/attachment.sig>


More information about the Reproducible-bugs mailing list