Debian Bug report logs - #978003
density-fitness: reproducible builds: Embeds build time in /usr/bin/density-fitness

version graph

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

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

Date: Thu, 24 Dec 2020 09:09:02 UTC

Severity: normal

Tags: patch

Fixed in version density-fitness/1.0.0-2

Done: Maarten L. Hekkelman <maarten@hekkelman.com>

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#978003; Package src:density-fitness. (Thu, 24 Dec 2020 09:09:03 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, 24 Dec 2020 09:09:03 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: density-fitness: reproducible builds: Embeds build time in /usr/bin/density-fitness
Date: Thu, 24 Dec 2020 01:07:18 -0800
[Message part 1 (text/plain, inline)]
Source: density-fitness
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/density-fitness:

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

  Date: 2022-01-25
  vs.
  Date: 2020-12-24


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


Thanks for maintaining density-fitness!


live well,
  vagrant
[0001-revision.hpp-Patch-to-use-SOURCE_DATE_EPOCH.patch (text/x-diff, inline)]
From 814c44fb5362c2fa4aba750c7aa2740d77c7f312 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Thu, 24 Dec 2020 09:01:44 +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 5244291..8c7b12d 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -124,7 +124,7 @@ else
 src/revision.hpp:
 	@ echo 'const char kRevision[] = R"(' > $@
 	@ echo $(PROGRAM)-version: $(VERSION) >> $@
-	@ echo Date:   $$(date --iso-8601) >> $@
+	@ echo Date:   $$(date --utc --date=@$(SOURCE_DATE_EPOCH) --iso-8601) >> $@
 	@ echo ')";' >> $@
 
 endif
-- 
2.30.0.rc2

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

Reply sent to maarten@hekkelman.com (Maarten L. Hekkelman):
You have taken responsibility. (Mon, 04 Jan 2021 10:06:04 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 04 Jan 2021 10:06:04 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 978003-close@bugs.debian.org
Subject: Bug#978003: fixed in density-fitness 1.0.0-2
Date: Mon, 04 Jan 2021 10:03:26 +0000
Source: density-fitness
Source-Version: 1.0.0-2
Done: Maarten L. Hekkelman <maarten@hekkelman.com>

We believe that the bug you reported is fixed in the latest version of
density-fitness, 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 978003@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 density-fitness 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, 04 Jan 2021 08:20:20 +0100
Source: density-fitness
Architecture: source
Version: 1.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: 978003
Changes:
 density-fitness (1.0.0-2) unstable; urgency=medium
 .
   * [PATCH] revision.hpp: Patch to use SOURCE_DATE_EPOCH
     Closes: #978003
Checksums-Sha1:
 69843c80a14d5eed15f2f2b01da1820120b5e088 2275 density-fitness_1.0.0-2.dsc
 7d007b63bccc1faf3b1328e03acd7dd0f6c36900 3652 density-fitness_1.0.0-2.debian.tar.xz
 b1105b49f84ca90c1020c2a115ebb79597775f4c 8538 density-fitness_1.0.0-2_source.buildinfo
Checksums-Sha256:
 208c107e75ebde2fc193a6a221798ba1d55690ddfc2f4e2b245ba296ea40dae9 2275 density-fitness_1.0.0-2.dsc
 196a05e74fe7e2b00f5efbbfe5091027e87f9e704450456892cc1586829ac1b3 3652 density-fitness_1.0.0-2.debian.tar.xz
 8d5dbcf7e46311a15f95f02f5c40210478676f2751686f73604fd13f4e9b2a04 8538 density-fitness_1.0.0-2_source.buildinfo
Files:
 65a3db3ed3461debf9104dbe3468ad64 2275 science optional density-fitness_1.0.0-2.dsc
 825e158e186226265cb6a4d8df176266 3652 science optional density-fitness_1.0.0-2.debian.tar.xz
 eb9e273f32312b623a2ac29f706fae44 8538 science optional density-fitness_1.0.0-2_source.buildinfo

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

iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAl/y5L0SHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKHh0EP/24eW1qV9KKerjyyjsi+iQhDo8JuEH4a
c+VEqMZ7BYwulYsZmM00sG34/+8FJ1RWu+tkpMZzMYRvJPluUvTH4cyvy17YKF7r
qCWSHhBkOH+UeVS19IW3eXOLdKuMgpZ86Q87PxgHx35IP4spCuVp+z1ci5CHKeH3
J7q5mtVn6ZkTIxXPPEm3fikLBIEccYms6HJtJmxp9EpvrTD9kDBzU/nBCzt2YmE1
GlFiJHMLEA6SXt7Cyt3vBCCXVxN4p4QEw+pRqZlmltcRF4YnudBOhFcpBmKxB0JA
zR/mUrFdKR1UbgF6X1HLKuazXTofzEB52/7L/Q3zAmLGCKf/Mcu3LtBb44BCihzy
Mj2Wt599/JLQJfRnhn9FFHqeRy3ZOP+8/5VFUruGxb8hZ5i+e7qkXEG212Ysd452
RQGUXjK015syUkwq+AocXRFLkpF4dnUn/gz8hozJHLuiNVDRjxuPkuCXhYiJ9d4m
v7yx+92zmUYAISmcYRdXg0YywRRgNsn22i5LLmIxkX34q1/aTSXO5an/4z9dhdma
EmiwSDukK9OK8uDoP+BrPMiS8GbmSidFbtI/Fe3ted8NeH5rqT/ge1Nf3tEf0SAX
dX10pfVTrdAeMHsr1deYkfAcKaGAZ13wa32OjGftCDqadCrHVDfroajiPyLZVcco
mUzwa5UaXwtU
=rciC
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 04 Feb 2021 07:24:55 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:42 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.