From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: compiling error "xen-unstable.hg" Date: Fri, 27 Jul 2012 12:58:43 +0200 Message-ID: <50127463.6000109@ts.fujitsu.com> References: <1343373880839-5710388.post@n5.nabble.com> <501265C60200007800090E27@nat28.tlf.novell.com> <1343380992.326297641@f89.mail.ru> <5012863B0200007800090EC1@nat28.tlf.novell.com> <1343384738.6812.146.camel@zakaz.uk.xensource.com> <50128BD70200007800090F11@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <50128BD70200007800090F11@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , "Tim (Xen.org)" , Ian Campbell , Yuriy Logvinov List-Id: xen-devel@lists.xenproject.org Am 27.07.2012 12:38, schrieb Jan Beulich: >>>> On 27.07.12 at 12:25, Ian Campbell wrote: >> On Fri, 2012-07-27 at 11:14 +0100, Jan Beulich wrote: >>> The resulting string is correct, and the grep simply doesn't work >>> because you have a localized gcc. The addition of grep here was >>> done to support clang (see c/s 22985:d8ea33e7af7e, author >>> Cc-ed). It's not clear to me how to get around such translation >>> issues >> >> A judicious sprinkling of LANG=C or LC_ALL=C etc? > > Yuriy, could you give this a try? > >>> (Tim - could you explain what output clang generates that >>> made the use of grep necessary?), nor do I have a clue why the >>> sed invocation would complain about an unfinished command >> >> Perhaps one of the multibyte Russian characters contains a "!" which >> confuses non-UTF8 aware sed? > > But the grep should not have returned anything, hence none > of those characters would even be seen by sed. Plus UTF-8 > encodings of characters outside the ASCII range have their > high bits set on all resulting bytes (to avoid this very problem). The grep returns the "Configured with:..." string on my system which contains something like --with-pkgversion='Debian 4.4.5-8' resulting in the sed error, as the tail -1 won't return the gcc version line. Juergen -- Juergen Gross Principal Developer Operating Systems PDG ES&S SWE OS6 Telephone: +49 (0) 89 3222 2967 Fujitsu Technology Solutions e-mail: juergen.gross@ts.fujitsu.com Domagkstr. 28 Internet: ts.fujitsu.com D-80807 Muenchen Company details: ts.fujitsu.com/imprint.html