Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547628 - app-emulation/wine[pulseaudio], user application requires media-plugins/alsa-plugins[abi_x86_32] to have sound
Summary: app-emulation/wine[pulseaudio], user application requires media-plugins/alsa-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Adam Feldman
URL:
Whiteboard:
Keywords:
: 547794 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-25 01:22 UTC by Lucian Poston
Modified: 2015-05-07 19:18 UTC (History)
4 users (show)

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 Lucian Poston 2015-04-25 01:22:12 UTC
In a 32-bit wine prefix using pulseaudio, the 32-bit version of libasound_module_conf_pulse.so is missing from the system. It should be installed by media-plugins/alsa-plugins, but a depenency on the abi_x86_32 flag isn't set for alsa-plugin by the pulseaudio ebuild.

Prior to true multilib, wine/pulseaudio would install emul-linux-x86-soundlibs for libasound_module_conf_pulse.so. With true multilib, media-plugins/alsa-plugins[abi_x86_32] installs it (manually setting abi_x86_32 for alsa-plugins fixes the issue).

Reproducible: Always

Actual Results:  
Missing sound in wine (running application in 32 bit prefix) since libasound_module_conf_pulse.so is missing.

The following error message in console:
ALSA lib conf.c:3314:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so


Expected Results:  
32-bit version of lib should be installed

Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 3.18.11-gentoo x86_64)
=================================================================
System uname: Linux-3.18.11-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:    12359216 total,   5639020 free
KiB Swap:   10485756 total,   8727720 free
Timestamp of repository gentoo: Mon, 20 Apr 2015 14:00:01 +0000
sh bash 4.2_p53
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::pentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 1

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 2

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 3

raiagent
    location: /var/lib/layman/raiagent
    masters: gentoo
    priority: 4

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 5

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color S3TC X a52 aac acl acpi afterimage alsa amd64 anthy bash-completion berkdb bidi blink bluray branding bzip2 cairo cdda cdio cdr cjk cli color consolekit cracklib crypt cscope cups cxx dbus dirac directfb dos dri dts dvd dvdnav dvdr dvi emboss encode escreen exif faac faad fading-colors fam fbcondecor fdk ffmpeg firefox firefox3 flac flite fortran furigana g3dvl gd gdbm gif glamor gmail gme gpm gsm gstreamer gtk gtk3 hddtemp iconv imap ipv6 iso14755 joystick jpeg kpathsea latex lcms ldap libass libnotify libsamplerate libwww lm_sensors lock logrotate mad maildir matroska midi minizip mmx mmxext mng modules mono moonlight mp3 mp4 mpeg multilib musepack ncurses netapi nls nptl nsplugin nvidia ogg openal opencl opengl openmp osmesa pam pango passwordsave pcre pdf pixbuf png policykit popcnt ppds pulseaudio qt3support qt4 quicktime readline rememberthemilk rtsp sasl schroedinger scim screen sdl session sockets speech speex spell sse sse2 sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssl ssse3 startup-notification svg taglib tcpd theora thunar tiff timidity tordns transparent-proxy tremor truetype twolame udev udisks unicode upower usb v4l vcdx vim-syntax vorbis vpx wifi wma-fixed wxwidgets x264 xcb xcomposite xfce xft xinerama xml xrandr xv xvid xvmc zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Lucian Poston 2015-04-25 01:23:43 UTC
[ebuild   R    ] media-sound/pulseaudio-5.0-r7::gentoo  USE="X alsa alsa-plugin asyncns caps dbus gdbm glib gnome gtk ipv6 libsamplerate orc qt4 realtime ssl tcpd udev webrtc-aec -bluetooth -doc -equalizer -jack -lirc (-neon) (-oss) (-system-wide) -systemd {-test} -xen -zeroconf" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] media-plugins/alsa-plugins-1.0.28::gentoo  USE="ffmpeg libsamplerate pulseaudio speex -debug -jack" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R   ~] app-emulation/wine-1.7.41::gentoo  USE="X alsa cups dos fontconfig gecko gsm gstreamer jpeg lcms ldap mono mp3 ncurses netapi nls openal opencl opengl osmesa perl png prelink pulseaudio realtime run-exes ssl threads truetype udisks v4l xcomposite xinerama xml -capi -custom-cflags -gphoto2 -odbc -oss -pcap -pipelight -s3tc -samba -scanner (-selinux) -staging {-test} -vaapi" ABI_X86="32 64 (-x32)" LINGUAS="en en_US -ar -bg -ca -cs -da -de -el -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB
Comment 2 Adam Feldman gentoo-dev 2015-04-30 07:08:48 UTC
Curious, if you run winecfg and go to the audio tab, do you have the alsa or the pulseaudio driver selected?



Also, CC'ing the pulseaudio maintainers because the following might be the best way to resolve this issue:

--- pulseaudio-5.0-r7.ebuild	2015-04-30 03:05:49.915761385 -0400
+++ pulseaudio-5.0-r8.ebuild	2015-04-30 03:06:40.081761661 -0400
@@ -92,7 +92,7 @@
 "
 # This is a PDEPEND to avoid a circular dep
 PDEPEND="alsa? ( alsa-plugin? (
-	>=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio]
+	>=media-plugins/alsa-plugins-1.0.27-r1[pulseaudio,${MULTILIB_USEDEP}]
 ) )"
 
 # alsa-utils dep is for the alsasound init.d script (see bug #155707)
Comment 3 Lucian Poston 2015-05-01 06:41:55 UTC
(System Default) is selected as the audio driver in winecfg, and that appears to be pulseaudio... the sound streams are going through pulseaudio fwiw. And I've had to use pasuspender to give direct alsa access in other wine apps, which isn't the scenario here.
Comment 4 Pacho Ramos gentoo-dev 2015-05-07 18:53:59 UTC
+  07 May 2015; Pacho Ramos <pacho@gentoo.org> pulseaudio-5.0-r7.ebuild,
+  pulseaudio-6.0.ebuild:
+  MULTILIB_USEDEP is needed for consistent 32bits support with pulseaudio and
+  alsa-plugins (#547628 by Lucian Poston and NP-Hardass)
+
Comment 5 Pacho Ramos gentoo-dev 2015-05-07 19:18:23 UTC
*** Bug 547794 has been marked as a duplicate of this bug. ***