Need help fixing failing locale tests

Andrey Chernov ache at freebsd.org
Sun Nov 15 13:04:44 UTC 2015


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.

-- 
http://ache.vniz.net/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-testing/attachments/20151115/bbba738d/attachment.bin>


More information about the freebsd-testing mailing list