Bug#1035394: lcov: reproducible-builds: timezone-dependent timestamps on /usr/bin/*

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 2 18:25:16 BST 2023


Source: lcov
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The build timestamp is embedded in various /usr/bin/* files is timezone
dependent:

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

  lcov_1.16-1_all.deb

  -rwxr-xr-x···0·root·········(0)·root·········(0)·····4568·2022-06-06·08:19:45.000000·./usr/bin/gendesc
  vs.
  -rwxr-xr-x···0·root·········(0)·root·········(0)·····4568·2022-06-05·18:19:45.000000·./usr/bin/gendesc


The attached patch fixes this by removing a call to touch from the
updateversion.pl script.


According to my local tests, with this patch applied lcov should build
reproducibly on tests.reproducible-builds.org!


Thanks for maintaining lcov!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bin-updateversion.pl-Avoid-setting-the-timestamp-bui.patch
Type: text/x-diff
Size: 800 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20230502/ec7301fa/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/20230502/ec7301fa/attachment.sig>


More information about the Reproducible-bugs mailing list