Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330697 - pulseaudio should RDEPEND on sys-libs/libsmbios
Summary: pulseaudio should RDEPEND on sys-libs/libsmbios
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-01 13:28 UTC by zym
Modified: 2010-08-01 14:19 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 zym 2010-08-01 13:28:19 UTC
I have install from binary, pulseaudio depends on libsmbios, with make some so file broken without libsmbios installed, please include libsmbios in rdepend or so.

thanks.

FYI
>>> load-module module-alsa-card
Module load failed.
zym6400 log # ls -l /usr/lib64/pulse-0.9.21/modules/ | grep alsa
-rwxr-xr-x 1 root root 210800 Aug  1 20:58 libalsa-util.so
-rwxr-xr-x 1 root root  18720 Aug  1 20:58 module-alsa-card.so
-rwxr-xr-x 1 root root  10160 Aug  1 20:58 module-alsa-sink.so
-rwxr-xr-x 1 root root  10160 Aug  1 20:58 module-alsa-source.so

zym6400 log # ldd /usr/lib64/pulse-0.9.21/modules/module-alsa-card.so
	linux-vdso.so.1 =>  (0x00007fffd15ff000)
	libalsa-util.so => /usr/lib64/pulse-0.9.21/modules/libalsa-util.so (0x00007f8762652000)
	libasound.so.2 => /usr/lib/libasound.so.2 (0x00007f8762353000)
	libhal.so.1 => /usr/lib/libhal.so.1 (0x00007f8762142000)
	libsmbios.so.2 => not found
	libudev.so.0 => /lib/libudev.so.0 (0x00007f8761f33000)
	libpulsecore-0.9.21.so => /usr/lib/libpulsecore-0.9.21.so (0x00007f8761cb2000)
	libltdl.so.7 => /usr/lib/libltdl.so.7 (0x00007f8761aa8000)
	libspeexdsp.so.1 => /usr/lib/libspeexdsp.so.1 (0x00007f8761894000)
	libpulse.so.0 => /usr/lib/libpulse.so.0 (0x00007f8761651000)
	libpulsecommon-0.9.21.so => /usr/lib/libpulsecommon-0.9.21.so (0x00007f8761401000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f87611f7000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00007f8760ff2000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f8760dd6000)
	libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f8760bce000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f87609be000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f87607ab000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f876046e000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f8760250000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f876004c000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f875fe45000)
	libwrap.so.0 => /lib/libwrap.so.0 (0x00007f875fc3c000)
	libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0x00007f875f9d7000)
	libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0x00007f875f79e000)
	libvorbisenc.so.2 => /usr/lib/libvorbisenc.so.2 (0x00007f875f2cf000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f875f0a2000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f875ee9a000)
	libasyncns.so.0 => /usr/lib/libasyncns.so.0 (0x00007f875ec95000)
	libnsl.so.1 => /lib/libnsl.so.1 (0x00007f875ea7d000)
	libresolv.so.2 => /lib/libresolv.so.2 (0x00007f875e866000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f875e625000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f875e409000)
	libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x00007f875e202000)
	libcap.so.2 => /lib/libcap.so.2 (0x00007f875dffc000)
	librt.so.1 => /lib/librt.so.1 (0x00007f875ddf3000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f875dbee000)
	libm.so.6 => /lib/libm.so.6 (0x00007f875d96d000)
	libc.so.6 => /lib/libc.so.6 (0x00007f875d614000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f8762a8c000)
	libsmbios.so.2 => not found
	libattr.so.1 => /lib/libattr.so.1 (0x00007f875d40d000)
zym6400 log # 
zym6400 log # qdepends pulseaudio
media-sound/pulseaudio-0.9.21.1: x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst sys-libs/libcap >=media-libs/alsa-lib-1.0.19 >=dev-libs/glib-2.4.0 >=net-dns/avahi-0.6.12[dbus] >=dev-libs/liboil-0.3.0 sys-apps/tcp-wrappers >=sys-apps/dbus-1.0.0 >=gnome-base/gconf-2.4.0 >=sys-apps/hal-0.5.11 >=sys-apps/dbus-1.0.0 app-admin/eselect-esd net-libs/libasyncns >=sys-fs/udev-143[extras] >=media-libs/audiofile-0.2.6-r1 >=media-libs/speex-1.2_beta >=media-libs/libsndfile-1.0.20 >=dev-libs/liboil-0.3.6 sys-libs/gdbm >=sys-devel/libtool-2.2.4 x11-proto/xproto >=x11-libs/libXtst-1.0.99.2 <x11-proto/xextproto-7.0.99 dev-libs/libatomic_ops dev-util/pkgconfig dev-util/intltool
zym6400 log # qdepends pulseaudio | grep smbios
zym6400 log # eix smbios
* sys-libs/libsmbios
     Available versions:  0.13.13 2.2.19{tbz2} {doc graphviz nls python test}
     Homepage:            http://linux.dell.com/libsmbios/main/index.html
     Description:         Provide access to (SM)BIOS information



Reproducible: Always

Steps to Reproduce:
1, install pulesaudio in binary, with libsmbios removed first.
2, you will got no sound card anymore.


Expected Results:  
RDEPEND on libsmbios, alsa module works
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-01 14:19:42 UTC
Given that PulseAudio *never* uses libsmbios directly, libsmbios is likely brough in by HAL. So either the problem is with HAL, or you got a PulseAudio built with an older HAL around, and you're not using --as-needed to protect from just-this-situation, among others.

Simple answer is that pulseaudio should _not_ RDEPEND on libsmbios at all.