Re: perl: warning: Setting locale failed.

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

 



Petr Šabata <contyk@xxxxxxxxxx> wrote:

>> > Adding
>> > BuildRequires: glibc-all-langpacks
>> > to all the *.specs obviously fixes this issue. However, I doubt this is
>> > right, because I think these warnings originate from some rpm-internal
>> > scripts and not from the packages.

>> I suspect you're running into the glibc-langpacks-all feature:
>> * https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
>> *
>> https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/thread/VRIO4YQV2B2G2DUUYNRTVYQDFCMZSZGX/#B5SEICGIAETNXPRIE6VZT2VDKXRLJWSP

> The locale shouldn't be set to en_US.utf8 is glibc-langpack-en is
> not present.  Where does it come from?

Judging from $LANG=de_DE.UTF-8 in my mock, it gets copied
from the "host" environment.  And indeed,
mock/py/mockbuild/util.py has two instances of:

|     env['LANG'] = os.environ.setdefault('LANG', 'C.UTF-8')

Adding:

| config_opts['environment']['LANG'] = 'C'

to ~/.config/mock.cfg seems to solve that.

Tim
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-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/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux