Source: binutils
Version: 2.25.90.20151125-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps username
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that binutils could not be built reproducibly.
Since the cross packages are also built, the username and date
appears again in the test-summary files.

The attached patch filters the line causing unreproducibility
also for the other architectures.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index c7b27d8..b2a6533 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1319,6 +1319,8 @@ binary.%: stamps/install.%
 	gzip -9nf $(D_CROSS)/$(PF)/share/doc/$(P_CROSS)/changelog.Debian
 
 ifeq ($(with_check),yes)
+	: # remove user and date from test-summary for reproducible builds
+	sed -i -e '/Test Run By/d' 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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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