[Reproducible-builds] Bug#779061: udev-discover: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Feb 23 23:47:24 UTC 2015


Source: udev-discover
Version: 0.2.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Hi,

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

This is caused by determinism in the call to

  self.distribution.get_command_obj('install', False)

in BuildScript.run inside upstream's setup.py.

By specifying the prefix in the build_scripts stanza in setup.cfg we can
remove this non-determinism. See the attached patch.

(If you apply this patch, you might want to change the prefix to "/usr",
ie. without the trailing "/". That will remove the double "//" in the
target.)

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.udev-discover.diff.txt
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150223/905f05eb/attachment.txt>


More information about the Reproducible-builds mailing list