* Petr Pisar <ppisar(a)redhat.com> [2018-12-03 11:24]:
On 2018-11-28, Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
wrote:
> the removal of glibc-all-langpacks from the buildroot[0] is done.
> Standard buildroot has decreased from 445 to 237 megabytes in
> installed size ;)
>
That's nice, but Koji builders have not been reconfigured away from
LANG=en_US.UTF-8 and that means that all builds run in C (not C.UTF-8)
locale now and e.g. every Perl package build spits a warning like this:
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.
Example
<
https://kojipkgs.fedoraproject.org//packages/perl-Task-Kensho-Async/0.40/...;.
This is even causing some of my builds to fail because some cmake
variables (CMAKE_SYSTEM_PROCESSOR below) end up containing a warning:
-- Found assembler: /usr/bin/clang
CMAKE_SYSTEM_PROCESSOR: _bin_sh: warning: setlocale: LC_ALL: cannot change locale
(en_US.UTF-8)
x86_64
CMake Error at functions.cmake:7 (message):
Only AMD64, ARM64 and ARM are supported
Call Stack (most recent call first):
CMakeLists.txt:175 (clr_unknown_arch)
What's the correct way to disable this "setlocale: LC_ALL: cannot change
locale (en_US.UTF-8)" warning? What environment variables should I be
(un)setting when building in koji? Or should I install a langpack
instead?
Thanks,
Omair
--
PGP Key: B157A9F0 (
http://pgp.mit.edu/)
Fingerprint = 9DB5 2F0B FD3E C239 E108 E7BD DF99 7AF8 B157 A9F0