Bug#1005727: ruby-tioga: reproducible builds: Embedded date in sty file

Vagrant Cascadian vagrant at reproducible-builds.org
Mon Feb 14 00:26:56 GMT 2022


Source: ruby-tioga
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 tioga.sty.gz embeds the current date:

  https://tests.reproducible-builds.org/debian/rb-pkg/bookworm/amd64/diffoscope-results/ruby-tioga.html

  ./usr/share/doc/ruby-tioga/tioga.sty.gz

  \ProvidesPackage{tioga}[2023/03/16]
vs.
  \ProvidesPackage{tioga}[2022/02/12]

The attached patch fixes this by using the SOURCE_DATE_EPOCH environment
variable instead of the current time, which is typically set from the
timestamp in debian/changelog.


With this patch applied, ruby-tioga should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining ruby-tioga!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-misc-mk_tioga_sty.rb-Use-a-consistent-date-when-gene.patch
Type: text/x-diff
Size: 959 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220213/ffd087d5/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/20220213/ffd087d5/attachment.sig>


More information about the Reproducible-bugs mailing list