Sources Bugzilla – Bug 10369
tst_mblen unexpectedly fails
Last modified: 2009-10-30 06:23:40 UTC
I'm trying to build glibc-2.10.1. Configure and make run fine, but make check doesn't. I get the following error message: GCONV_PATH=/home/booleandomain/tmp/lfs/sources/glibc-build/iconvdata LC_ALL=C LOCPATH=/home/booleandomain/tmp/lfs/sources/glibc-build/localedata /home/booleandomain/tmp/lfs/sources/glibc-build/elf/ld-linux-x86-64.so.2 --library-path /home/booleandomain/tmp/lfs/sources/glibc-build:/home/booleandomain/tmp/lfs/sources/glibc-build/math:/home/booleandomain/tmp/lfs/sources/glibc-build/elf:/home/booleandomain/tmp/lfs/sources/glibc-build/dlfcn:/home/booleandomain/tmp/lfs/sources/glibc-build/nss:/home/booleandomain/tmp/lfs/sources/glibc-build/nis:/home/booleandomain/tmp/lfs/sources/glibc-build/rt:/home/booleandomain/tmp/lfs/sources/glibc-build/resolv:/home/booleandomain/tmp/lfs/sources/glibc-build/crypt:/home/booleandomain/tmp/lfs/sources/glibc-build/nptl /home/booleandomain/tmp/lfs/sources/glibc-build/localedata/tst_mblen > /home/booleandomain/tmp/lfs/sources/glibc-build/localedata/tst_mblen.out make[2]: *** [/home/booleandomain/tmp/lfs/sources/glibc-build/localedata/tst_mblen.out] Error 1 make[2]: Leaving directory `/home/booleandomain/tmp/lfs/sources/glibc-2.10.1/localedata' make[1]: *** [localedata/tests] Error 2 make[1]: Leaving directory `/home/booleandomain/tmp/lfs/sources/glibc-2.10.1' make: *** [check] Error 2 This is the content of file localedata/tst_mblen.out: mblen:de_DE.ISO-8859-1:1:1:2:F:the return value is different from an expected value mblen:de_DE.ISO-8859-1:2:1:2:S:PASSED mblen:de_DE.ISO-8859-1:3:1:2:S:PASSED mblen:de_DE.ISO-8859-1:4:1:2:S:PASSED mblen:de_DE.ISO-8859-1:5:1:2:S:PASSED mblen:de_DE.ISO-8859-1:6:1:3:S:PASSED mblen:en_US.ANSI_X3.4-1968:1:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:2:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:3:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:4:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:5:1:2:S:PASSED mblen:en_US.ANSI_X3.4-1968:6:1:3:S:PASSED mblen:ja_JP.EUC-JP:1:1:2:F:the return value is different from an expected value mblen:ja_JP.EUC-JP:2:1:2:F:the return value is different from an expected value mblen:ja_JP.EUC-JP:3:1:2:F:the return value is different from an expected value mblen:ja_JP.EUC-JP:4:1:1:S:PASSED mblen:ja_JP.EUC-JP:4:1:2:S:PASSED mblen:ja_JP.EUC-JP:5:1:2:S:PASSED mblen:ja_JP.EUC-JP:6:1:3:S:PASSED I run configure with the following parameters: --prefix=/tools \ --build=${LFS_BUILD} \ --host=${LFS_HOST} \ --with-headers=/tools/include \ --enable-kernel=2.6 \ CFLAGS="${CFLAGS} -U_FORTIFY_SOURCE" where: - LFS_BUILD=x86_64-pc-linux-gnu - LFS_HOST=x86_64-pc-linux-gnu - CFLAGS="-O2 -march=core2 -Wl,--dynamic-linker,/tools/lib/ld-linux-x86-64.so.2" I set -U_FORTIFY_SOURCE because otherwise I get a make error. I also edited file libio/tst-fgetwc.c in the source directory because otherwise I run into bug 10196: cp libio/tst-fgetwc.c libio/tst-fgetwc.c.orig sed -e "s/de_DE.utf8/de_DE.UTF-8/" libio/tst-fgetwc.c.orig > libio/tst-fgetwc.c
*** This bug has been marked as a duplicate of 333 ***