Debian Bug report logs -
#1020879
dustmite: reproducible-builds: timezone/locale dependent date in /usr/bin/dustmite
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian D Language Group <team+d-team@tracker.debian.org>:
Bug#1020879; Package src:dustmite.
(Tue, 27 Sep 2022 21:21: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 D Language Group <team+d-team@tracker.debian.org>.
(Tue, 27 Sep 2022 21:21:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: dustmite
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps timezone locale
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
A timezone and potentially locale dependent date is embedded in
/usr/bin/dustmite:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/dustmite.html
Aug··3·2022
vs.
Aug··4·2022
The attached patch to dustmite.d fixes this by removing the use
of__DATE__.
This is not the only issue affecting the reproducibility of dustmite,
but another patch regarding build paths was recently submitted,
Bug#1020878.
According to my local tests, with both patches applied, dustmite should
build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining dustmite!
live well,
vagrant
[0002-dustmite.d-Avoid-embedding-timezone-and-locale-speci.patch (text/x-diff, inline)]
From aa1d96af9415960d74cc9d1128bc6cbb8b0ae5d1 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 27 Sep 2022 21:05:55 +0000
Subject: [PATCH 2/2] dustmite.d: Avoid embedding timezone and locale-specific
build date in the binary.
https://reproducible-builds.org/docs/timestamps/
---
dustmite.d | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dustmite.d b/dustmite.d
index 3177cbe..918f49e 100644
--- a/dustmite.d
+++ b/dustmite.d
@@ -209,7 +209,7 @@ int main(string[] args)
enum source = import("source");
else
enum source = "upstream";
- stdout.writeln("DustMite build ", __DATE__, " (", source, "), built with ", __VENDOR__, " ", __VERSION__);
+ stdout.writeln("DustMite build (", source, "), built with ", __VENDOR__, " ", __VERSION__);
if (args.length == 1)
return 0;
}
--
2.37.2
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:28:16 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.