[Pkg-opencl-devel] Bug#823452: opengl-4-html-doc: please make the build reproducible (randomness)
Daniel Shahaf
danielsh at apache.org
Wed May 4 20:55:29 UTC 2016
Package: opengl-4-html-doc
Version: 1.0~svn31251-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
Hi!
While working on the “reproducible builds” effort [1], we have noticed
that opengl-4-html-doc could not be built reproducibly [2].
Specifically, the incumbent index sorting emits the glMemoryBarrier and
memoryBarrier entries in random order, determined by readdir() and dict
iteration order. The attached patch makes the index sorting
deterministic, such that those two entries are always emitted in the
same order.
Cheers,
Daniel
(thanks to boyska on #debian-reproducible for correcting an earlier
draft of the patch)
[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://tests.reproducible-builds.org/rb-pkg/unstable/amd64/khronos-opengl-man4.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: index-sorted-determnistically.diff
Type: text/x-diff
Size: 1341 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/attachments/20160504/e27f8404/attachment.diff>
More information about the Pkg-opencl-devel
mailing list