I got the following compiling error when I emerge xmms: (This is the end of the compiling error. Full compiling information is attached below this error message.) make all-recursive make[1]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' Making all in po make[2]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/po' PATH=../src:$PATH /usr/bin/xgettext --default-domain=gtk+ --directory=.. \ --add-comments --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ && test ! -f gtk+.po \ || ( rm -f ./gtk+.pot \ && mv gtk+.po ./gtk+.pot ) make[2]: *** No rule to make target `zh.gmo', needed by `all-yes'. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-libs/gtk+-1.2.10-r11 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. AntiquePC ~ # emerge xmms Calculating dependencies ...done! >>> emerge (1 of 11) x11-libs/gtk+-1.2.10-r11 to / >>> md5 files ;-) gtk+-1.2.10-r11.ebuild >>> md5 files ;-) gtk+-2.6.10.ebuild >>> md5 files ;-) gtk+-1.2.10-r10.ebuild >>> md5 files ;-) gtk+-2.6.8.ebuild >>> md5 files ;-) gtk+-2.6.7.ebuild >>> md5 files ;-) gtk+-2.8.3-r1.ebuild >>> md5 files ;-) files/digest-gtk+-2.6.7 >>> md5 files ;-) files/digest-gtk+-2.6.8 >>> md5 files ;-) files/gtk+-2.8.0-multilib.patch >>> md5 files ;-) files/digest-gtk+-1.2.10-r10 >>> md5 files ;-) files/digest-gtk+-1.2.10-r11 >>> md5 files ;-) files/gtkrc >>> md5 files ;-) files/gtk+-1.2-locale_fix.patch >>> md5 files ;-) files/gtk+-1.2.10-m4.patch >>> md5 files ;-) files/digest-gtk+-2.8.3-r1 >>> md5 files ;-) files/digest-gtk+-2.6.10 >>> md5 files ;-) files/gtk+-2.8.3-misc_fixes.patch >>> md5 files ;-) files/gtk+-2.2.1-disable_icons_smooth_alpha.patch >>> md5 files ;-) files/gtk+-2.4.9-ppc64.patch >>> md5 src_uri ;-) gtk+-1.2.10.tar.gz >>> md5 src_uri ;-) gtk+-1.2.10-r8-gentoo.diff.bz2 >>> Unpacking source... >>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work * Applying gtk+-1.2.10-m4.patch ... [ ok ] * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ... [ ok ] * Applying gtk+-1.2-locale_fix.patch ... [ ok ] * uclibctoolize() is depreciated, please just use libtoolize()! * Running elibtoolize in: gtk+-1.2.10 * Applying portage-1.3.4.patch ... * Applying sed-1.3.4.patch ... * Applying uclibc-ltconf-1.3.0.patch ... >>> Source unpacked. * econf: updating gtk+-1.2.10/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gtk+-1.2.10/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i586-pc-linux-gnu --sysconfdir=/etc --with-xinput=xfree --with-x --enable-debug=minimum creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i586-pc-linux-gnu checking build system type... i586-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) works... yes checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/i586-pc-linux-gnu/bin/ld checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i586-pc-linux-gnu checking whether build environment is sane... yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) works... yes checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for gcc option to accept ANSI C... none needed checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for gawk... gawk checking for perl5... no checking for perl... perl checking for indent... no checking whether make is GNU Make... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking for libintl.h... yes checking for dgettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... zh checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.8... yes checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for XShapeCombineMask in -lXext... yes checking for XConvertCase in -lX11... yes checking for XUnregisterIMInstantiateCallback in -lX11... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking X11/extensions/XShm.h... yes checking need -DX_LOCALE... no checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking return type of signal handlers... void checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for getresuid... yes checking for uid_t in sys/types.h... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... yes checking if iswalnum() and friends are properly defined... yes updating cache ./config.cache creating ./config.status creating gtk+.spec creating docs/gtk-config.1 creating Makefile creating gtk-config creating po/Makefile.in creating docs/Makefile creating gdk/Makefile creating gtk/Makefile creating gtk/gtkfeatures.h creating gdk.pc creating gtk+.pc creating config.h make all-recursive make[1]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' Making all in po make[2]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/po' PATH=../src:$PATH /usr/bin/xgettext --default-domain=gtk+ --directory=.. \ --add-comments --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ && test ! -f gtk+.po \ || ( rm -f ./gtk+.pot \ && mv gtk+.po ./gtk+.pot ) make[2]: *** No rule to make target `zh.gmo', needed by `all-yes'. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-libs/gtk+-1.2.10-r11 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
include your emerge info, do you have nls useflag set?
I have nls useflag set. AntiquePC ~ # emerge xmms Calculating dependencies ...done! >>> emerge (1 of 11) x11-libs/gtk+-1.2.10-r11 to / >>> md5 files ;-) gtk+-1.2.10-r11.ebuild >>> md5 files ;-) gtk+-2.6.10.ebuild >>> md5 files ;-) gtk+-1.2.10-r10.ebuild >>> md5 files ;-) gtk+-2.6.8.ebuild >>> md5 files ;-) gtk+-2.6.7.ebuild >>> md5 files ;-) gtk+-2.8.3-r1.ebuild >>> md5 files ;-) files/digest-gtk+-2.6.7 >>> md5 files ;-) files/digest-gtk+-2.6.8 >>> md5 files ;-) files/gtk+-2.8.0-multilib.patch >>> md5 files ;-) files/digest-gtk+-1.2.10-r10 >>> md5 files ;-) files/digest-gtk+-1.2.10-r11 >>> md5 files ;-) files/gtkrc >>> md5 files ;-) files/gtk+-1.2-locale_fix.patch >>> md5 files ;-) files/gtk+-1.2.10-m4.patch >>> md5 files ;-) files/digest-gtk+-2.8.3-r1 >>> md5 files ;-) files/digest-gtk+-2.6.10 >>> md5 files ;-) files/gtk+-2.8.3-misc_fixes.patch >>> md5 files ;-) files/gtk+-2.2.1-disable_icons_smooth_alpha.patch >>> md5 files ;-) files/gtk+-2.4.9-ppc64.patch >>> md5 src_uri ;-) gtk+-1.2.10.tar.gz >>> md5 src_uri ;-) gtk+-1.2.10-r8-gentoo.diff.bz2 >>> Unpacking source... >>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work * Applying gtk+-1.2.10-m4.patch ... [ ok ] * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ... [ ok ] * Applying gtk+-1.2-locale_fix.patch ... [ ok ] * uclibctoolize() is depreciated, please just use libtoolize()! * Running elibtoolize in: gtk+-1.2.10 * Applying portage-1.3.4.patch ... * Applying sed-1.3.4.patch ... * Applying uclibc-ltconf-1.3.0.patch ... >>> Source unpacked. * econf: updating gtk+-1.2.10/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gtk+-1.2.10/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i586-pc-linux-gnu --sysconfdir=/etc --with-xinput=xfree --with-x --enable-debug=minimum creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i586-pc-linux-gnu checking build system type... i586-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) works... yes checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/i586-pc-linux-gnu/bin/ld checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/i586-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/i586-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i586-pc-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i586-pc-linux-gnu checking whether build environment is sane... yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) works... yes checking whether the C compiler (gcc -O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for gcc option to accept ANSI C... none needed checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for gawk... gawk checking for perl5... no checking for perl... perl checking for indent... no checking whether make is GNU Make... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking for libintl.h... yes checking for dgettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... zh checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.8... yes checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for XShapeCombineMask in -lXext... yes checking for XConvertCase in -lX11... yes checking for XUnregisterIMInstantiateCallback in -lX11... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking X11/extensions/XShm.h... yes checking need -DX_LOCALE... no checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking return type of signal handlers... void checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for getresuid... yes checking for uid_t in sys/types.h... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... yes checking if iswalnum() and friends are properly defined... yes updating cache ./config.cache creating ./config.status creating gtk+.spec creating docs/gtk-config.1 creating Makefile creating gtk-config creating po/Makefile.in creating docs/Makefile creating gdk/Makefile creating gtk/Makefile creating gtk/gtkfeatures.h creating gdk.pc creating gtk+.pc creating config.h make all-recursive make[1]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' Making all in po make[2]: Entering directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+- 1.2.10/po' PATH=../src:$PATH /usr/bin/xgettext --default-domain=gtk+ --directory=.. \ --add-comments --keyword=_ --keyword=N_ \ --files-from=./POTFILES.in \ && test ! -f gtk+.po \ || ( rm -f ./gtk+.pot \ && mv gtk+.po ./gtk+.pot ) make[2]: *** No rule to make target `zh.gmo', needed by `all-yes'. Stop. make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+- 1.2.10/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' make: *** [all-recursive-am] Error 2 !!! ERROR: x11-libs/gtk+-1.2.10-r11 failed. !!! Function src_compile, Line 54, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
does your LINGUAS variable have zh in it?
------- Additional Comments From allanonjl@gentoo.org 2005-11-06 06:59 PDT ------- does your LINGUAS variable have zh in it? Yes, The following is the USE flag I set: CFLAGS="-O2 -mcpu=pentium-mmx -march=pentium-mmx -pipe" CHOST="i586-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" AUTOCLEAN="yes" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="-kde cjk nls java hal howl ldap nsplugin" LINGUAS="en zh"
putting: strip-linguas -i po into src_unpack will most likely fix this issue. Could you please test and report back? if true, i'll commit the fix. Thanks!
How do I do it? Where is src_unpack? Thanks. ------- Additional Comments From allanonjl@gentoo.org 2005-11-17 08:56 PDT ------- putting: strip-linguas -i po into src_unpack will most likely fix this issue. Could you please test and report back? if true, i'll commit the fix. Thanks!
myhost / # emerge flightgear Calculating dependencies ...done! >>> emerge (1 of 5) x11-libs/gtk+-1.2.10-r11 to / >>> md5 files ;-) gtk+-1.2.10-r11.ebuild >>> md5 files ;-) gtk+-2.8.6-r1.ebuild >>> md5 files ;-) gtk+-2.8.7.ebuild >>> md5 files ;-) gtk+-1.2.10-r10.ebuild >>> md5 files ;-) gtk+-2.6.10-r1.ebuild >>> md5 files ;-) gtk+-2.6.8.ebuild >>> md5 files ;-) files/digest-gtk+-2.6.8 >>> md5 files ;-) files/digest-gtk+-2.8.7 >>> md5 files ;-) files/digest-gtk+-2.6.10-r1 >>> md5 files ;-) files/gtk+-2.8.0-multilib.patch >>> md5 files ;-) files/digest-gtk+-1.2.10-r10 >>> md5 files ;-) files/digest-gtk+-1.2.10-r11 >>> md5 files ;-) files/gtkrc >>> md5 files ;-) files/gtk+-1.2-locale_fix.patch >>> md5 files ;-) files/gtk+-1.2.10-m4.patch >>> md5 files ;-) files/gtk+-2.8.6-freebsd.patch >>> md5 files ;-) files/digest-gtk+-2.8.6-r1 >>> md5 files ;-) files/gtk+-2-xpm_loader.patch >>> md5 files ;-) files/gtk+-2.2.1-disable_icons_smooth_alpha.patch >>> md5 files ;-) files/gtk+-2.4.9-ppc64.patch >>> md5 src_uri ;-) gtk+-1.2.10.tar.gz >>> md5 src_uri ;-) gtk+-1.2.10-r8-gentoo.diff.bz2 >>> Unpacking source... >>> Unpacking gtk+-1.2.10.tar.gz to /var/tmp/portage/gtk+-1.2.10-r11/work * Applying gtk+-1.2.10-m4.patch ... [ ok ] * Applying gtk+-1.2.10-r8-gentoo.diff.bz2 ... [ ok ] * Applying gtk+-1.2-locale_fix.patch ... [ ok ] * uclibctoolize() is depreciated, please just use elibtoolize()! * Running elibtoolize in: gtk+-1.2.10 * Applying portage-1.3.4.patch ... * Applying sed-1.3.4.patch ... * Applying uclibc-ltconf-1.3.0.patch ... >>> Source unpacked. * econf: updating gtk+-1.2.10/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gtk+-1.2.10/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --sysconfdir=/etc --with-xinput=xfree --with-x --enable-debug=minimum creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=athlon -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=athlon -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking whether build environment is sane... yes checking for gcc... (cached) gcc checking whether the C compiler (gcc -O2 -march=athlon -pipe ) works... yes checking whether the C compiler (gcc -O2 -march=athlon -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for gcc option to accept ANSI C... none needed checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for gawk... gawk checking for perl5... no checking for perl... perl checking for indent... no checking whether make is GNU Make... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for stpcpy... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking for libintl.h... yes checking for dgettext in libc... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... az ca cs da de el es et eu fi fr ga gl hr hu it ja ko lt nl no nn pl pt pt_BR ro ru sk sl sp sr sv tr uk vi wa zh_CN.GB2312 zh_TW.Big5 checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.8... yes checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for XShapeCombineMask in -lXext... yes checking for XConvertCase in -lX11... yes checking for XUnregisterIMInstantiateCallback in -lX11... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking X11/extensions/XShm.h... yes checking need -DX_LOCALE... yes checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking return type of signal handlers... void checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for getresuid... yes checking for uid_t in sys/types.h... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... yes checking for wctype.h... yes checking for iswalnum... yes checking if iswalnum() and friends are properly defined... yes updating cache ./config.cache creating ./config.status creating gtk+.spec creating docs/gtk-config.1 creating Makefile creating gtk-config creating po/Makefile.in creating docs/Makefile creating gdk/Makefile creating gtk/Makefile creating gtk/gtkfeatures.h creating gdk.pc creating gtk+.pc creating config.h make all-recursive [...] creating libgtk.la (cd .libs && rm -f libgtk.la && ln -s ../libgtk.la libgtk.la) /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -Wall -o testgtk testgtk.o libgtk.la ../gdk/libgdk.la -lXi -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -lm /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -Wall -o testinput testinput.o libgtk.la ../gdk/libgdk.la -lXi -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -lm i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so -L/usr/lib -lgmodule -lglib -lXi -lXext -lX11 -lm ../gdk/.libs/libgdk.so -lgmodule -lglib -lXi -lXext -lX11 -lm -lXi -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -lm i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -Wall -o .libs/testinput testinput.o .libs/libgtk.so -L/usr/lib -lgmodule -lglib -lXi -lXext -lX11 -lm ../gdk/.libs/libgdk.so -lgmodule -lglib -lXi -lXext -lX11 -lm -lXi -lXext -lX11 -L/usr/lib -rdynamic -lgmodule -lglib -lm .libs/libgtk.so: undefined reference to `_Xsetlocale' collect2: ld returned 1 exit status make[2]: *** [testgtk] Error 1 make[2]: *** Waiting for unfinished jobs.... .libs/libgtk.so: undefined reference to `_Xsetlocale' collect2: ld returned 1 exit status make[2]: *** [testinput] Error 1 make[2]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtk+-1.2.10-r11/work/gtk+-1.2.10' make: *** [all-recursive-am] Error 2
Fixing locale settings until "perl -e 'strict'" didn't warn about anything and recompiling the xorg-x11 package seem to fixed my problem.
dupe the bug with the patch *** This bug has been marked as a duplicate of 114797 ***