From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6548751638861971456 X-Received: by 2002:a50:a8e3:: with SMTP id k90-v6mr6142382edc.10.1526386915801; Tue, 15 May 2018 05:21:55 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:e84c:: with SMTP id k12-v6ls161014edn.7.gmail; Tue, 15 May 2018 05:21:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrv2cCkV9XOvQo7GyAA3RwYmK55+UApgM0uIzSg2QmdeAunh7oVUrAH7e0xsashJStBnwGO X-Received: by 2002:a50:e619:: with SMTP id y25-v6mr6151910edm.0.1526386914921; Tue, 15 May 2018 05:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526386914; cv=none; d=google.com; s=arc-20160816; b=iUQkyaQqAMOLooKuGPyfu11tPeb4/XqcetHnqRsQuTeM7EQs26h/acbOC/FasmvAZY jA91UbOzcQcbl+dEyxHnvCeYTUH1jGyGFN4VHbl5a+0ZOCaH9KHjadr6OzJaK06o+tDW MAx61eRfg1LHxOtPU5vi8VEDHtKAOkOM34YCkvhqgv2Iil6MvRu0UBwNWVRPv5yebdPN 8OShPDzBVzVnRPLrciShAUvf9Q/1mB9c0EJXGNXFhyJNOaz6qnFaE7VK1vx+dcnn9Xht J52jfWNj4Zrxt5GJig9B4PPJ8Wjc5Tuhl1mF1YW4o7DddXU/WGodoEuBwPDd6Qq3Z9Zg C2IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:references:to:from:subject :arc-authentication-results; bh=G8KYvQ/8aO6syPJRF4jBYDFqh+rLLNk5rwoUcXV4jrM=; b=Gbq/LNuSucEcwsrjs2bFo2791HdS66RjL6pF0duIw6L7b4oS2WWUHvT6PsZaCBL5s2 RvHDeI1pXoEyHQi/n4MTkR8aBKD51nLM+mfTWrbWSIsYfJt0bUKbHJ1UOLhNL7hQGhBj 5IKvW/FvnlfM3M8HXkYTjgs/G4r32tCo2fPAqYTaHlyDNKkSAiSDMr8BoCaUDPk2E38s jw+gN1blKPdyrgNLisaWLg7X+r11OXeoKzsTpv6lntck8hksBpacwiEQWK3N1CkQYJUH Jc1hJyRDiuzlcnawypgkfUtfNBZA1EFlRvGfe1w3uzEhG15YzXpIG8FRk6upJYfkYeRV oPnA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id j5-v6si5646edd.5.2018.05.15.05.21.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 May 2018 05:21:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of asmirnov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=asmirnov@ilbers.de Received: from [10.0.2.15] ([188.227.110.165]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id w4FCLoud014631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 15 May 2018 14:21:52 +0200 Subject: Re: [PATCH 0/2] Fixup Perl warnings about locale From: Alexander Smirnov To: Claudius Heine , claudius.heine.ext@siemens.com, isar-users@googlegroups.com References: <20180426134054.18815-1-claudius.heine.ext@siemens.com> <45c7c52e-faba-df04-ee15-a669a9569d92@ilbers.de> <3fd93080c8519ef8759b51df7be2b6434a687e24.camel@denx.de> <88a4b25b-91cb-e3fb-b1a1-f224a7272a43@ilbers.de> Message-ID: <2c3255e9-633d-48ef-e3db-18b32fb7ed6e@ilbers.de> Date: Tue, 15 May 2018 15:21:45 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <88a4b25b-91cb-e3fb-b1a1-f224a7272a43@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: sD5yuFUVTovA 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 >>>> >>>> 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