[Debian-med-packaging] Bug#1003319: insighttoolkit5: Use UTC timestamp for build date

Vagrant Cascadian vagrant at reproducible-builds.org
Sat Jan 8 07:07:32 GMT 2022


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

The build date is embedded in libITKCommon-5.2.so.1:

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

  http://www.itk.oThe·URL·of·projeThe·version·at·configuration·tim2021-12-31·08:41The·date·of·conf ...
vs.
  http://www.itk.oThe·URL·of·projeThe·version·at·configuration·tim2022-01-01·10:41The·date·of·conf ...


While CMake respects SOURCE_DATE_EPOCH, it still can produce a different
date depending on the timezone of the running system.

Applying the attached patch explicitly sets the timezone to UTC and
should result in a reproducible build for the testing/bookworm suite.

There may be other reproducibility issues caused by changing build path
for sid tests that are not addressed by this patch.


Thanks for maintaining insighttoolkit5!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Modules-Core-Common-src-CMakeLists.txt-Use-UTC-times.patch
Type: text/x-diff
Size: 1243 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20220107/41d2a147/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/debian-med-packaging/attachments/20220107/41d2a147/attachment.sig>


More information about the Debian-med-packaging mailing list