From owner-freebsd-current@freebsd.org Sun Nov 15 13:08:15 2015 Return-Path: Delivered-To: freebsd-current@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 408E8A27CD3; Sun, 15 Nov 2015 13:08:15 +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 0F7771270; Sun, 15 Nov 2015 13:08:14 +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 5E1E943BB2; Sun, 15 Nov 2015 07:08:12 -0600 (CST) Subject: Re: Need help fixing failing locale tests To: Andrey Chernov , 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> <20151115130009.GC93991@ivaldir.etoilebsd.net> <564882E1.5050404@freebsd.org> Cc: NGie Cooper , Craig Rodrigues , freebsd-current Current , "freebsd-testing@freebsd.org" Reply-To: marino@freebsd.org From: John Marino Message-ID: <564883B8.1060500@marino.st> Date: Sun, 15 Nov 2015 14:08:08 +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: <564882E1.5050404@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 15 Nov 2015 14:05:21 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 15 Nov 2015 13:08:15 -0000 On 11/15/2015 2:04 PM, Andrey Chernov wrote: > On 15.11.2015 16:00, Baptiste Daroussin wrote: >> On Sun, Nov 15, 2015 at 03:56:26PM +0300, Andrey Chernov wrote: >>> On 15.11.2015 15:46, Baptiste Daroussin wrote: >>>> On Sun, Nov 15, 2015 at 03:24:19PM +0300, Andrey Chernov wrote: >>>>> On 15.11.2015 10:09, John Marino wrote: >>>>> ISO8859-1 locales are legacy even if obsoleted in modern world (I agree >>>>> with that). Lots of ports (even at configure stage!) have checks for >>>>> them. Since we generate locales from CLDR now, it will be no cost to >>>>> bring all 8859-1 back to not violate POLA and not fix every failing port. >>>>> >>>> Exp-run have been made and no ports were failing with the removed locales. >>> >>> There is soft-fail, configure just marks that locales are not supported >>> and use "C". Sorry I don't remember port names where I saw it right now >>> and don't have a time to search for them right now too. Soft-fails (like >>> in tcl with nl_langinfo) are almost impossible to detect excepting >>> specific situation happens or source code inspection. Do we ever need >>> them when there is no harm to keep 8859-1 locales? >> >> Is it ok if I readd those locales as aliases on 8859-15? > > It is hacking solution leads to wrong collating order and character > classes. It is better to generate true 8859-1 just in the same way you > already do for 8859-15. > > BTW, I can't check right now, but in case 8859-5 is removed too, it is > better to restore it, it was used in Suns as their standard Russian > encoding. > DragonFly: muscles# locale -a | grep 8859-5 uk_UA.ISO8859-5 be_BY.ISO8859-5 ru_RU.ISO8859-5 sr_Cyrl_RS.ISO8859-5 I agree that if -1 is brought back, it needs to be changed at the charset.xml level. At that point FreeBSD and DragonFly will diverge. I also agree using ports as justification for keeping -1 in western europe is invalid (as in, it's not causing problems in ports) John