When building glibc-2.10.1, `make check` flags tst-fgetwc as failing. I was
able to get it to pass with the following two changes:
In libio/tst-fgetwc.c, change the line:
if (setlocale (LC_ALL, "de_DE.utf8") == NULL)
if (setlocale (LC_ALL, "de_DE.UTF-8") == NULL)
and in libio/Makefile, add the line
tst-fgetwc-ENV = LOCPATH=$(common-objpfx)localedata' libio/Makefile
Subject: Re: New: tst-fgetwc is failing
I posted a patch for this bug to libc-alpha last month:
Fixed in git.
Subject: Re: tst-fgetwc is failing
The libio/Makefile part of the fix doesn't seem to have been applied, only
the libio/tst-fgetwc.c part.
I tried glibc from git (glibc-2_10-branch) today and it seems this error had not
been fixed at all.
The error has been fixed now:
Author: Ulrich Drepper <email@example.com>
Date: Tue Jun 16 07:48:27 2009 -0700
Run tst-fgetwc with necessary envvar.