From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6487873561298993152 X-Received: by 10.28.174.146 with SMTP id x140mr74059wme.14.1511253716565; Tue, 21 Nov 2017 00:41:56 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 10.223.134.118 with SMTP id 51ls118299wrw.4.gmail; Tue, 21 Nov 2017 00:41:56 -0800 (PST) X-Google-Smtp-Source: AGs4zMYkOhkLTfTatMx+bdRJfBnVTf26x8WcjMdl+UtRrFI0YPJIK1w8YaQFIyTSHJX1YC8HSHDF X-Received: by 10.28.207.1 with SMTP id f1mr77666wmg.11.1511253716276; Tue, 21 Nov 2017 00:41:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511253716; cv=none; d=google.com; s=arc-20160816; b=H9Y/udHCKA5vWICfXMW8t90ePBuz/O7fP8dhtrMEyUFayN2vde11gbRKl80t3fZKGS HXo+nvjrN8mfOxNe9asYBbsTtGixQBfhDJRy3p3ou98dmd+sOdKtUxL7iHmQNTl83Br6 6KJHztSOIPkH4q5mrKRRxnPB+eEzH9+IlGQgQsqbbnKhfnakkpjvDhi08aTiuiJDeF1B Qoy06VxJ5r0bULzxxrrluiQJACF/nignpFGm4vceS1sAE3rvqt25+b4ChBAwLcotUYRR SESQrQaJTH6xX/bDQvogCPPaAHry+8jdEtyAfYjZTXO5AO2H4nfJdk4lMnJU0UDabl86 4QRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=FG4T2L2rnTlGDjAL+9QtrYN4p0RZCFGu9L+PYzxKJ5g=; b=qEQICLzFYyWY3BV/ZY9vGfE8YaBlLw3btzXQ79huGANAgIMKdygwBpmZMROu4MJIQM ruJa1ZyZvc+lSFXMuKpCVNVqb4UA7Kl4HMf1dYtG/MeYQ06uBKMdCMVuB8BBsQMy20WW PuE/m6icoFCre/Zzy3iLuHZRedOByPBI4/SKq3WJZbkJb2RGjL4eWoZuMPCEvWFbOOr/ DDQEq8k87a4kgsalOeA3Kspz0M/dJPs+Rnu0HLZwRwiL4nAGjf/Yu2ZfY4b+H/r7jdgH Bc6CDcelko8dTmnuYJbqQaej1I3ZRfBuzmkQ99QVVGKalIyHykEq1u6BoTGeRXA00jL3 NUIA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id i76si91353wmd.0.2017.11.21.00.41.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Nov 2017 00:41:56 -0800 (PST) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=henning.schild@siemens.com Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id vAL8ftb1013783 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Nov 2017 09:41:55 +0100 Received: from md1em3qc ([139.25.68.40]) by mail1.siemens.de (8.15.2/8.15.2) with ESMTP id vAL8ft8S014353; Tue, 21 Nov 2017 09:41:55 +0100 Date: Tue, 21 Nov 2017 09:42:13 +0100 From: Henning Schild To: Alexander Smirnov Cc: Christian Storm , Subject: Re: [PATCH] build.sh: Fix perl complaints about locale Message-ID: <20171121094213.0f32a817@md1em3qc> In-Reply-To: <00f7d3a1-8aab-ac7b-6d30-289de2dfa036@ilbers.de> References: <20171113122151.19409-1-christian.storm@siemens.com> <00f7d3a1-8aab-ac7b-6d30-289de2dfa036@ilbers.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: gwIbMjlELcby Am Fri, 17 Nov 2017 13:42:05 +0300 schrieb Alexander Smirnov : > Hi, > > 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 > > > > short question, does LC_ALL override LANG value? No. Try "LC_ALL=C locale", as the name says it overrides LC_*. But you are right LC_ALL might be enough to get rid of the warnings. Henning > Alex >