Debian Bug report logs - #823452
opengl-4-html-doc: please make the build reproducible (randomness)

version graph

Package: opengl-4-html-doc; Maintainer for opengl-4-html-doc is Debian OpenCL Maintainers <pkg-opencl-devel@lists.alioth.debian.org>; Source for opengl-4-html-doc is src:khronos-opengl-man4 (PTS, buildd, popcon).

Reported by: Daniel Shahaf <danielsh@apache.org>

Date: Wed, 4 May 2016 21:00:01 UTC

Severity: wishlist

Tags: patch, pending

Found in version khronos-opengl-man4/1.0~svn31251-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, danielsh@apache.org, reproducible-builds@lists.alioth.debian.org, Debian OpenCL Maintainers <pkg-opencl-devel@lists.alioth.debian.org>:
Bug#823452; Package opengl-4-html-doc. (Wed, 04 May 2016 21:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Daniel Shahaf <danielsh@apache.org>:
New Bug report received and forwarded. Copy sent to danielsh@apache.org, reproducible-builds@lists.alioth.debian.org, Debian OpenCL Maintainers <pkg-opencl-devel@lists.alioth.debian.org>. (Wed, 04 May 2016 21:00:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Daniel Shahaf <danielsh@apache.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: opengl-4-html-doc: please make the build reproducible (randomness)
Date: Wed, 4 May 2016 20:55:29 +0000 (UTC)
[Message part 1 (text/plain, inline)]
Package: opengl-4-html-doc
Version: 1.0~svn31251-1
Severity: wishlist
Tags: patch
User: reproducible-builds@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
[index-sorted-determnistically.diff (text/x-diff, attachment)]

Added tag(s) pending. Request was from Mathieu Malaterre <malat@debian.org> to control@bugs.debian.org. (Wed, 11 May 2016 07:42:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 13:58:08 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.