From owner-freebsd-current@freebsd.org Sun Nov 15 14:47:13 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 D89AAA2F578; Sun, 15 Nov 2015 14:47:13 +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 A92A91E88; Sun, 15 Nov 2015 14:47:12 +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 8825443BB2; Sun, 15 Nov 2015 08:47:09 -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> <564882A3.7060109@marino.st> <5648842E.3050203@freebsd.org> <5648853F.2050901@marino.st> <56488A76.1090502@freebsd.org> <56488E8C.9080901@marino.st> <56489932.1080504@freebsd.org> Cc: NGie Cooper , Craig Rodrigues , freebsd-current Current , "freebsd-testing@freebsd.org" Reply-To: marino@freebsd.org From: John Marino X-Enigmail-Draft-Status: N1110 Message-ID: <56489AEA.4060100@marino.st> Date: Sun, 15 Nov 2015 15:47:06 +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: <56489932.1080504@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 15 Nov 2015 15:40:19 +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 14:47:13 -0000 On 11/15/2015 3:39 PM, Andrey Chernov wrote: > As I already say, I don't want to insist on any particular point of view > in such area as human behavior. I just say that it is POLA violation > (even while it is upgrade) and we can let users decide by themselves, > what it best for them (without me at least). I am starting to think "POLA" as an acronym is subject to abuse. By this definition, *any* change would "astonish" a user (picturing the most incompetent user impossible too). POLA is meant for unreasonable and unexplained changes. I don't think tidying up locales for the first time in a decade is unreasonable or unexplained. Let's not dilute "POLA". It's pretty good but you can apply it to anything. >>> I tell about is not different text document encoding, but program >>> failure due to inability to set his 8859-1 locale. >> >> Please provide an example of such a program (in ports). > > See gettext-0.19.6/gettext-tools/configure, part started with > # Test for the usual locale name. > I don't have time to dig more such code now, but I remember I saw more > for sure. > >>> In any case it is related to the user behavior an various views on it. >>> They can be different and I see no point to insist on my particular view >>> at all. But... Programs configure soft-fails shows real danger here. >> >> and the impact of this is ... ? > > Various. It depends on for what reason program sense locale. If the ports framework is not overriding locale to "C" during the build then that's probably something that should be introduced. Ports should not be producing different results based on the configuration of the building machine at the time. Right? It's also good practice because C/POSIX never results in illegal sequence errors while locales such as UTF-8 easily can. John