Bug#840098: fpga-icestorm: please make the build reproducible

Chris Lamb lamby at debian.org
Sat Oct 8 09:34:46 UTC 2016


Source: fpga-icestorm
Version: 0~20160913git266e758-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,

Whilst working on the Reproducible Builds effort [0], we noticed
that fpga-icestorm could not be built reproducibly.

Patch attached. There already exists a reproducible patch - will let
you merge them rather than send you a diff-of-a-diff-of-a-… :)

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/patches/reproducible2.patch	1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible2.patch	2016-10-08 10:29:21.796839994 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-10-08
+
+--- fpga-icestorm-0~20160913git266e758.orig/icebox/icebox_chipdb.py
++++ fpga-icestorm-0~20160913git266e758/icebox/icebox_chipdb.py
+@@ -262,7 +262,7 @@ for pllid in ic.pll_list():
+         if pllid in icebox.noplls_db[entry]:
+             locked_pkgs.append(entry.split("-")[1])
+     if len(locked_pkgs) > 0:
+-        print("LOCKED %s" % " ".join(locked_pkgs))
++        print("LOCKED %s" % " ".join(sorted(locked_pkgs)))
+     for key in sorted(pllinfo):
+         if key != "LOC":
+             print("%s %s" % (key, " ".join([str(k) for k in pllinfo[key]])))
--- a/debian/patches/series	2016-10-08 10:21:09.334585609 +0100
--- b/debian/patches/series	2016-10-08 10:29:20.248820313 +0100
@@ -1,3 +1,4 @@
 01_installpath.patch
 03_cxxflags.patch
 reproducible.patch
+reproducible2.patch


More information about the debian-science-maintainers mailing list