Source: swedish Version: 1.4.5-2.1 Severity: wishlist Tags: patch upstream User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, While working on the "reproducible builds" effort [1], we have noticed that 'swedish' could not be built reproducibly. The attached patch sets the locale to C while sorting, so that the order is fixed. Once applied, swedish can be built reproducibly in our current experimental framework. Regards, Alexis Bienvenüe. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -u swedish-1.4.5/debian/changelog swedish-1.4.5/debian/changelog --- swedish-1.4.5/debian/changelog +++ swedish-1.4.5/debian/changelog @@ -1,3 +1,9 @@ +swedish (1.4.5-2.1.0~reproducible1) UNRELEASED; urgency=medium + + * Use C locale for sorting, to make the build reproducible. + + -- Alexis Bienvenüe <p...@passoire.fr> Tue, 21 Jun 2016 15:16:32 +0200 + swedish (1.4.5-2.1) unstable; urgency=low * Non-maintainer upload. only in patch2: unchanged: --- swedish-1.4.5.orig/Makefile +++ swedish-1.4.5/Makefile @@ -47,8 +47,8 @@ svenska.datalista: svenska.aff goranj.data gorann.data < goranj.data sed 's/\/.*//' | sed 's/$$/\/S/' > goranJ.data - cat goran[jJ].data | sort -f | icombine svenska.aff > gorana.data - cat gorana.data gorann.data | sort -f > svenska.datalista + cat goran[jJ].data | LC_ALL=C sort -f | icombine svenska.aff > gorana.data + cat gorana.data gorann.data | LC_ALL=C sort -f > svenska.datalista rm goran[aJ].data goranj.data: diverse/gtmp.aff $(jsynclistor) @@ -113,7 +113,7 @@ munchlist -l diverse/gtmp.aff -v $< > $*.data ; touch $*.sync %.d2o: %.data diverse/gtmp.hash - ispell -d diverse/gtmp -e < $< | sed s/\ /$$'\\\n'/g | sort -u > $*.ord ; touch $*.sync + ispell -d diverse/gtmp -e < $< | sed s/\ /$$'\\\n'/g | LC_ALL=C sort -u > $*.ord ; touch $*.sync %.o: %.ord -[ -f $*.data ] && [ ! -f $*.sync ] && ( echo "Filen $*.sync finns ej" ; exit 1 )