Your message dated Sun, 23 Oct 2016 21:21:35 +0000
with message-id <[email protected]>
and subject line Bug#782234: fixed in miwm 1.1-5
has caused the Debian Bug report #782234,
regarding miwm: please make the build reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
782234: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782234
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: miwm
Version: 1.1-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-CC: [email protected]
Hi!
While working on Debian's “reproducible builds” effort [1], we have
noticed that miwm doesn't build reproducibly.
It embeds the current date into the manpage.
The attached patch fixes this by using the last changelog date
as a timestamp that will be embedded.
Regards,
Reiner
[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible_build.patch b/debian/patches/reproducible_build.patch
new file mode 100644
index 0000000..ad25320
--- /dev/null
+++ b/debian/patches/reproducible_build.patch
@@ -0,0 +1,45 @@
+Author: Reiner Herrmann <[email protected]>
+Description: Remove timestamp from binary to enable reproducible builds.
+
+Index: miwm-1.1/error.cc
+===================================================================
+--- miwm-1.1.orig/error.cc
++++ miwm-1.1/error.cc
+@@ -41,8 +41,7 @@ miAbort(const char *s)
+ {
+ fprintf(stderr, "%s: %s\n", argv0, s);
+ cout << endl;
+- cout << "Terminating MIWM at ";
+- cout << __TIME__<<", "<<__DATE__<<endl<<flush;
++ cout << "Terminating MIWM" << endl << flush;
+
+ StopMemoryLeakCheck();
+
+Index: miwm-1.1/manage.cc
+===================================================================
+--- miwm-1.1.orig/manage.cc
++++ miwm-1.1/manage.cc
+@@ -171,8 +171,7 @@ Terminate(int) { // parameter signal is
+
+ StopMemoryLeakCheck();
+
+- cout << "Terminated MIWM at ";
+- cout << __TIME__<<", "<<__DATE__<<endl<<flush;
++ cout << "Terminated MIWM" << endl << flush;
+
+ exit(EXIT_FAILURE);
+
+Index: miwm-1.1/miwm.cc
+===================================================================
+--- miwm-1.1.orig/miwm.cc
++++ miwm-1.1/miwm.cc
+@@ -131,8 +131,7 @@ main(int argc, char *argv[]) { // (int
+ // SHOWMESIZE(WindowManager);
+ // // SHOWMESIZE(MenuItem);
+
+- COUT << "Starting a MIWM that was compiled at ";
+- COUT << __TIME__<<", "<<__DATE__<<endl;
++ COUT << "Starting a MIWM" << endl;
+ COUT << MIWMVersionID << endl << flush;
+ COUT << endl << flush;
+
diff --git a/debian/patches/series b/debian/patches/series
index 3279018..df09d0f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
30-miAbort-fix-argdef.patch
40-change-bash-to-sh.patch
50-Makefile-etags.patch
+reproducible_build.patch
diff --git a/debian/pod2man.mk b/debian/pod2man.mk
index 450fa9a..e8c7d36 100644
--- a/debian/pod2man.mk
+++ b/debian/pod2man.mk
@@ -38,9 +38,10 @@ endif
PACKAGE ?= package
# Optional variables to set
+BUILD_DATE ?= $$(dpkg-parsechangelog -S Date -lchangelog)
MANSECT ?= 1
PODCENTER ?= User Commands
-PODDATE ?= $$(date "+%Y-%m-%d")
+PODDATE ?= $$(date -u "+%Y-%m-%d" -d "$(BUILD_DATE)")
# Directories
MANSRC ?=
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: miwm
Source-Version: 1.1-5
We believe that the bug you reported is fixed in the latest version of
miwm, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jari Aalto <[email protected]> (supplier of updated miwm 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 19 Oct 2016 13:32:22 +0300
Source: miwm
Binary: miwm
Architecture: source amd64
Version: 1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Jari Aalto <[email protected]>
Changed-By: Jari Aalto <[email protected]>
Description:
miwm - minimalist window manager with virtual workspaces
Closes: 767502 782234
Changes:
miwm (1.1-5) unstable; urgency=medium
.
* debian/control
- (Homepage): Update.
- (Standards-Version): Update to 3.9.8.
- (Vcs-*): Update to anonscm.debian.org.
* debian/copyright
- Update URLs.
* debian/pod2man.mk
- Make build reproducible (Closes: 782234).
Patch thanks to Reiner Herrmann <[email protected]>.
* debian/miwm.desktop
- (Keywords): Add.
* debian/miwm-session.1.pod
- Fix typo.
* debian/miwm.{prerm,postinst}
- Handle /etc/alternatives (Closes: 767502).
* debian/patches
- (60): Make build reproducible.
Patch thanks to Reiner Herrmann <[email protected]>.
Checksums-Sha1:
e4d4b57f04a06de37e856b77f6f5ecb7425fddcd 1830 miwm_1.1-5.dsc
3144c44b5e1d431922ce6af34668a9dfb23d0a95 17424 miwm_1.1-5.debian.tar.xz
6a0001a8fb50ca7df300062fe9245da8791c4cdb 697372 miwm-dbgsym_1.1-5_amd64.deb
00ceb47cd8cd084e582b5ea7811beacd2a943e52 94762 miwm_1.1-5_amd64.deb
Checksums-Sha256:
c3fe2d156ca38eac16403504b3d1cc4a1c1d69a4fa8b958e7d59f03b9572bba2 1830
miwm_1.1-5.dsc
2959c4c75492a8dc1bdd62b7b037ed956502431a4702ccc4dfce13cf6fb59ef4 17424
miwm_1.1-5.debian.tar.xz
43c00d8312392057af5c74dd551cf28b59fa1801bf3171d3bad0f50ebdd8e016 697372
miwm-dbgsym_1.1-5_amd64.deb
45d85bb97a02b58127fa410d6e25fde98d6c35ae322d38fbde5732f1629739c2 94762
miwm_1.1-5_amd64.deb
Files:
ac17d5b0eeebf19a9cbb17dc63c2254f 1830 x11 optional miwm_1.1-5.dsc
9eccd2b277b6422dcb6d70984ade203d 17424 x11 optional miwm_1.1-5.debian.tar.xz
6012721aa6e07937f11f6db38518e5f0 697372 debug extra miwm-dbgsym_1.1-5_amd64.deb
1313dfaff21a4ca63e8b67f7f08ed450 94762 x11 optional miwm_1.1-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJYDRH6AAoJECHSBYmXSz6WktQP/34GHmHZu4F0wmymU6aYB8IW
7QiwRj1IVSuY/02pE4SPjZr+lNqqiqxhlIhlfvQmnYQmkdKFNiDA33dFqTTvBlqF
BVCrxc5qiLSgiaqfec0foglKeRDDC2RntcAG7qMv9DyqLcQHRITabYKXSrrFBqGf
m8FlIGHuBFcuzHiFGiOWRu/Tym7LMcvnoP6wdCii8QykiMO/PHfjsYpGQHWBbRhn
88nuUDbFGURxcem6VMnHs8SixHpz2KylRVTfTNQHVBKAjUBqwNPxQXvHRRnrURVJ
/RfMmFeJM4Qo2qW0pQ19nVC+aZ9cjpZAn/++yBswUidPxIifLfptn+QFRC7Y55LJ
kX7C7AYCz6rzVFKMQMfNwW5nlpo6dokU35N4Bn7pJD9ssNiN56+o8W25u2R57Koj
3WZcU20OKZCmvmRal/I9+C5V1ergNCW3yt38rgmngsv1C/2ZC+ZU0OWZUHyFw2my
HLzubNEx9iZ/EGM6lEOuBwXZVS8h1qojJUZn8qaCO/Auuo55On7lXiVJOURXnXU1
wsf/hnd/p4RemAuBQmwJGlPikJhK0EJEU0gPCFXcFcaaDKWJ7/isHagjWmfqkHvk
9r2I8pKSjH5+ha2dewS8H5eN/E6smOoFVpFzViytxkA4hHTwvUpbUr0RWXocMRwU
OwWAIRyOjuUNtF9SyM2P
=fuA7
-----END PGP SIGNATURE-----
--- End Message ---