On 2016-02-27, Ruben Kerkhof <ru...@rubenkerkhof.com> wrote:
> I'm now seeing this in mock / koji builds:
>
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LANG = "en_US.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
Mock (or rpmbuild?) sets LANG to en_US.UTF-8 instead of C in order to
have UTF-8 locale when building packages because it was decided that
UTF-8 is the default (build) environment for Fedora.

With removing en_US.UTF-8 from the glibc and thus minimal build root,
all koji builds are misconfigured now because setlocale(3) on "en_US.UTF-8"
fails without the locale definition in the file system.

I assume changing the default build-time locale to C.UTF-8 could help.

-- Petr
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to