locale-related build problems

Dimitry Andric dimitry at andric.com
Sun Jan 3 14:15:44 UTC 2010


On 2010-01-03 15:03, Jilles Tjoelker wrote:
> The build system appears not to cope with locales. My guess is that
> you're using Turkish locale, which has dotless and dotted uppercase and
> lowercase 'i', where the uppercase version of the dotted 'i' is an
> uppercase dotted 'I'. awk(1) knows about this and generates a file that
> conforms to Turkish conventions but obviously will not work.
>
> As a workaround, you can run your builds with LC_ALL=C in the
> environment, disabling locale support. (e.g. env LC_ALL=C make
> buildkernel).
>
> This should be fixed by adding LC_ALL=C somewhere in the build process,
> possibly only for these awk commands.

Ah yes, this must be the cause.  I can reproduce E.O.'s problem by
setting LC_ALL=tr_TR.ISO8859-9 and doing a buildkernel.


More information about the freebsd-stable mailing list