Debian Bug report logs -
#1003319
insighttoolkit5: Use UTC timestamp for build date
Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 8 Jan 2022 07:09:02 UTC
Severity: normal
Tags: patch
Fixed in version insighttoolkit5/5.2.1-3
Done: Andreas Tille <tille@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>:
Bug#1003319; Package src:insighttoolkit5.
(Sat, 08 Jan 2022 07:09:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>.
(Sat, 08 Jan 2022 07:09:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: insighttoolkit5
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timezone
X-Debbugs-Cc: reproducible-bugs@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
[0001-Modules-Core-Common-src-CMakeLists.txt-Use-UTC-times.patch (text/x-diff, inline)]
From 0b58affa9a5eb82293ce412766b2d0db8077fc23 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Fri, 7 Jan 2022 23:39:29 +0000
Subject: [PATCH 1/3] Modules/Core/Common/src/CMakeLists.txt: Use UTC
timestamp.
While cmake respects SOURCE_DATE_EPOCH, the timezone may still change
the embedded timestamp used.
https://reproducible-builds.org/docs/source-date-epoch/
---
Modules/Core/Common/src/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/Core/Common/src/CMakeLists.txt b/Modules/Core/Common/src/CMakeLists.txt
index 774a164d..1486c670 100644
--- a/Modules/Core/Common/src/CMakeLists.txt
+++ b/Modules/Core/Common/src/CMakeLists.txt
@@ -8,7 +8,7 @@ if( GIT_LOCAL_MODIFICATIONS MATCHES ".*files changed.*")
set(GIT_LOCAL_MODIFICATIONS " (with uncommitted code modifications ${GIT_LOCAL_MODIFICATIONS} )")
endif()
-string(TIMESTAMP CONFIGURE_DATE "%Y-%m-%d %H:%M")
+string(TIMESTAMP CONFIGURE_DATE "%Y-%m-%d %H:%M" UTC)
## MAKE_MAP_ENTRY is a macro to facilitate placing items in the itk::BuildInformation class
## /--------------------------_---------------------------_-------------------------------------------------/
--
2.34.1
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Andreas Tille <tille@debian.org>:
You have taken responsibility.
(Mon, 10 Jan 2022 10:06:03 GMT) (full text, mbox, link).
Notification sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer.
(Mon, 10 Jan 2022 10:06:03 GMT) (full text, mbox, link).
Message #10 received at 1003319-close@bugs.debian.org (full text, mbox, reply):
Source: insighttoolkit5
Source-Version: 5.2.1-3
Done: Andreas Tille <tille@debian.org>
We believe that the bug you reported is fixed in the latest version of
insighttoolkit5, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1003319@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated insighttoolkit5 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 10 Jan 2022 08:55:23 +0100
Source: insighttoolkit5
Architecture: source
Version: 5.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1003319
Changes:
insighttoolkit5 (5.2.1-3) unstable; urgency=medium
.
* Team upload.
.
[ Andreas Tille ]
* Fix watch file
* Standards-Version: 4.6.0 (routine-update)
* Add salsa-ci file (routine-update)
* Rules-Requires-Root: no (routine-update)
.
[ Vagrant Cascadian ]
* Use UTC timestamp for build date
Closes: #1003319
Checksums-Sha1:
090a7471c86710a322b29aec338796dad76be44e 2434 insighttoolkit5_5.2.1-3.dsc
73c725bded943a8f86ce13a51862dc7fc83875a3 23080 insighttoolkit5_5.2.1-3.debian.tar.xz
0d9b224174d4634cf1a15e2e33a3d92a295c8265 10066 insighttoolkit5_5.2.1-3_amd64.buildinfo
Checksums-Sha256:
23be9c773d29b521e4535d46fc6fc7bac810869bc3ca55125a885876a2d50de4 2434 insighttoolkit5_5.2.1-3.dsc
e26304b7d3c2ece9b0e916356b41caafebe23ae73c57d4670dd1fdece50c132c 23080 insighttoolkit5_5.2.1-3.debian.tar.xz
d771b95f6b81d363904460f36ab4225030234315d89eba125b7b159ef745efe1 10066 insighttoolkit5_5.2.1-3_amd64.buildinfo
Files:
e5125233db046be76f4d79d29ffcd2d9 2434 science optional insighttoolkit5_5.2.1-3.dsc
5aa9e8ec76e2d1200e8cb3a08e7183ff 23080 science optional insighttoolkit5_5.2.1-3.debian.tar.xz
71f8097f12ec20d97abdfcb3fd8b04fc 10066 science optional insighttoolkit5_5.2.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmHcAb0RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtHYXQ/+LP+TGHR9TTg6WmMfo6YepEfv1mnpdcXX
2nlx3gZtyOia1v9wkGimJQ8hOicIFq61kQ9ac7J7luKFUukvEtDhB1wKzxGuH4VA
PX/Fml+YohD7TZowZbsPlqS0BU1y69uhMhrm1oNa7QGC2Y6wtM7qXTus7p7+oEx4
AfKt5JoiXohRN51SoBj03hEGRJX/6C3jRETGm6juEuYIthsl1kEI0c+8y+E/tXfO
t/0y/SNzBG8pd34Urgi+tb6nsqdnRCv7H9+4gffT1rwk+In8Bey3V0SFNmqCGtsh
iNizkD9Jc8KlkHZ7WqTxYjjNWiIbJUSQEupeFJsd59Oz5ORgx7PyXf9LiJoQgzvC
pQJHPWtvB/dpjh938pup+1IC2uKYjC9+aNFs3vIRbvoHnn8vq/VoGV1rQGHkMANq
ELPkR65jBtK8iBxB3JLf2AlDTmvhWsgvxpNw6QZzeLqPKdjryC0sjqUE025QFdos
Cto578nG2hrsbdaNAlyif8xM2XT2GOCcEbOYfI9PeSAAiYTryXTMF+yjHyxp3sje
s9Mu11tWbUqxpWMBvSYCBpeyWomGZaPRvV+6VzUtSf1AHFvBa/vbeUVh9LVOm6P2
sUbFuSIC9FTycToSnuO+qzz0qAYGL1YBe+vo3iTUrDm5uhkn4wpo16oQw7EIobF8
vaFGqc98z98=
=MwL4
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 12 Feb 2022 07:25:48 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 11:03:02 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.