USE="3dnow apm arts avi berkdb crypt cups encode gdbm gif gpm gtk imlib ipv6 java jpeg kde libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib png python qt qtmt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype X xml2 xmms xv" ARCH="x86" rm -f .libs/gnome-vfs-mime-info.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\" -DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml -I/usr/include/gconf/1 -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -Wall -Wunused -I/usr/include -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -mcpu=i686 -pipe -c gnome-vfs-mime-info.c -fPIC -DPIC -o .libs/gnome-vfs-mime-info.lo gnome-vfs-mime-info.c:58: #error libiconv not in use but included iconv.h is from libiconv gnome-vfs-mime-info.c: In function `convert_with_iconv': gnome-vfs-mime-info.c:296: warning: passing arg 2 of `libiconv' from incompatible pointer type make[3]: *** [gnome-vfs-mime-info.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r1/work/gnome-vfs-1.0.5/libgnomevfs' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r1/work/gnome-vfs-1.0.5/libgnomevfs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-1.0.5-r1/work/gnome-vfs-1.0.5' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 16, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/gnome-base/gnome-vfs/gnome-vfs-1.0.5-r1.ebuild .
glib-2.0.1-r4 has the same problem
Same bug. *** This bug has been marked as a duplicate of 2405 ***