Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95889 - nautilus-2.10.0 fails to compile due to missing libasound.la
Summary: nautilus-2.10.0 fails to compile due to missing libasound.la
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 12:27 UTC by sfp-a7x
Modified: 2005-06-13 18:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sfp-a7x 2005-06-12 12:27:11 UTC
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
Comment 1 sfp-a7x 2005-06-12 19:43:19 UTC
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.
Comment 2 foser (RETIRED) gentoo-dev 2005-06-13 11:56:56 UTC
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.
Comment 3 sfp-a7x 2005-06-13 13:31:31 UTC
/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.
Comment 4 foser (RETIRED) gentoo-dev 2005-06-13 14:57:34 UTC
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.
Comment 5 sfp-a7x 2005-06-13 18:37:25 UTC
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.