Source: tcl8.6
Version: 8.6.5+dfsg-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: locale
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that tcl8.6 could not be built reproducibly.
While creating the static library, sorts the files from the glob
differently depending on the configured locale.

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

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules
index 9c93c4c..86bb64a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,7 @@ override_dh_auto_build:
 	$(MAKE) -C unix
 	# Build the static library
 	cd unix && \
+	  LC_ALL=C && \
 	  ar cr libtcl$(v).a *.o && \
 	  ar d libtcl$(v).a tclAppInit.o && \
 	  ranlib libtcl$(v).a
_______________________________________________
Pkg-tcltk-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to