if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc/X11\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -DGDM_CONFIG_FILE=\"/etc/X11/gdm/gdm.conf\" -DGDM_FACTORY_CONFIG_FILE=\"/etc/X11/gdm/factory-gdm.conf\" -DGDM_GLADE_DIR=\"/usr/share/gdm\" -I. -I. -I.. -I. -I.. -I../daemon -I../vicious-extensions -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -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 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -march=pentium3 -O3 -pipe -Wall -Wmissing-prototypes -MT gdmphotosetup.o -MD -MP -MF ".deps/gdmphotosetup.Tpo" -c -o gdmphotosetup.o gdmphotosetup.c; \ then mv -f ".deps/gdmphotosetup.Tpo" ".deps/gdmphotosetup.Po"; else rm -f ".deps/gdmphotosetup.Tpo"; exit 1; fi gdmphotosetup.c: In function `add_preview_widget': gdmphotosetup.c:221: warning: no return statement in function returning non-void gdmphotosetup.c: In function `browse_button_cb': gdmphotosetup.c:232: warning: unused variable `vbox' gdmphotosetup.c: In function `fill_model': gdmphotosetup.c:362: warning: unused variable `i' gdmphotosetup.c:363: warning: unused variable `str' gdmphotosetup.c:363: warning: unused variable `str2' /bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -Wall -Wmissing-prototypes -o gdmphotosetup gdmphotosetup.o libgdmcommon.a -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -Wl,--export-dynamic -pthread -lgnome-2 -lpopt -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L../vicious-extensions -lviciousui-gnome mkdir .libs libtool: link: cannot find the library `/usr/lib/libesd.la' make[3]: *** [gdmphotosetup] Error 1 make[3]: Leaving directory `/home/tmp/portage/gdm-2.8.0.2/work/gdm-2.8.0.2/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tmp/portage/gdm-2.8.0.2/work/gdm-2.8.0.2/gui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tmp/portage/gdm-2.8.0.2/work/gdm-2.8.0.2' make: *** [all] Error 2 !!! ERROR: gnome-base/gdm-2.8.0.2 failed. !!! Function gnome2_src_compile, Line 48, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. I do not have media-sound/esound installed, and I don't have esd in my USE flags, either. Reproducible: Always Steps to Reproduce: $ emerge --info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12.3-20050720 i686) ================================================================= System uname: 2.6.12.3-20050720 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.0_pre6 dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/uncleowen" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi bitmap-fonts cjk cups emboss encode fam foomaticdb fortran gif gstreamer gtk gtk2 guile imlib java jpeg junit libg++ libwww mad mikmod mmx mp3 mpeg ncurses nls ntpl offensive ogg oggvorbis opengl pam pdflib perl png python quicktime readline sdl spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis win32codecs xml xml2 xmms xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
gdm doesn't have a direct dependency on esd. It seems like you previously had esound, some libraries (probably libgnome) were linked to it, and later on you removed esound from your system. Could you please run revdep-rebuild and report if that lets you emerge gdm?
Yes, you were right. revdep-rebuild compiled libgnomeui and the old version of gdm. After that, the new version of gdm compiled successfully. Sorry for the noise, and closing INVALID.