When glibc is emerged with maketest and nls the it fails with. This was tested with and without CFLAGS set. The failed test result can be found in the /usr/tmp/portage/glibc-2.3.4.20040808-r1/work/build/iconvdata/iconv-test.out file line test data: ISO-2022-JP-3 -> UTF8 OK/OK -> ISO-2022-JP-3 OK/FAILED Reproducible: Always Steps to Reproduce: 1. set nls and maketest use flags 2. emerge glibc Actual Results: GCONV_PATH=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/iconvdata LC_ALL=C /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/math:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/dlfcn:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/nss:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/nis:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/rt:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/resolv:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/crypt:/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/linuxthreads /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/iconvdata/bug-iconv3 > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/iconvdata/bug-iconv3.out /bin/sh -e run-iconv-test.sh /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/iconvdata/iconv-test.out make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/iconvdata/iconv-test.out] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/iconvdata' make[1]: *** [iconvdata/tests] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3' make: *** [check] Error 2 !!! ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed. !!! Function do_makecheck, Line 226, Exitcode 2 !!! (no error message) Expected Results: conversion of UTF8 string back to ISO-2022-JP-3 in test case The following link apears to be the same problem http://sources.redhat.com/ml/libc-hacker/2004-08/msg00023.html probably not relivant but Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.26-3um) ================================================================= System uname: 2.4.26-3um i686 UML Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://mirror.gentoo.gr.jp" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="X509 apache2 apm arts avi berkdb bitmap-fonts ca cjk crypt cups encode f77 foomaticdb gdbm gif gpm hardened idea imlib jpeg kde ldap libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl skey slang spell ssl svga tcpd truetype vhosts x86 xml2 xmms xprint xv zlib"
*** This bug has been marked as a duplicate of 56898 ***