Bug#886902: clanlib: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Jan 11 05:07:34 UTC 2018
Source: clanlib
Version: 1.0~svn3827-7
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that clanlib could not be built reproducibly.
This is because it loops over the filesystem in a nondeterminstic
order when generating the docs.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/patches/500_reproducible_build.patch 1970-01-01 05:30:00.000000000 +0530
--- b/debian/patches/500_reproducible_build.patch 2018-01-11 10:14:04.026954819 +0530
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2018-01-11
+
+--- clanlib-1.0~svn3827.orig/Documentation/Reference/pce2.in
++++ clanlib-1.0~svn3827/Documentation/Reference/pce2.in
+@@ -142,7 +142,7 @@ sub EXEC {
+
+ &PLUGIN("init");
+
+- foreach $file (@filelist) {
++ foreach $file (sort @filelist) {
+ $buffer="";
+ print "Reading $file\n" if ($::verbose);
+ $::currentfile=$file;
--- a/debian/patches/series 2018-01-11 08:33:07.045187651 +0530
--- b/debian/patches/series 2018-01-11 10:14:02.890947069 +0530
@@ -8,3 +8,4 @@
430_privacy.patch
440_makepair.patch
450_unescaped_left_brace.patch
+500_reproducible_build.patch
More information about the Pkg-games-devel
mailing list