Source: linuxlogo
Version: 5.11-7
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that linuxlogo could not be built reproducibly.
A file list is sorted differently depending on the locale.

The attached patch fixes this by setting LC_ALL to C before sorting.

Regards,
 Reiner

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

diff --git a/debian/rules b/debian/rules
index fd1ef90..8f0793a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 %:
-	find ./logos -type f | sort > logo_config 
+	find ./logos -type f | LC_ALL=C sort > logo_config
 	PREFIX=$(CURDIR)/debian/linuxlogo/usr ./configure 
 	cp -r po/ potmp/
 	dh $@

Attachment: signature.asc
Description: OpenPGP digital 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