I Can't get this to build it dies with the following error: 0/include checking DESKTOP_FILE_UTILS_LIBS... -lglib-2.0 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/desktop-file-utils-0.3/work/desktop-file-utils-0.3' Making all in src make[2]: Entering directory `/var/tmp/portage/desktop-file-utils-0.3/work/desktop-file-utils-0.3/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR="\"/usr/share\"" -march=pentium3 -pipe -mmmx -Wall -c desktop_file.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR="\"/usr/share\"" -march=pentium3 -pipe -mmmx -Wall -c validate.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR="\"/usr/share\"" -march=pentium3 -pipe -mmmx -Wall -c validator.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR="\"/usr/share\"" -march=pentium3 -pipe -mmmx -Wall -c install.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DDATADIR="\"/usr/share\"" -march=pentium3 -pipe -mmmx -Wall -c gen-compat-tree.c install.c: In function `main': install.c:486: warning: implicit declaration of function `setlocale' install.c:486: error: `LC_ALL' undeclared (first use in this function) install.c:486: error: (Each undeclared identifier is reported only once install.c:486: error: for each function it appears in.) make[2]: *** [install.o] Error 1 make[2]: *** Waiting for unfinished jobs.... gen-compat-tree.c: In function `main': gen-compat-tree.c:190: warning: implicit declaration of function `setlocale' gen-compat-tree.c:190: error: `LC_ALL' undeclared (first use in this function) gen-compat-tree.c:190: error: (Each undeclared identifier is reported only once gen-compat-tree.c:190: error: for each function it appears in.) make[2]: *** [gen-compat-tree.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.3/work/desktop-file-utils-0.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/desktop-file-utils-0.3/work/desktop-file-utils-0.3' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-util/desktop-file-utils-0.3 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. emerge desktop-file-utils Actual Results: emerge failed Expected Results: built properly root@afghan ant # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r5)================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -pipe -mmmx" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -pipe -mmmx" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d alsa apm arts avi berkdb cdr crypt curl doc dvd emacs encode esd flash foomaticdb gdbm ggi gif gnome gpm gtk gtk2 guile imlib java jpeg kde leim libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xinerama xml2 xmms xv zlib"
I've commited desktop-file-utils-0.5, should fix it.
I've got the same LC_ALL prob with version 0.5 . But version 0.7 (instable) compiles fine. emerge info: Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r1) ================================================================= System uname: 2.6.8-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-march=pentium3" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://gentoo.mirror.sdv.fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi acpi4linux alsa apache2 avi berkdb cdr crypt cups dvd encode esd ethereal faac faad flac foomaticdb gdbm gif gpm gtk gtk2 gtkhtml icq imagemagick imlib imlib2 innodb irda irmc java jpeg libg++ libwww lirc mad mmx motif mpeg msn mysql ncurses nls offensive oggvorbis operanom2 oscar pam pcap pdflib perl png pnp python quicktime readline samba sdl slang spell sse ssl svga tcltk tiff truetype unicode usb x86 xface xml xml2 xmms xosd xv xvid yahoo zlib"