On 02/29/2016 06:32 AM, Petr Pisar wrote: > On 2016-02-27, Ruben Kerkhof <ruben@xxxxxxxxxxxxxxxx> 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. The glibc team guarantees you will have C.UTF-8 always. It should be the default. This is indeed related to the langpack split up and we are going to fix this shortly. Cheers, Carlos. -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx