Source: cpl-plugin-giraf
Version: 2.14+dfsg-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that cpl-plugin-giraf could not be built reproducibly.

The attached patch removes randomness from the build system. Once
applied, cpl-plugin-giraf can be built reproducibly in our reproducible
toolchain.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/create_sphinx.py b/debian/create_sphinx.py
index 3c283da..0336111 100644
--- a/debian/create_sphinx.py
+++ b/debian/create_sphinx.py
@@ -146,7 +146,7 @@ index = [ oca.find(recipe.__name__) for recipe in 
recipes_oca ]
 recipes_oca = [r for (i, r) in sorted(zip(index, recipes_oca))]
 
 recipes_x = [recipe for recipe in recipes if not recipe.__name__ in oca]
-recipes_x.sort()
+recipes_x.sort(lambda x: x.__name__)
 
 def par(recipe, template, delimiter = "", count = None):
     return delimiter.join(template.format(
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to