From owner-freebsd-current@FreeBSD.ORG Fri Nov 4 06:50:00 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C16A8106564A; Fri, 4 Nov 2011 06:50:00 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 733B28FC1C; Fri, 4 Nov 2011 06:50:00 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1RMDbD-0006Gx-3H>; Fri, 04 Nov 2011 07:49:59 +0100 Received: from e178008245.adsl.alicedsl.de ([85.178.8.245] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1RMDbC-0000Bi-UH>; Fri, 04 Nov 2011 07:49:59 +0100 Message-ID: <4EB38B10.8090003@zedat.fu-berlin.de> Date: Fri, 04 Nov 2011 07:49:52 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111030 Thunderbird/7.0.1 MIME-Version: 1.0 To: Jeremy Chadwick References: <4EB312E4.2010904@zedat.fu-berlin.de> <20111103224858.GA2683@icarus.home.lan> In-Reply-To: <20111103224858.GA2683@icarus.home.lan> X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6570F957B915DC33953D9F57" X-Originating-IP: 85.178.8.245 Cc: Current FreeBSD , FreeBSD Stable Mailing List Subject: Re: FreeBSD 10.0-CURRENT/amd64: Weirdness with LOCALE settings: ghostswitching in csh? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2011 06:50:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6570F957B915DC33953D9F57 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 11/03/11 23:48, schrieb Jeremy Chadwick: > On Thu, Nov 03, 2011 at 11:17:08PM +0100, O. Hartmann wrote: >> Hello. >> I realised something weird in FreeBSD 10.-CURRENT/amd64 (CLANG >> compiled), build as from today (buildworld). >> >> Working the whole day coding some pyhton scripts and committing the co= de >> to my subversion server (most recent subversion from the ports >> collection, the server is a FreeBSD 9.0-RC1/amd64 box, also system >> compiled with CLANG, most recent as compiled world of today), suddenly= , >> oy of the blue, trying again to commit I get this error: >> >> svn: warning: cannot set LC_CTYPE locale >> svn: warning: environment variable LC_CTYPE is de_DE.ISO-8859-1 >> svn: warning: please check that your locale name is correct >> >> >> Checking csh shell setting with 'locale": >> LANG=3D >> LC_CTYPE=3D"C" >> LC_COLLATE=3D"C" >> LC_TIME=3D"C" >> LC_NUMERIC=3D"C" >> LC_MONETARY=3D"C" >> LC_MESSAGES=3D"C" >> LC_ALL=3D >> >> >> Checking my settings from /etc/csh.cshrc and ./.cshrc or .login reveal= s >> localised settings for some of the locales as I need those: >> >> (set in $HOME/.cshrc) >> setenv LC_CTYPE "de_DE.ISO-8859-1" >> setenv LC_TIME "de_DE.ISO-8859-1" >> setenv LC_MONETARY "de_DE.ISO-8859-1" >> >> What is going on? >> >> I realised this behaviour now several times, first time I thought I di= d >> something and I couldn't remember, but this time, only two terminal >> windows were opened and the whole day committing data to the repositor= y >> wasn't an issue. >> >> Is there an explanation for this? >=20 > It sounds like a problem specific to the "client end", meaning your > -CURRENT box. If that's the case: shouldn't this mail have gone to > freebsd-current@ instead of freebsd-stable@ ? What am I missing? Mea culpa, mea culpa, mea maxima culpa! It was intented to send the mail to CURRENT. Sorry, missed the listentry by one row ... Can you please so kind and show mercy? >=20 > As for your problem: your locale looks incorrect. It's > "de_DE.ISO8859-1". Note that yours has an extra hyphen, which probably= > explains the error (sort of). >=20 > $ ls -ld /usr/share/locale/de_DE* > drwxr-xr-x 2 root wheel 512 Sep 28 14:36 /usr/share/locale/= de_DE.ISO8859-1/ > drwxr-xr-x 2 root wheel 512 Sep 28 14:36 /usr/share/locale/= de_DE.ISO8859-15/ > drwxr-xr-x 2 root wheel 512 Sep 28 14:36 /usr/share/locale/= de_DE.UTF-8/ >=20 > As for the fact that it's "random": I cannot explain why a sub-shell > might get spawned in some cases but not others. I corrected this. Sorry. I ffel a bit confused, since sometimes it is ISO-8859-1 and sometimes ISO8859-1. I got confused again. After correcting that, the locale variables has been set correctly. I will check now wether this also influences this weird random behaviour.= Thank you very much. Regards, Oliver --------------enig6570F957B915DC33953D9F57 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOs4sWAAoJEOgBcD7A/5N8oUwH/2RdEWbUiDCfa3tpZC0863n4 L6EIN60QoQiYiqrQ7FHGNYVVv+MltwlpLo6oeuidvPVu3YEYaXjrXZGbiaK1c2RR JIJPC1LKc+xRu2Dh9bWmk+u3zZ0E23DwEbMcQ5nxSpOtu6GlDYD5jjEkhZH5cTod gMiu0Eiz97YOafn7/qbrANKcBuED8+/GjqAZbiua4JWx/XZS7Nb/08ijmavB5vjh imLDtJMR9suX6z4LCgVqjGpSL3ogpdj/zppXd+y4yYY0bc8xDFwJ4zh9JmRsm1zQ Fq++zNOKPKQllPJeg06amRp508GPm/VU83a/ArYqt/9wrHoX93LPLYhJYH4DNG8= =mGWT -----END PGP SIGNATURE----- --------------enig6570F957B915DC33953D9F57--