media-sound/mpd-0.16.8 RDEPENDs on media-sound/alsa-utils, but grep-ing doesn't show any usage of alsa utils in it's sources. But it links with libasound: $ readelf -d `which mpd` |grep libasound 0x0000000000000001 (NEEDED) Shared library: [libasound.so.2] so it rather should RDEPEND on media-libs/alsa-lib. Reproducible: Always
Created attachment 312203 [details] emerge --info output
+ 27 May 2012; Christoph Mende <angelos@gentoo.org> mpd-0.16.8.ebuild: + Depend on media-libs/alsa-lib (bug #414827)
Ok, but depend on media-sound/alsa-utils is unnecessary.
Please do not reopen and rename old bugs. Open a new one
Why? Someone already renamed it in wrong way; i posted as: >media-sound/mpd-0.16.8: suspect RDEPENDs they renamed to >media-sound/mpd should depend on media-libs/alsa-lib that messed up things.
The init script makes use of alsa-utils.
>The init script makes use of alsa-utils Where? #!/sbin/runscript # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.1 2010/09/10 07:55:07 angelos Exp $ depend() { need localmount use net netmount nfsmount alsa esound pulseaudio } checkconfig() { if ! [ -f /etc/mpd.conf ]; then eerror "Configuration file /etc/mpd.conf does not exist." return 1 fi return 0 } start() { checkconfig || return 1 ebegin "Starting Music Player Daemon" start-stop-daemon --start --quiet --background --exec /usr/bin/mpd --pidfile /var/run/mpd.pid --make-pidfile -- --no-daemon /etc/mpd.conf 2>/dev/null eend $? } stop() { ebegin "Stopping Music Player Daemon" start-stop-daemon --stop --exec /usr/bin/mpd --pidfile /var/run/mpd.pid eend $? }
(In reply to comment #7) > >The init script makes use of alsa-utils > Where? > > > #!/sbin/runscript > # Copyright 1999-2010 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/files/mpd.init,v 1.1 > 2010/09/10 07:55:07 angelos Exp $ > > depend() { > need localmount > use net netmount nfsmount alsa esound pulseaudio ^^^^ right here And please don't tell me "that's just a use". I will not remove the dependency. If you really can't live a package that's ~2 MB on disk, put it in package.provided.