On Fri, Jul 6, 2018 at 5:07 AM Mikolaj Izdebski <mizdebsk@redhat.com> wrote:
On 07/06/2018 10:48 AM, Zbigniew Jędrzejewski-Szmek wrote:
>> Either you need to change mock to set C.UTF-8, or change your proposal to
>> install glibc-langpack-en instead of glibc-minimal-langpack. Otherwise various
>> programs will fail to set the locale at build time. E.g. perl is quite
>> noisy about that.
>
> Thanks, that's a good point. Do you know where this is configured?
>
> When I run mock locally, it just passes the LC_*/LANG variables from
> the outside environment. I wonder if in koji this locale information is
> inherited from the default system settings, or if koji sets is specifically.

When LANG is not set mock sets it to en_US.UTF-8.
Fedora Koji doesn't configure LANG, AFAIK.

Can we get that fixed upstream in mock? If there's no locale set, the *only* locale that is safe to assume is C[.UTF-8]. Assuming en-US.UTF-8 is *commonly* acceptable, but not guaranteed.