public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Alexander Smirnov <asmirnov@ilbers.de>
To: Claudius Heine <ch@denx.de>,
	claudius.heine.ext@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH 0/2] Fixup Perl warnings about locale
Date: Tue, 15 May 2018 15:21:45 +0300	[thread overview]
Message-ID: <2c3255e9-633d-48ef-e3db-18b32fb7ed6e@ilbers.de> (raw)
In-Reply-To: <88a4b25b-91cb-e3fb-b1a1-f224a7272a43@ilbers.de>

On 04/26/2018 09:15 PM, Alexander Smirnov wrote:
> Hi,
> 
> On 04/26/2018 08:27 PM, Claudius Heine wrote:
>> Hi Alex,
>>
>> On Thu, 2018-04-26 at 19:55 +0300, Alexander Smirnov wrote:
>>> Hi,
>>>
>>> thank you for the quick reaction.
>>>
>>> On 04/26/2018 04:40 PM, claudius.heine.ext@siemens.com wrote:
>>>> From: Claudius Heine <ch@denx.de>
>>>>
>>>> Hi,
>>>>
>>>> this patchset sets the locale variables to avoid locale warnings of
>>>> Perl.
>>>
>>> After this series almost all (except wheezy) example-hello's build
>>> log
>>> starts with the line:
>>>
>>> DEBUG: Executing shell function do_build
>>> /bin/bash: warning: setlocale: LC_ALL: cannot change locale
>>> (en_US.UTF-8)
>>>
>>> It would be nice to investigate the source of this warning and fix
>>> it
>>> before applying.
>>
>> I think that message happens before this series as well. I might be
>> wrong but I think the problem there is in bitbake, because it sets this
>> variable to 'en_US.UTF-8' per default. I haven't investigated it, but
>> to fix this we might need to patch bitbake for this.
> 
> To be honest, I didn't get it... Does it mean you are going to 
> investigate the issue, or you'd like somebody else to do this?
> 
> I've performed quick test - build master branch, it's still based on 
> multistrap. Build log doesn't contain warning message:
> 
> DEBUG: Executing shell function do_build
> Ign file: isar InRelease
> Ign file: isar Release.gpg
> Get:1 file: isar Release [3,566 B]
> Ign file: isar/main Translation-en_US
> 
> So seems this is an issue in Isar.
> 

Applied to next, thanks!

I've found the source of this warning message - there is no UTF-8 locale 
generated in rootfs. So seems it's yet another difference between 
multistrap and debootstrap. I'll fix this in a separate patch.

Alex

      reply	other threads:[~2018-05-15 12:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26 13:40 claudius.heine.ext
2018-04-26 13:40 ` [PATCH 1/2] classes/isar-bootstrap-helper: set locale variables claudius.heine.ext
2018-04-26 13:40 ` [PATCH 2/2] buildchroot/build.sh: " claudius.heine.ext
2018-04-26 16:55 ` [PATCH 0/2] Fixup Perl warnings about locale Alexander Smirnov
2018-04-26 17:27   ` Claudius Heine
2018-04-26 18:15     ` Alexander Smirnov
2018-05-15 12:21       ` Alexander Smirnov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c3255e9-633d-48ef-e3db-18b32fb7ed6e@ilbers.de \
    --to=asmirnov@ilbers.de \
    --cc=ch@denx.de \
    --cc=claudius.heine.ext@siemens.com \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox