Hi Richard,

> After upgrading to Fedora 29, the glibc-langpack-fr locale is no
> longer installed by default.  This causes many tests to fail silently:
> 
> ./gnulib/tests/test-suite.log:FAIL: test-btowc1.sh
> ./gnulib/tests/test-suite.log:FAIL: test-btowc2.sh
> ./gnulib/tests/test-suite.log:FAIL: test-c-strcase.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbrtowc1.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbrtowc2.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbrtowc3.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbrtowc4.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs1.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs2.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs3.sh
> ./gnulib/tests/test-suite.log:FAIL: test-mbsrtowcs4.sh
> ./gnulib/tests/test-suite.log:FAIL: test-setlocale1.sh
> ./gnulib/tests/test-suite.log:FAIL: test-wcrtomb.sh
> 
> The failures are completely silent.  It seems as if about
> 6 months ago it used to print an error message:
> 
>   Skipping test: no traditional french locale is installed
> 
> But for some reason that is no longer printed:
> 
>   $ LC_ALL=fr_FR ./test-btowc 1
>   $ echo $?
>   1

I cannot reproduce this. Just installed a Fedora 29, configured and
ran a gnulib testdir created through
$ ./gnulib-tool --create-testdir --dir=../testdir-posix --with-tests 
--single-configure `./posix-modules`
and all tests pass, including these that you listed.

Can you provide these infos?

$ yum list --installed | grep glibc-langpack-fr

Expected: empty

$ locale -a | grep ^fr_FR

Expected:
fr_FR
fr_FR@euro
fr_FR.iso88591
fr_FR.iso88591@euro
fr_FR.utf8

$ grep LOCALE_FR config.status

S["LOCALE_FR_UTF8"]="fr_FR.UTF-8"
S["LOCALE_FR"]="fr_FR"

$ ldd test-btowc

Expected:
        linux-vdso.so.1
        libc.so.6 => /lib64/libc.so.6
        /lib64/ld-linux-x86-64.so.2

$ LC_ALL=fr_FR strace ./test-btowc 1

$ LC_ALL=fr_FR ltrace ./test-btowc 1

And of course the GCC command line options and relevant environment
variables that you used during the configure step.

Bruno


Reply via email to