Source: tkdesk
Version: 2.0-9.2
Severity: wishlist
Tags: patch upstream
User: reproducible-builds@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

While working on the “reproducible builds” effort [1], we have noticed
that 'tkdesk' could not be built reproducibly.

The attached patch fixes the order in which files are parsed by the
mkindex script.
Once applied, tkdesk can be built reproducibly in our current
experimental framework.

Regards,
Alexis Bienvenüe.

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

--- tkdesk-2.0.orig/tcldesk/mkindex
+++ tkdesk-2.0/tcldesk/mkindex
@@ -74,7 +74,7 @@
     append index "# sets an element in the auto_index array, where the\n"
     append index "# element name is the name of a command and the value is\n"
     append index "# a script that loads the command.\n\n"
-    foreach file [eval glob $args] {
+    foreach file [lsort [eval glob $args]] {
 	set f ""
 	set error [catch {
 	    set f [open $file]
_______________________________________________
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