x11-wm/ion3-20051023-r1 fails emerge on my environment while mod_statusbar/ion-statusd/ion-statusd.c because it uses 'LC_ALL' without '#include <locale.h>'. My emerge info is as follows; Portage 2.0.53_rc6 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.13-gentoo-r4 x86_64) ================================================================= System uname: 2.6.13-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r1, 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp" LINGUAS="ja en" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acl alsa arts avi berkdb bitmap-fonts bmp bonobo bzlib canna cdparanoia cdr chasen cjk crypt cscope cups curl doc dv dvdr eds emboss emul-linux-x86 encode esd fam flash font-server foomaticdb fortran gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww linguas_ja lzw lzw-tiff m17n-lib mad mbox mikmod milter mime mng motif mozilla mp3 mpeg mule ncurses nls nptl objc ogg oggvorbis opengl pam pcre pdflib perl php png postgres python qt quicktime readline samba sdk sdl slang speex spell ssl svg symlink tcltk tcpd tiff truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xml xml2 xmms xpm xv zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS
Please try ion3-20051029. If you have the same problem then please attach the output from emerge, including the full compiler error message. Thanks, Tom
I tried ion3-20051029, but the same result as follows; x86_64-pc-linux-gnu-gcc -pipe -W -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wparentheses -pedantic -Wuninitialized -DCF_NO_XINERAMA -DCF_XFREE86_TEXTPROP_BUG_WORKAROUND -DETCDIR=\"/etc/X11/ion3\" -DSHAREDIR=\"/usr/share/ion3\" -DEXTRABINDIR=\"/usr/libexec/ion3/bin\" -DMODULEDIR=\"/usr/lib64/ion3/mod\" -DLCDIR=\"/usr/lib64/ion3/lc\" -DLOCALEDIR=\"/usr/share/locale\" -I../.. -I../.. -I../.. -DCF_HAVE_VA_COPY -c ion-statusd.c -o ion-statusd.o cc1: warning: -Wuninitialized is not supported without -O ion-statusd.c: In function `main': ion-statusd.c:146: warning: implicit declaration of function `setlocale' ion-statusd.c:146: error: `LC_ALL' undeclared (first use in this function) ion-statusd.c:146: error: (Each undeclared identifier is reported only once ion-statusd.c:146: error: for each function it appears in.) ion-statusd.c:146: warning: comparison between pointer and integer make[2]: *** [ion-statusd.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/ion3-20051029/work/ion-3ds-20051029/mod_statusbar/ion-statusd' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/ion3-20051029/work/ion-3ds-20051029/mod_statusbar' make: *** [subdirs] Error 2 My gcc version is 3.4.4-r1 and glibc version is 2.3.5-r3. If more information is needed, please tell me.
OK, thanks for the report. I've added a patch that should fix the problem and sent it upstream too. Please re-open this bug if the problem still occurs.