From owner-freebsd-stable@freebsd.org Tue Feb 20 23:07:41 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 426BCF0EB53 for ; Tue, 20 Feb 2018 23:07:41 +0000 (UTC) (envelope-from rumrunner@terraplane.org) Received: from nmsh5.e.nsc.no (nmsh5.e.nsc.no [148.123.160.199]) by mx1.freebsd.org (Postfix) with ESMTP id B9C707666A for ; Tue, 20 Feb 2018 23:07:40 +0000 (UTC) (envelope-from rumrunner@terraplane.org) Received: from terraplane.org (ti0027a400-1948.bb.online.no [88.88.110.169]) by nmsh5.nsc.no (8.15.2/8.15.2) with ESMTPS id w1KN7TtO003074 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Feb 2018 00:07:33 +0100 Received: from terraplane.org (localhost [127.0.0.1]) by terraplane.org (8.14.5/8.14.5) with ESMTP id w1KN8MSL072595 for ; Wed, 21 Feb 2018 00:08:22 +0100 (CET) (envelope-from rumrunner@terraplane.org) Received: (from rumrunner@localhost) by terraplane.org (8.14.5/8.13.8/Submit) id w1KN8MK5072594 for freebsd-stable@freebsd.org; Wed, 21 Feb 2018 00:08:22 +0100 (CET) (envelope-from rumrunner) Date: Wed, 21 Feb 2018 00:08:22 +0100 From: Eivind Nicolay Evensen To: freebsd-stable@freebsd.org Subject: Re: Locale problem updating 10.3 to 11.1 Message-ID: <20180220230822.GA72560@klump.hjerdalen.lokalnett> References: <20180218230251.GA60727@klump.hjerdalen.lokalnett> <20180219081129.GB62932@klump.hjerdalen.lokalnett> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180219081129.GB62932@klump.hjerdalen.lokalnett> X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 23:07:41 -0000 On Mon, Feb 19, 2018 at 09:11:29AM +0100, Eivind Nicolay Evensen wrote: > On Mon, Feb 19, 2018 at 12:33:26AM +0100, Trond Endrestøl wrote: > > On Mon, 19 Feb 2018 00:02+0100, Eivind Nicolay Evensen wrote: > > > > > Hello. > > > > > > After upgrading from 10.3 to 11.1 by building source (as of r329364), > > > I experienced some problems that seems to be related to locale. > > > > > > Using > > > > echo $LANG -- $LC_CTYPE > > > no_NO.ISO8859-1 -- no_NO.ISO8859-1 > > > > That's nb_NO.ISO8859-1. > > nb for norsk bokmål. > > Interesting, I had not noticed any nb_* in freebsd and can no longer > remember how I found no_NO. However, on 10.3 they seem to be the same: > > > ls -ld /usr/share/locale/n{o,b}*ISO* > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/nb_NO.ISO8859-1 > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/nb_NO.ISO8859-15 > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/no_NO.ISO8859-1 > drwxr-xr-x 2 root wheel 512 11 jan 2017 /usr/share/locale/no_NO.ISO8859-15 > > > diff -urN /usr/share/locale/n{o,b}_NO.ISO8859-1 > > > I'll recheck if they differ in 11.1. And indeed, there's nothing called no_NO any more in 11.1. Thanks for the hint. It's much appreciated. Problem is solved by using nb_NO.ISO8859-1 instead. This part of "20151108" in UPDATING should probably have been enough of a clue for me: Due to a bug in install(1) it is recommended to remove the ancient locales before running make installworld. However, since it was mentioned in a note starting with "Add support for unicode collation" I most likely didn't even read it since I'll never touch unicode. Regards -- Eivind