My USE variable in /etc/make.conf has "-gstreamer -mad -oggvorbis -alsa -arts -esd -oss -mpeg" because I don't have a sound card in my machine and I don't intend on doing anything with multimedia. When I try to emerge --newuse --oneshot nautilus, I get the following error message: grep: /usr/lib/libasound.la: No such file or directory /bin/sed: can't read /usr/lib/libasound.la: No such file or directory libtool: link: `/usr/lib/libasound.la' is not a valid libtool archive make[2]: *** [libnautilus-private.la] Error 1 make[2]: Leaving directory `/var/tmp/portage/nautilus-2.10.0/work/nautilus-2.10.0/libnautilus-private' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nautilus-2.10.0/work/nautilus-2.10.0' make: *** [all] Error 2 !!! ERROR: gnome-base/nautilus-2.10.0 failed. !!! Function gnome2_src_compile, Line 41, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 Pentium III (Katmai) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 9 2005, 23:09:03)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.sdv.fr/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl acpi apache2 apm avi berkdb bindist bitmap-fonts caps cdr crypt cups curl directfb doc eds emacs emboss encode fam fbcon flash foomaticdb fortran gd gdbm ggi gif gmp gnome gpm gtk gtk2 guile hardened hardenedphp imap imlib innodb ipv6 java jpeg junit kde kerberos ldap libg++ libwww mailwrapper mcal memlimit mikmod mmap mmx motif mozilla mp3 mysql ncurses nls nptl odbc opengl pam pcre pdflib perl php pic pie png postgres python qt quicktime readline ruby samba sasl sdl slang slp spell sse ssl svga symlink tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vhosts xml xml2 xmms xprint xv yaz zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Looks like app-editors/gedit-2.10.3, gnome-extra/nautilus-cd-burner-2.10.0, and mail-client/evolution-2.2.1.1 also won't compile due to lack of libasound.la.
Yeah and it once was there and it got removed (not by gentoo) i'm afraid. Simple solution is to grep for asound.la in the /usr/lib/*.la and rebuild those libs. Also this is most likely a dupe and you should search for older bugs with the same problem.
/usr/lib/libasound.la is provided by media-libs/alsa-lib, so I guess I could emerge alsa-lib and then finish building all of the gnome apps. But why should I install alsa-lib if I don't have a sound card? Why do these four gnome apps need alsa-lib to compile yet their ebuilds don't state that they depend on alsa-lib? I guess I don't get why this is an invalid bug.
because apps/libs do not get linked to /usr/lib/asound.la if it never was there, maybe you did a stage 3 install with also, maybe you used evil depclean, I don't know. Fact it is that file once was there and you removed it someway and thats what is causing the trouble, that makes it invalid.
I did some more digging and found out that this /usr/lib/libasound.la problem is not specific to gnome-base/nautilus, app-editors/gedit, gnome-extra/nautilus-cd-burner, or mail-client/evolution. It turns out that revdep-rebuild doesn't rebuild packages that have .la (libtool archive) files that are broken. I found some good info in bug 23031, comment 3 that helped me find the packages with broken .la files packages so that I could re-emerge them manually before doing the revdep-rebuild. So, all is now good and I understand why the bug is invalid. Thanks for your help.