Debian Bug report logs - #977618
dssp: reproducible builds: Embeds build time in /usr/bin/mkdssp

version graph

Package: src:dssp; Maintainer for src:dssp is Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Thu, 17 Dec 2020 20:33:02 UTC

Severity: normal

Tags: patch

Fixed in version dssp/4.0.0-2

Done: maarten@hekkelman.com (Maarten L. Hekkelman)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


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#977618; Package src:dssp. (Thu, 17 Dec 2020 20:33: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>. (Thu, 17 Dec 2020 20:33:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: dssp: reproducible builds: Embeds build time in /usr/bin/mkdssp
Date: Thu, 17 Dec 2020 12:28:41 -0800
[Message part 1 (text/plain, inline)]
Source: dssp
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps 
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The build time is embedded in /usr/bin/mkdssp:

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

  Date:·2020-
  Date:·2022-


The attached patch fixes this by adjusting the date command in
GNUmakefile.in to use SOURCE_DATE_EPOCH for the timestamp.


Thanks for maintaining dssp!


live well,
  vagrant
[0001-revision.hpp-Patch-to-use-SOURCE_DATE_EPOCH.patch (text/x-diff, inline)]
From 044df2e01ee32761a8f3be0d467feb088cc0e449 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 17 Dec 2020 20:16:41 +0000
Subject: [PATCH] revision.hpp: Patch to use SOURCE_DATE_EPOCH.

https://reproducible-builds.org/docs/source-date-epoch/
---
 GNUmakefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 23b8223..749bc2c 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -127,7 +127,7 @@ else
 src/revision.hpp:
 	@ echo 'const char kRevision[] = R"(' > $@
 	@ echo dssp-version: $(VERSION) >> $@
-	@ echo Date:   $$(date --iso-8601) >> $@
+	@ echo Date:   $$(date --utc --date=@$(SOURCE_DATE_EPOCH) --iso-8601) >> $@
 	@ echo ')";' >> $@
 
 endif
-- 
2.29.2

[signature.asc (application/pgp-signature, inline)]

Reply sent to maarten@hekkelman.com (Maarten L. Hekkelman):
You have taken responsibility. (Fri, 18 Dec 2020 09:06:14 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Fri, 18 Dec 2020 09:06:14 GMT) (full text, mbox, link).


Message #10 received at 977618-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 977618-close@bugs.debian.org
Subject: Bug#977618: fixed in dssp 4.0.0-2
Date: Fri, 18 Dec 2020 09:03:30 +0000
Source: dssp
Source-Version: 4.0.0-2
Done: maarten@hekkelman.com (Maarten L. Hekkelman)

We believe that the bug you reported is fixed in the latest version of
dssp, 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 977618@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maarten L. Hekkelman <maarten@hekkelman.com> (supplier of updated dssp 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: SHA256

Format: 1.8
Date: Fri, 18 Dec 2020 07:42:13 +0100
Source: dssp
Architecture: source
Version: 4.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Maarten L. Hekkelman <maarten@hekkelman.com>
Closes: 977618
Changes:
 dssp (4.0.0-2) unstable; urgency=medium
 .
   * Make build reproducible, Closes: #977618
Checksums-Sha1:
 4fc9964fe08d3d56c424c8451481e47d9a30c664 2077 dssp_4.0.0-2.dsc
 35dc8fb7435843bd0aa254359f8ae3b29d23b139 5440 dssp_4.0.0-2.debian.tar.xz
 6bdb26f82003541c2fa3e8020522ed7e9bf339f6 6564 dssp_4.0.0-2_amd64.buildinfo
Checksums-Sha256:
 62fbff113607cc82cee79f4482be1253229a46d7fce38947e73dabf4961f8f53 2077 dssp_4.0.0-2.dsc
 96471530d57b61cdfb2abaee49e10cfab954b30933e5cb17026e798ec0270ce1 5440 dssp_4.0.0-2.debian.tar.xz
 46914aefc51e2e39b74d51a9695c2eb968ff330657df53d6bbb845f4bfee4182 6564 dssp_4.0.0-2_amd64.buildinfo
Files:
 6c6bf9e69769ee19e56c1c3680b46e81 2077 science optional dssp_4.0.0-2.dsc
 292af41637768273ebbf7a5de10a5cbd 5440 science optional dssp_4.0.0-2.debian.tar.xz
 370e6234a06c9ef46150b32e44e1a292 6564 science optional dssp_4.0.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAl/caQ0RHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtF9aw//W81JGJuBni/laXx2zENFCbvbr8PBAIcY
CtHpHTm7pLFNbzcUmKnjUsCpcWkeK6ORmIa2nsRfRqYhgeevyeMGCgApV0Zpubua
QlmoCLJenqC477FDfE6ZWwQoD7tyu0/JcnqFiP0B4uI6MqKgLWl22AJFcbvPoAH0
w/44B6cNHA0A3Bs5pZX1WgmkYj9xlsNj9PYgLS6uD/JtNKaqYL9HXLrbOlLWEh6x
UWoG8ggCmPGlBnsxry/eYnqaz6RR8uU/lQMZqOeCc4hafXsW3xT8+MSo3IszTZNm
AMs2VhBVYx+jCwm6nh7IRWm0AZwpR1dtzxHtrAJB6fXyRd4O9WJo1Bqc+1PiHo6M
cDQirUnrRH5V8rR8DQJqws+iSsVlQnkShDky+GSin5/eOurk4+g3fKiVK1jyN0Gr
tFJcpS3OhY8Tl9C4DKu6AAskyrItMSeU96UFcUcH16xH4KigpWrxk9LE2uO6+bHF
k+CKVTOjsWQqwFeQ1q7D0p75aoE0ZbTiSDxPm/IBD+YORAwAw3jMZVxKYcin6lK3
sBkY7eP9sv9hr46PoSxqHz3rKC4Mx6CyZaesfBiSP6GReONQ/78t7uu6qQ2E92Id
haez7znLOLqJNzX8wGY56m0qXVCdcb6968tNlscjngeGobKwNqPUJhzUjrDXVSmo
A+O0XpD0k2c=
=uCEj
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 17 Jan 2021 07:26:00 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 12:50:01 2023; Machine Name: buxtehude

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.