Bug#990914: lcov: reproducible builds: Embedded timestamps in manpages

Vagrant Cascadian vagrant at reproducible-builds.org
Sun Jul 11 02:20:46 BST 2021


Source: lcov
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 manpages:

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

  ./usr/share/man/man1/gendesc.1.gz

  .TH·gendesc·1·"LCOV·1.14"·2021\-06\-13·"User·Manuals"
  vs.
  .TH·gendesc·1·"LCOV·1.14"·2022\-07\-16·"User·Manuals"


The attached patch fixes this by changing updateversion.pl to use the
date specified by the SOURCE_DATE_EPOCH environment variable, which is
set by dpkg when building packages:

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


With this patch applied, lcov should be reproducible on
tests.reproducible-builds.org.


Thanks for maintaining lcov!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-updateversion.pl-Add-support-for-SOURCE_DATE_EPOCH-t.patch
Type: text/x-diff
Size: 1009 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20210710/ce51ae55/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/20210710/ce51ae55/attachment.sig>


More information about the Reproducible-bugs mailing list