Package: pkgconf
Version: 0.9.7-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that pkgconf could not be built reproducibly.

The attached patch removes locale-specific ordering written in the binary
file. Once applied, pkgconf can be built reproducibly in our current
experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds
diff -rNup pkgconf-0.9.7.orig/debian/rules pkgconf-0.9.7/debian/rules
--- pkgconf-0.9.7.orig/debian/rules	2014-02-16 11:08:13.000000000 -0200
+++ pkgconf-0.9.7/debian/rules	2015-07-13 11:38:40.359016831 -0300
@@ -5,7 +5,7 @@ DEB_HOST_MULTIARCH     := $(shell dpkg-a
 SYSTEM_LIBDIRS := $(shell for opt in '' $$($${CC-gcc} -print-multi-lib | sed -n -e's/.*;@/-/p'); do \
      gcc $$opt -print-search-dirs | sed -n -e's/^libraries: =//p' \
      | sed -e's/:/\n/g' | xargs -n1 readlink -f | grep -v 'gcc\|/[0-9.]\+$$'; \
-    done | sort -u | tr '\n' : | sed 's/:$$//')
+    done | LC_ALL=C sort -u | tr '\n' : | sed 's/:$$//')
 
 %:
 	dh $@ --with=autoreconf
_______________________________________________
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