From owner-freebsd-testing@freebsd.org Sun Nov 15 15:57:05 2015 Return-Path: Delivered-To: freebsd-testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC430A2F7A4 for ; Sun, 15 Nov 2015 15:57:04 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CCD9E1783 for ; Sun, 15 Nov 2015 15:57:04 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: by mailman.ysv.freebsd.org (Postfix) id C9B02A2F7A1; Sun, 15 Nov 2015 15:57:04 +0000 (UTC) Delivered-To: testing@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C923EA2F79E; Sun, 15 Nov 2015 15:57:04 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9784F1782; Sun, 15 Nov 2015 15:57:04 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from [192.168.1.22] (210.Red-81-38-187.dynamicIP.rima-tde.net [81.38.187.210]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id A7DD943BA5; Sun, 15 Nov 2015 09:57:00 -0600 (CST) Subject: Re: Need help fixing failing locale tests To: Andrey Chernov , marino@freebsd.org, Baptiste Daroussin References: <69242BD8-9010-47F0-9706-BE206376ECEA@gmail.com> <289892B6-EACE-4BDA-B838-D3DC750319DE@gmail.com> <56482FA9.2010803@marino.st> <56487973.5070803@freebsd.org> <20151115124656.GB93991@ivaldir.etoilebsd.net> <564880FA.5000009@freebsd.org> <564882A3.7060109@marino.st> <5648842E.3050203@freebsd.org> <5648853F.2050901@marino.st> <56488A76.1090502@freebsd.org> <56488E8C.9080901@marino.st> <56489932.1080504@freebsd.org> <56489AEA.4060100@marino.st> <56489DB4.5050000@freebsd.org> <5648A211.40703@marino.st> <5648A6DD.8020507@freebsd.org> Cc: NGie Cooper , Craig Rodrigues , freebsd-current Current , "freebsd-testing@freebsd.org" Reply-To: marino@freebsd.org From: John Marino Message-ID: <5648AB48.9070908@marino.st> Date: Sun, 15 Nov 2015 16:56:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <5648A6DD.8020507@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2015 15:57:05 -0000 On 11/15/2015 4:38 PM, Andrey Chernov wrote: > On 15.11.2015 18:17, John Marino wrote: >> >> For the traditional checks, It's ironic, DragonFly uses short locales >> like "fr_FR" which link to the approprioprate ISO8859 or UTF-8 locale. >> Bapt removed them to avoid a bike shed and if he had not done that, this >> gettext configure would not be an issue as "fr_FR" is the very first check. > > All parts are optional excepting language itself, so fr_FR is not short > enough, but fr is. From POSIX: > > language[_territory][.codeset][@modifier] "fr" (or "french") by itself isn't very useful, so IMO language_territory is the minimum. > But I dislike short locales due to their uncertainty and remember some > programs and shell scripts that attempts to parse locale name directly > by itself for reasons I don't remember now. Absolutely true about the uncertainty. It's just subjective. We did what we thought made sense but bapt recognized an impeding bikeshed and just did away with it. For some reason gettext-tools only cares about french and japanese (thus easily patched). Here's what it looks like on current DragonFly: http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/latest-per-pkg/gettext-tools-0.19.6.log Note the identified traditional french is "fr_FR" which maps to fr_FR.ISO8859-15 on DragonFly. It's a moot point now I guess. ISO8859-1 has returned to FreeBSD for western europe (probably forever). John