Your message dated Mon, 31 Oct 2016 21:44:27 +0500
with message-id <[email protected]>
and subject line Re: Bug#842624: mdp-src: please make the build reproducible
has caused the Debian Bug report #842624,
regarding mdp-src: 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.)
--
842624: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842624
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: mdp-src
Version: 1.0.8-1
Severity: wishlist
Tags: patch upstream
User: [email protected]
Usertags: fileordering
X-Debbugs-Cc: [email protected]
Hi!
While working on the "reproducible builds" effort [1], we have noticed
that mdp-src could not be built reproducibly.
During build it links object files in non-deterministic order.
The attached patch fixes this by sorting the list of source files.
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..87d30e4
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <[email protected]>
+Description: Sort list of source files for deterministic linking order
+
+--- a/Makefile
++++ b/Makefile
+@@ -20,7 +20,7 @@
+
+ UNAME_S := $(shell uname -s 2>/dev/null || echo not)
+
+-SOURCES = $(wildcard src/*.c)
++SOURCES = $(sort $(wildcard src/*.c))
+ OBJECTS = $(SOURCES:.c=.o)
+ TARGET = mdp
+ DESTDIR =
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..55077d0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+reproducible-build.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Hi, Reiner,
31.10.2016 02:06, Reiner Herrmann пишет:
> While working on the "reproducible builds" effort [1], we have noticed
> that mdp-src could not be built reproducibly.
> During build it links object files in non-deterministic order.
>
> The attached patch fixes this by sorting the list of source files.
thanks for your patch. I've just uploaded updated package. So, closing
the bug.
Cheers!
Lev Lamberov
signature.asc
Description: OpenPGP digital signature
--- End Message ---