When the nls USE flag is set it emerges just fine. Here is the error message: [...] i586-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I./include -D_REENTRANT -D_THREAD_SAFE -DSYSCONFDIR=\"/etc\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -march=i586 -mtune=k6-2 -O2 -fomit-frame-pointer -pipe -I./../lib -D_GNU_SOURCE -I.././intl -c callbacks.c In file included from /usr/include/glib-2.0/glib/gi18n.h:23, from ./include/messages.h:9, from actions.c:37: /usr/include/libintl.h:40: error: parse error before "const" /usr/include/libintl.h:44: error: parse error before "const" /usr/include/libintl.h:51: error: parse error before "const" /usr/include/libintl.h:60: error: parse error before "unsigned" /usr/include/libintl.h:66: error: parse error before "unsigned" /usr/include/libintl.h:72: error: parse error before "unsigned" /usr/include/libintl.h:81: error: parse error before "const" /usr/include/libintl.h:85: error: parse error before "const" /usr/include/libintl.h:90: error: parse error before "const" actions.c: In function `process_system_retval': actions.c:121: warning: assignment discards qualifiers from pointer target type actions.c:126: warning: assignment discards qualifiers from pointer target type actions.c: In function `edit_action_dialog': actions.c:336: warning: initialization discards qualifiers from pointer target type make[2]: *** [actions.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/.tmp/portage/gliv-1.9.2/work/gliv-1.9.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/.tmp/portage/gliv-1.9.2/work/gliv-1.9.2' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info: Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-ck7 i586) ================================================================= System uname: 2.6.11-ck7 i586 AMD-K6(tm) 3D processor Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.5-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-march=i586 -mtune=k6-2 -O2 -fomit-frame-pointer -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/xdm /etc/gconf /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d" CXXFLAGS="-march=i586 -mtune=k6-2 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/home/.tmp/distfiles" FEATURES="autoconfig digest distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://mirror.pudas.net/gentoo" LANG="fi_FI.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/.tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib alsa apm avi berkdb bitmap-fonts bmp cdparanoia crypt dga dillo divx4linux dvd dvdread emboss encode fam fbdev fla flac foomaticdb fortran freetype gdbm gif glut gnome gpm gstreamer gtk gtk2 imap imlib ithreads javascript jikes jpeg libcaca libg++ libwww live lua mad mikmod mmx mng mozilla mp3 mpeg mplayer mysql ncurses network nptl nptlonly ogg oggvorbis opengl pam perl png python qt quicktime readline real rtc sdl slang spell ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x vorbis win32codecs xanim xgetdefault xine xml xml2 xv xvid xvmc zlib video_cards_mach64 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Same issue here with 1.9.3.
This should be fixed with 1.9.4 messages.h is appropriately using #ifdef blocks for NLS code.
Indeed, it is fixed in 1.9.4. I am marking 1.9.4 x86 stable since it's been available for more than a month, we have no other open bugs about gliv and it works ok here. Remaining unstable ebuilds were pruned - that should take care of this bug. Thanks!