Bug#882462: bugs-everywhere: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Nov 23 08:13:22 UTC 2017


Source: bugs-everywhere
Version: 1.1.1-4
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 bugs-everywhere could not be built reproducibly.

This is because it included the nondeterminstic memory address in
the generated documentation.

Patch attached that uses a determinstic — and more helpful! — name.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/libbe/storage/util/settings_object.py	2017-11-23 17:07:55.973927287 +0900
--- b/libbe/storage/util/settings_object.py	2017-11-23 17:11:07.465451575 +0900
@@ -170,7 +170,8 @@
             fulldoc += "\n\nThis property is generated with %s." % generator
         if check_fn != None:
             fn_checked = fn_checked_property(value_allowed_fn=check_fn)
-            fulldoc += "\n\nThis property is checked with %s." % check_fn
+            fulldoc += "\n\nThis property is checked with %s.%s" % (
+                       check_fn.__module___, check_fn.__name__)
         if allowed != None:
             checked = checked_property(allowed=allowed)
             fulldoc += "\n\nThe allowed values for this property are: %s." \


More information about the Reproducible-bugs mailing list