Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2007 00:46:47 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Rong-en Fan <grafan@gmail.com>
Cc:        "\[LoN\]Kamikaze" <LoN_Kamikaze@gmx.de>, Coleman Kane <cokane@cokane.org>, freebsd-ports@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: Xorg 7.2 index problem
Message-ID:  <20070512044647.GB56427@xor.obsecurity.org>
In-Reply-To: <6eb82e0705112118x2bb79687ga037ad1f50042ed6@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 12, 2007 at 12:18:01PM +0800, Rong-en Fan wrote:
> On 5/12/07, Kris Kennaway <kris@obsecurity.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070512044647.GB56427>