[PKG-Openstack-devel] Bug#892419: gnocchi: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Mar 9 00:03:34 UTC 2018
Source: gnocchi
Version: 4.2.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that gnocchi could not be built reproducibly as it iterates over
a Python set when generating documentation.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/reproducible-build.patch 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/reproducible-build.patch 2018-03-08 16:01:06.117130673 -0800
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2018-03-08
+
+--- gnocchi-4.2.0.orig/gnocchi/common/redis.py
++++ gnocchi-4.2.0/gnocchi/common/redis.py
+@@ -102,7 +102,7 @@ OPTS = [
+ - http://redis.io/topics/sentinel
+ - http://redis.io/topics/cluster-spec
+
+-""" % "`, `".join(CLIENT_ARGS)),
++""" % "`, `".join(sorted(CLIENT_ARGS))),
+ ]
+
+
--- a/debian/patches/series 2018-03-08 15:26:55.192361493 -0800
--- b/debian/patches/series 2018-03-08 16:01:04.913021066 -0800
@@ -1 +1,2 @@
py3-compat.patch
+reproducible-build.patch
More information about the Openstack-devel
mailing list