On Fri, Feb 15, 2019 at 09:06:34PM +0000, Ken Moffat via lfs-dev wrote:
> 
> · gawk had no failures, but reported
> 
> %%%%%%%%%% Inadequate locale support: skipping charset tests.
> %%%%%%%%%% At least en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are 
> needed.
> 
>  If I've followed the book correctly, ja_JP.UTF-8 is not mentioned.
>  Usually, I install all locales, but after the recent additions I
>  decided to only use the minimum.
> 
>  I suppose that begs the question whether all the locales we've
>  added in the past are still needed, but I can't see a good way
>  to test that.
> 

On my current build I added ja_JP.UTF-8 and again only built the
minimal locales.  The gawk test results are not very informative:
various strings for test names such as 'arrayref' appear in
different places and there is merely the report that
  ALL TESTS PASSED.
Diffing the two logs,the following removals/additions occurred as a
result of adding ja_JP.UTF-8 -

-%%%%%%%%%% Inadequate locale support: skipping charset tests.
-%%%%%%%%%% At least en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are 
needed.

+make[2]: Entering directory '/building/gawk-4.2.1/test'
+======== Starting tests that can vary based on character set or locale support 
========
+**************************************************************************
+* Some or all of these tests may fail if you have inadequate or missing  *
+* locale support. At least en_US.UTF-8, fr_FR.UTF-8, ru_RU.UTF-8 and     *
+* ja_JP.UTF-8 are needed. The el_GR.iso88597 is optional but helpful.    *
+* However, if you see this message, the Makefile thinks you have what    *
+* you need ...                                                           *
+**************************************************************************
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+asort
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+asorti
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+backbigs1
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+backsmalls1
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+backsmalls2
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+fmttest
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+fnarydel
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+fnparydl
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+jarebug
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+lc_num1
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mbfw1
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mbprintf1
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mbprintf2
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mbprintf3
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mbprintf4
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mbprintf5
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+mtchi18n
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+nlstringtest
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+rebt8b2
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+rtlenmb
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+sort1
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+sprintfc
+make[2]: Leaving directory '/building/gawk-4.2.1/test'
+make[2]: Entering directory '/building/gawk-4.2.1/test'
+======== Done with tests that can vary based on character set or locale 
support ========
+make[2]: Leaving directory '/building/gawk-4.2.1/test'

Summary - another 22 tests were run, and passed.  I think this is
worth adding to the minimal locales:

localedef -c -i ja_JP -f UTF-8 ja_JP.UTF-8

ĸen
-- 
The beauty of reading a page of de Selby is that it leads one
inescapably to the conclusion that one is not, of all nincompoops,
the greates.            -- du Garbandier
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to