On Sun, May 03, 2020 at 04:18:57AM +0100, Ken Moffat via lfs-dev wrote:
> I'm building with LFS as at 25th April.  My previous build was in
> early April, and I think this is the first time I've seen a failure
> in the man-db tests.  With man-db-2.9.1 :
> 
> FAIL: man-missing-locales
> 
> and src/tests/test-suite.log has:
> 
> FAIL: man-missing-locales     
> =========================
> 
> col: failed on line 319: Invalid or incomplete multibyte or wide character
> man: command exited with status 127: LC_CTYPE=en_US.UTF-8 col -b -p -x | sed 
> -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'
>   FAIL: missing locales
> FAIL man-missing-locales (exit status: 1)
> 
> Given that things have changed since my previous build, is anyone
> else seeing this ?  I suspect the error might be "mine, all mine",
> so I'm reluctant to add to the noise by reporting iti upstream
> unless it really is common.  Looking at my glibc log I did
> apparently install the en_US.UTF-8 locale.
> 
> ĸen

Update: I'm doing a fresh build to look at the test failures in this
and in bison (and also to make sure I've fixed my own screw-up in
removing the symlinked headers before rebuilding util-linux).

Got to bison, failures as before.  First is

131. diagnostics.at:107: testing Warnings ...
./diagnostics.at:107: LC_ALL="$locale"  bison -fcaret --color=debug -Wall 
input.y
--- experr      2020-05-03 23:20:06.028040360 +0000
+++ /building/bison-3.5.4/tests/testsuite.dir/at-groups/131/stderr      
2020-05-03 23:20:06.057040734 +0000
@@ -1,3 +1,4 @@
+/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
 input.y:9.12-14: <warning>warning:</warning> symbol FOO redeclared 
[<warning>-Wother</warning>]
     9 | %token FOO <warning>FOO</warning> FOO
       |            <warning>^~~</warning>
131. diagnostics.at:107: 131. Warnings (diagnostics.at:107): FAILED 
(diagnostics.at:107)

So, bothi bison and man-db test failures are for en_US.{UTF-8,utf8}
variants.  The capitalized version is definitely installed, accoding
to my log from glibc.

On the system completed on Sunday, from which I am building the new
test one, I can do things like:

ken@deluxe ~ $echo $LC_ALL
en_GB.UTF-8
ken@deluxe ~ $export LC_ALL=en_US.UTF-8  && date
Mon 04 May 2020 02:02:15 AM BST
ken@deluxe ~ $export LC_ALL=en_US.utf8  && date
Mon 04 May 2020 02:02:23 AM BST
ken@deluxe ~ $export LC_ALL=fr_FR.utf8  && date
lun. 04 mai 2020 02:02:50 BST

(that latter is just to prove that something changes)

BUT in chroot I can only set the locale to C or POSIX:

root in chroot /# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

root in chroot /# export LC_ALL=en_US.UTF-8 && date
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such 
file or directory
Mon May  4 00:48:39 UTC 2020
root in chroot /# export LC_ALL=fr_FR.UTF-8 && date
bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8): No such 
file or directory
Mon May  4 00:48:52 UTC 2020
root in chroot /# export LC_ALL=en_US.utf8 && date
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
Mon May  4 00:50:01 UTC 2020
root in chroot /# export LC_ALL=en_US.iISO-8859-1 && date
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.ISO-8859-1): No 
such file or directory
Mon May  4 00:50:46 UTC 2020
root in chroot /# export LC_ALL=C && date
Mon May  4 00:51:16 UTC 2020
root in chroot /# export LC_ALL=C.UTF-8 && date
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file 
or directory
Mon May  4 00:51:27 UTC 2020
root in chroot /# export LC_ALL=POSIX && date
Mon May  4 00:51:37 UTC 2020

Puzzled.

From the test logs for the complited build I can see PASS against
'utf8' in grep, make, Python (and a fail in acl, but I expect acl to
fail).

ĸen
-- 
                 See You Later, Holy Poppadom!
                    -- Red Dwarf, The Promised Land
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to