From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6487873561298993152 X-Received: by 10.28.167.83 with SMTP id q80mr521948wme.1.1510577351069; Mon, 13 Nov 2017 04:49:11 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.28.45.212 with SMTP id t203ls907264wmt.7.canary-gmail; Mon, 13 Nov 2017 04:49:10 -0800 (PST) X-Google-Smtp-Source: AGs4zMYerj/+N/qikJJKzib4pqX81sD+ToW1IRD9oQPQrUv5AIHOstYGufzqNYl8MAz0HrGLQ2yW X-Received: by 10.223.175.16 with SMTP id z16mr717660wrc.30.1510577350642; Mon, 13 Nov 2017 04:49:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510577350; cv=none; d=google.com; s=arc-20160816; b=BNuUoZtHLDN8/yN2ePIa0NlbqULgLPrb4oixb7+IWsJxk1n3ApeQv/09rqz6ZvYgAx BYmi3TI50i7ByszALax2JyB9JnKoQY4PuDL+krTg9Ln12c0JmzmAKtSOpGrcw2NfQUQ5 5QQztoTckQqYGGAXI9kbO0fZcXQE4aNRHLDHVSSIOaO7OfUruKsA8Y26oeCxwUuO78UI NOhh8f0a+fybe/uzAQ4JbQpPSfK5blHAGYzU0J2YEctXTqthF2lbHv5nKDAdLLjLm6rO D8pSmeydcrYpNhlWZ4WrjIJEXau/0kzkSOd2LTBOsRYxcUJ+HUV2NvkWduHD4pGJK0O3 Gj1w== 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:from:references:to:subject :arc-authentication-results; bh=2AWWFt55o0aCbJppFqqS5C+vE0hohQ/aH6tzsfvnUdQ=; b=sQb1iDAj3G6eq0Cp5Cxlz03iQgpRWf0ywxBj/SXbNcMCLwMLxMVbsYfrziSYu/UHrt wgG64Bvr/xAgp8fYRgTjFurevYziIBa2v4cG+ShIcIUI6De0Xh87KjoWEsD+WqCupNCw rBCjRX5zEib95vZyCnp5ou35lEsgV2iKLp6MG0CM6hFh4JhFMB7jG4lYhqWTTHTPyHpd m/t321Hihxm+RcHYvx8UdBTjgTzD06P3Xk+NUkbr1cy5hEcl+MTric4GONj1aGAOTVFJ +t/GKNqhIPRF58NF0cBQSDK3mxXaxZefXhQ41mII7SrR3jBgxgQIOrkLNhQF1lmcoB65 bwQA== 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 s6si717139wme.4.2017.11.13.04.49.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 04:49:10 -0800 (PST) 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 vADCn7tI005332 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 13 Nov 2017 13:49:09 +0100 Subject: Re: [PATCH] build.sh: Fix perl complaints about locale To: Christian Storm , isar-users@googlegroups.com References: <20171113122151.19409-1-christian.storm@siemens.com> From: Alexander Smirnov Message-ID: <6c84c20e-96df-03d5-7f60-0c31597d9813@ilbers.de> Date: Mon, 13 Nov 2017 15:49:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171113122151.19409-1-christian.storm@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: svGdTEN6AZbL Hi Christian, On 11/13/2017 03:21 PM, Christian Storm wrote: > The log.do_build is flooded by perl's locale complaints: > > perl: warning: Setting locale failed. > perl: warning: Please check that your locale settings: > LANGUAGE = (unset), > LC_ALL = "en_US.UTF-8", > LANG = (unset) > are supported and installed on your system. > perl: warning: Falling back to the standard locale ("C"). > > Make perl happy by explicitly giving it the C locale. > > Signed-off-by: Christian Storm > --- > meta/recipes-devtools/buildchroot/files/build.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh > index 19d554e..e53d359 100644 > --- a/meta/recipes-devtools/buildchroot/files/build.sh > +++ b/meta/recipes-devtools/buildchroot/files/build.sh > @@ -23,4 +23,4 @@ for i in configure aclocal.m4 Makefile.am Makefile.in; do > done > > # Build the package > -dpkg-buildpackage > +LC_ALL=C LANGUAGE=C LANG=C dpkg-buildpackage > There is code that should setup locales for current buildchroot: https://github.com/ilbers/isar/blob/master/meta/recipes-devtools/buildchroot/files/configscript.sh#L8 So it would be nice to fix this globally instead of local solution. BTW, which target distro do you use, Stretch? I already have this issue in todo list, but you are welcome to fix this. :-) Alex