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) to 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: http://sourceware.org/ml/libc-alpha/2009-04/msg00004.html
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: commit eae3208e249edda25548fa7680d01193d7515e0c Author: Ulrich Drepper <drepper@redhat.com> Date: Tue Jun 16 07:48:27 2009 -0700 Run tst-fgetwc with necessary envvar.