[Reproducible-builds] Bug#802481: apertium-en-ca: please make the build reproducible

Esa Peuha esa.peuha at gmail.com
Tue Oct 20 13:22:32 UTC 2015

Source: apertium-en-ca
Version: 0.9.3~r61232-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org


While working on the “reproducible builds” effort [1], we have noticed
that apertium-en-ca (as well as other apertium-*-* packages) could not
be built reproducibly.

The problem is that these packages try to run localedef to compile
files for the en_US.UTF-8 locale in a nonstandard directory. This is
problematic because localedef needs the locales package to work, but
"Build-Depends: locales" isn't guaranteed to install locales if
locales-all is already installed (because locales-all contains
"Provides: locales" in its control file) and locales-all isn't good
enough for localedef. The solution is to simply build-depend on
locales-all instead of locales and use the locale files in the default
location; here is a patch to do that. (While the patch is against the
apertium-en-ca source package, essentially identical patches should be
applied to the other apertium-*-* packages as well.)

 [1]: https://wiki.debian.org/ReproducibleBuilds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apertium-en-ca.patch
Type: text/x-patch
Size: 1052 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151020/1bdbedc1/attachment.bin>

More information about the Reproducible-builds mailing list