From owner-freebsd-ports@FreeBSD.ORG Sat May 12 04:46:48 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7EA2E16A400 for ; Sat, 12 May 2007 04:46:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD6713C455 for ; Sat, 12 May 2007 04:46:48 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6CFA31A3C19; Fri, 11 May 2007 21:47:34 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 93715513B7; Sat, 12 May 2007 00:46:47 -0400 (EDT) Date: Sat, 12 May 2007 00:46:47 -0400 From: Kris Kennaway To: Rong-en Fan Message-ID: <20070512044647.GB56427@xor.obsecurity.org> References: <46441124.3020602@gmx.de> <20070511065001.GA30678@xor.obsecurity.org> <46441745.4010100@gmx.de> <20070511071640.GA23490@xor.obsecurity.org> <1178926511.1140.9.camel@localhost> <20070511233908.GA36322@xor.obsecurity.org> <6eb82e0705112118x2bb79687ga037ad1f50042ed6@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6eb82e0705112118x2bb79687ga037ad1f50042ed6@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: "\[LoN\]Kamikaze" , Coleman Kane , freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: Xorg 7.2 index problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2007 04:46:48 -0000 On Sat, May 12, 2007 at 12:18:01PM +0800, Rong-en Fan wrote: > On 5/12/07, Kris Kennaway wrote: > >On Fri, May 11, 2007 at 05:35:11PM -0600, Coleman Kane wrote: > >> On Fri, 2007-05-11 at 03:16 -0400, Kris Kennaway wrote: > >> > On Fri, May 11, 2007 at 09:12:05AM +0200, [LoN]Kamikaze wrote: > >> > > Kris Kennaway wrote: > >> > > > On Fri, May 11, 2007 at 08:45:56AM +0200, [LoN]Kamikaze wrote: > >> > > >> # make index > >> > > >> Generating INDEX-6 - please wait..cut: stdin: Illegal byte > >sequence > >> > > >> "Makefile", line 32: warning: "/usr/bin/cut -f 1 -d '|' < > >/usr/ports/audio/mbrolavox/voices.conf" returned non-zero status > >> > > >> > >> > > >> Does anyone else have this problem? > >> > > > > >> > > > Do you have a nonstandard locale set, and does this warning also > >occur with CVS index? > >> > > > > >> > > > Kris > >> > > > >> > > My locale is en_GB.UTF-8. > >> > > >> > Probably the cause, I bet it would also give the warning with a CVS > >index. > >> > > >> > Kris > >> > >> I have the same error using en_US.UTF-8 > > > >s/error/warning/ > > > >There is probably lots of work needed to clean up the ports tree in > >the presence of non-default locales (there is a PR documenting some of > >this), so contact me if you are interested in working on it. > > I thought it was tr/cut/... needs to be fixed? > Correct me if I'm wrong :-) AFAIK tr/cut/... are behaving correctly with respect to the non-default locale. The issue is that they are being called with the (invalid) assumption that the locale is always the C locale (i.e. with the expectation that they should process their files as in the C locale). Kris