Re: [HEADS UP] Rawhide buildroot now has glibc-minimal-langpack instead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> * Petr Pisar <ppisar@xxxxxxxxxx> [2018-12-03 11:24]:
> > On 2018-11-28, Igor Gnatenko <ignatenkobrain@xxxxxxxxxxxxxxxxx> 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/1.fc30/data/logs/noarch/build.log>.
>
> 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?

I suspect the proper fix will be in the cmake-rpm-macros package so
that it's fixed in a central location for all cmake consumers.

Peter
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux