Source: binutils
Version: 2.26-9
Severity: wishlist
Tags: patch
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
binutils could not be built reproducibly.

Patch attached that makes the existing sed calls case-insensitive.


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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/rules b/debian/rules
index ec9d67c..2d211df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1279,7 +1279,7 @@ binary.%: stamps/install.% install
 
 ifeq ($(with_check),yes)
        : # remove user and date from test-summary for reproducible builds
-       sed -i -e '/Test Run By/d' test-summary-$*
+       sed -i -e '/Test Run By/Id' test-summary-$*
        $(install_file) test-summary-$* \
          $(D_CROSS)/$(PF)/share/doc/$(P_CROSS)/test-summary
        gzip -9nf $(D_CROSS)/$(PF)/share/doc/$(P_CROSS)/test-summary
@@ -1444,7 +1444,7 @@ endif
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
 ifeq ($(with_check),yes)
        : # remove user and date from test-summary for reproducible builds
-       sed -i -e '/Test Run By/d' $(pwd)/test-summary
+       sed -i -e '/Test Run By/Id' $(pwd)/test-summary
        $(install_file) $(pwd)/test-summary $(d_bin)/$(PF)/share/doc/$(p_bin)/
 endif
 endif
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to