Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416751 - =app-emulation/emul-linux-x86-medialibs-20120520 has a dependency on pulseaudio
Summary: =app-emulation/emul-linux-x86-medialibs-20120520 has a dependency on pulseaudio
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 417197 417859 419047 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-20 16:05 UTC by Manuel Rüger (RETIRED)
Modified: 2012-07-25 16:58 UTC (History)
26 users (show)

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


Attachments
emerge --info (file_416751.txt,6.02 KB, text/plain)
2012-05-20 16:05 UTC, Manuel Rüger (RETIRED)
Details
emul-linux-x86-soundlibs-20120520.ebuild.patch (emul-linux-x86-soundlibs-20120520.ebuild.patch,360 bytes, patch)
2012-05-21 13:49 UTC, Samuli Suominen (RETIRED)
Details | Diff
Alternative patch (propably incomplete) (emul-linux-x86-soundlibs-20120520.ebuild.patch,784 bytes, patch)
2012-05-21 21:43 UTC, Samuli Suominen (RETIRED)
Details | Diff
rmp containing requered librares (libpulse0-32bit-0.9.22-6.9.1.x86_64.rpm,184.56 KB, application/octet-stream)
2012-06-17 10:15 UTC, jbytecoder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2012-05-20 16:05:52 UTC
Created attachment 312371 [details]
emerge --info

[ebuild   R   ~] app-emulation/emul-linux-x86-medialibs-20120520  USE="-development" 0 kB

revdep-rebuild output:
broken /usr/lib32/libavdevice.so.53.4.100 (requires libpulse-simple.so.0
libpulse.so.0)
Comment 1 Nikos Chantziaras 2012-05-20 16:09:55 UTC
Same here. Running revdep-rebuild always wants to emerge emul-linux-x86-medialibs again.
Comment 2 Pacho Ramos gentoo-dev 2012-05-20 18:37:22 UTC
This is because ffmpeg now links directly to pulse libs when built with pulseaudio support. This behavior has changed, older ffmpeg versions (0.7.8) was able to be compiled with pulse support without directly linking against it. 

@media-video team, is this behavior intended?
Comment 3 Jouni Rinne 2012-05-21 03:17:48 UTC
May I have a suggestion? If the newer ffmpeg libraries are really like that, compile two versions of ffmpeg, one with pulseaudio support and one without, and add an "pulseaudio" USE-flag to control which one gets installed.
Comment 4 Pacho Ramos gentoo-dev 2012-05-21 10:26:00 UTC
(In reply to comment #3)
> May I have a suggestion? If the newer ffmpeg libraries are really like that,
> compile two versions of ffmpeg, one with pulseaudio support and one without,
> and add an "pulseaudio" USE-flag to control which one gets installed.

Yes, that is the plan (as currently need to do with libSDL), the problem is that it's a headache to maintain and, then, I would like to confirm with ffmpeg maintainers this behavior is normal
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-05-21 10:45:02 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > May I have a suggestion? If the newer ffmpeg libraries are really like that,
> > compile two versions of ffmpeg, one with pulseaudio support and one without,
> > and add an "pulseaudio" USE-flag to control which one gets installed.
> 
> Yes, that is the plan (as currently need to do with libSDL), the problem is
> that it's a headache to maintain and, then, I would like to confirm with
> ffmpeg maintainers this behavior is normal

Yes, it is normal for ffmpeg to link against libpulse when '--enable-libpulse' flag is passed to it's './configure' script. It's using both headers, and the libraries.

What is the problem in this bug again? I don't see a problem mentioned in any of the comments.
Just always install the 32bit pulse libraries and be done with it. No USE flag required for that. They don't take much space.
Comment 6 Pacho Ramos gentoo-dev 2012-05-21 10:58:31 UTC
the problem is that we cannot install 32 bits pulse libs without rdepending on pulseaudio per bug 302003
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2012-05-21 13:49:57 UTC
Created attachment 312509 [details, diff]
emul-linux-x86-soundlibs-20120520.ebuild.patch

README from net-im/skype says:

<cut>

* On Debian amd64 version Skype crashes on startup with the message: 

"Inconsistency detected by ld.so: dl-open.c: 623: _dl_open: Assertion 
`_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!"
This seems to be Debian only issue with 32 bit PulseAudio libraries being 
installed even if PulseAudio is not active, a workaround can be:
- Debian Lenny: 
sudo chmod a-r /usr/lib32/libpulse{-simple.so.0.0.1,.so.0.4.1}
- Debian Squeeze:
sudo chmod a-r /usr/lib32/libpulse{-simple.so.0.0.2,.so.0.8.0,common-0.9.15.so}

</cut>

I'm not sure if this will cause other issues with the emul- package, but at least `ldd` is working.
Comment 8 Pacho Ramos gentoo-dev 2012-05-21 18:55:02 UTC
Nice workaround :D

Could affected people try to apply that patch to soundlibs emul package and see if they see any problems with their non-pulseaudio systems? (mine has pulseaudio enabled and working)
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2012-05-21 21:14:10 UTC
Yep this patch seems hacky but it should work. I will give it a shot asap unless someone beats me to it
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2012-05-21 21:43:35 UTC
Created attachment 312597 [details, diff]
Alternative patch (propably incomplete)

well, never said it was pretty -- but something like this could propably be used if the first patch is a no-go (warning: completely untested and propably forgot something)
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2012-05-22 20:40:12 UTC
(In reply to comment #10)
> Created attachment 312597 [details, diff] [details, diff]
> Alternative patch (propably incomplete)
> 
> well, never said it was pretty -- but something like this could propably be
> used if the first patch is a no-go (warning: completely untested and
> propably forgot something)

I don't understand the purpose of this patch
Comment 12 Markos Chandras (RETIRED) gentoo-dev 2012-05-22 20:48:10 UTC
fwiw the second patch works ok although I am not sure what the consequences will be.
Comment 13 Alexis Ballier gentoo-dev 2012-05-22 20:52:38 UTC
OTOH, you would probably not lose any feature building ffmpeg without pulseaudio for emul libs.
Comment 14 Xavier Miller (RETIRED) gentoo-dev 2012-05-22 21:19:33 UTC
And what about enabling source-based emul-linux packages ? The return of multilib overlay ? ;)
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2012-05-23 08:20:30 UTC
(In reply to comment #13)
> OTOH, you would probably not lose any feature building ffmpeg without
> pulseaudio for emul libs.

+1, this would propably be cleanest solution
Comment 16 Pacho Ramos gentoo-dev 2012-05-23 08:23:57 UTC
(In reply to comment #13)
> OTOH, you would probably not lose any feature building ffmpeg without
> pulseaudio for emul libs.

But, how will that ffmpeg libs work on pulseaudio systems? I would like to ask the same for libSDL as it's in the same case
Comment 17 Alexis Ballier gentoo-dev 2012-05-23 14:59:04 UTC
(In reply to comment #16)
> (In reply to comment #13)
> > OTOH, you would probably not lose any feature building ffmpeg without
> > pulseaudio for emul libs.
> 
> But, how will that ffmpeg libs work on pulseaudio systems? I would like to
> ask the same for libSDL as it's in the same case

it depends what you mean by 'ffmpeg libs': pulseaudio support is for libavdevice.

grep avdevice /var/db/pkg/*/*/NEEDED.ELF.2

tells me, on my system, the only binaries using it are: ffplay, ffserver, ffprobe, ffmpeg; all of which are binaries installed by ffmpeg which i doubt are in emul-libs. libavdevice didnt get wide adoption, besides ff* tools, as far as i can tell.

for emul-libs, i think the most important part are the codecs, which basically take an input buffer and gives you a decoded output buffer, leaving the handling of the output (as 'playing sound and video') to the library consumer.
Comment 18 Markos Chandras (RETIRED) gentoo-dev 2012-05-23 18:48:30 UTC
*** Bug 417289 has been marked as a duplicate of this bug. ***
Comment 19 Markos Chandras (RETIRED) gentoo-dev 2012-05-23 18:49:10 UTC
*** Bug 417197 has been marked as a duplicate of this bug. ***
Comment 20 Pacho Ramos gentoo-dev 2012-05-23 19:34:01 UTC
(In reply to comment #7)
> Created attachment 312509 [details, diff] [details, diff]
> emul-linux-x86-soundlibs-20120520.ebuild.patch
> 
> README from net-im/skype says:
> 
> <cut>
> 
> * On Debian amd64 version Skype crashes on startup with the message: 
> 
> "Inconsistency detected by ld.so: dl-open.c: 623: _dl_open: Assertion 
> `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!"
> This seems to be Debian only issue with 32 bit PulseAudio libraries being 
> installed even if PulseAudio is not active, a workaround can be:
> - Debian Lenny: 
> sudo chmod a-r /usr/lib32/libpulse{-simple.so.0.0.1,.so.0.4.1}
> - Debian Squeeze:
> sudo chmod a-r
> /usr/lib32/libpulse{-simple.so.0.0.2,.so.0.8.0,common-0.9.15.so}
> 
> </cut>
> 
> I'm not sure if this will cause other issues with the emul- package, but at
> least `ldd` is working.

I would go with this solution because it would also be util for libSDL and is "officially" supported by Skype (and looks to be tested by, at least, people following their README and, then, more tested than the other solution)
Comment 21 Markos Chandras (RETIRED) gentoo-dev 2012-05-27 17:20:43 UTC
(In reply to comment #20)
> (In reply to comment #7)
> > Created attachment 312509 [details, diff] [details, diff] [details, diff]
> > emul-linux-x86-soundlibs-20120520.ebuild.patch
> > 
> > README from net-im/skype says:
> > 
> > <cut>
> > 
> > * On Debian amd64 version Skype crashes on startup with the message: 
> > 
> > "Inconsistency detected by ld.so: dl-open.c: 623: _dl_open: Assertion 
> > `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!"
> > This seems to be Debian only issue with 32 bit PulseAudio libraries being 
> > installed even if PulseAudio is not active, a workaround can be:
> > - Debian Lenny: 
> > sudo chmod a-r /usr/lib32/libpulse{-simple.so.0.0.1,.so.0.4.1}
> > - Debian Squeeze:
> > sudo chmod a-r
> > /usr/lib32/libpulse{-simple.so.0.0.2,.so.0.8.0,common-0.9.15.so}
> > 
> > </cut>
> > 
> > I'm not sure if this will cause other issues with the emul- package, but at
> > least `ldd` is working.
> 
> I would go with this solution because it would also be util for libSDL and
> is "officially" supported by Skype (and looks to be tested by, at least,
> people following their README and, then, more tested than the other solution)

Is there a reason this fix is not in portage yet? Is there anything else to fix?
Comment 22 Pacho Ramos gentoo-dev 2012-05-27 17:58:34 UTC
+*emul-linux-x86-soundlibs-20120520-r1 (27 May 2012)
+
+  27 May 2012; Pacho Ramos <pacho@gentoo.org>
+  +emul-linux-x86-soundlibs-20120520-r1.ebuild:
+  Use another way to disable pulseaudio stuff to prevent problems like bug
+  #416751 (by Manuel Rüger (mrueg) and fix by Samuli Suominen).
+
Comment 23 Pacho Ramos gentoo-dev 2012-05-28 09:00:31 UTC
*** Bug 417859 has been marked as a duplicate of this bug. ***
Comment 24 Pacho Ramos gentoo-dev 2012-06-02 10:25:15 UTC
*** Bug 419047 has been marked as a duplicate of this bug. ***
Comment 25 Pacho Ramos gentoo-dev 2012-06-02 10:26:27 UTC
(In reply to comment #24)
> *** Bug 419047 has been marked as a duplicate of this bug. ***

Per this bug we will probably need to use comment #10, people, please test it (I won't be able to do anything today and not sure about upcoming days :S)
Comment 26 Markos Chandras (RETIRED) gentoo-dev 2012-06-02 12:58:42 UTC
(In reply to comment #25)
> (In reply to comment #24)
> > *** Bug 419047 has been marked as a duplicate of this bug. ***
> 
> Per this bug we will probably need to use comment #10, people, please test
> it (I won't be able to do anything today and not sure about upcoming days :S)

like I said #10 seems to do the trick. It is certainly better than what we have at the moment
Comment 27 Pacho Ramos gentoo-dev 2012-06-02 19:14:49 UTC
(In reply to comment #26)
> (In reply to comment #25)
> > (In reply to comment #24)
> > > *** Bug 419047 has been marked as a duplicate of this bug. ***
> > 
> > Per this bug we will probably need to use comment #10, people, please test
> > it (I won't be able to do anything today and not sure about upcoming days :S)
> 
> like I said #10 seems to do the trick. It is certainly better than what we
> have at the moment

Markos, if you have time, can you commit it if it works for you? Thanks
Comment 28 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 09:19:25 UTC
Committed.

Please test =app-emulation/emul-linux-x86-medialibs-20120520-r2 and let me know if it fixes your problem
Comment 29 Nikos Chantziaras 2012-06-03 12:37:15 UTC
(In reply to comment #28)
> Committed.
> 
> Please test =app-emulation/emul-linux-x86-medialibs-20120520-r2 and let me
> know if it fixes your problem

Markos, did you test yourself before doing the commit? It was working fine before, now medialibs and soundlibs are both triggering an emerge every time revdep-rebuild runs.

$ revdep-rebuild
 *   broken /usr/lib32/alsa-lib/libasound_module_conf_pulse.so (no version information available)
 *   broken /usr/lib32/alsa-lib/libasound_module_ctl_pulse.so (no version information available)
 *   broken /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so (no version information available)
 *   broken /usr/lib32/ao/plugins-4/libpulse.so (no version information available)
 *   broken /usr/lib32/libavdevice.so.53.4.100 (no version information available)
 *   broken /usr/lib32/libpulse-mainloop-glib.so.0.0.4 (no version information available)
 *   broken /usr/lib32/libpulsecore-1.1.so (no version information available)
 *   broken /usr/lib32/libpulsedsp.so (no version information available)
 *   broken /usr/lib32/mpg123/output_pulse.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libalsa-util.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libcli.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libprotocol-cli.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libprotocol-esound.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libprotocol-http.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libprotocol-native.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libprotocol-simple.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/libraop.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/librtp.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-alsa-card.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-always-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-augment-properties.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-card-restore.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-cli-protocol-tcp.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-cli-protocol-unix.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-combine-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-combine.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-cork-music-on-phone.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-default-device-restore.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-device-manager.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-device-restore.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-echo-cancel.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-esound-protocol-tcp.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-esound-protocol-unix.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-esound-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-filter-apply.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-filter-heuristics.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-http-protocol-tcp.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-http-protocol-unix.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-intended-roles.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-jack-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-jack-source.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-ladspa-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-loopback.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-match.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-mmkbd-evdev.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-native-protocol-tcp.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-native-protocol-unix.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-null-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-null-source.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-pipe-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-pipe-source.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-position-event-sounds.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-raop-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-remap-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-rescue-streams.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-rtp-recv.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-rtp-send.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-simple-protocol-tcp.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-simple-protocol-unix.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-sine-source.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-sine.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-stream-restore.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-suspend-on-idle.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-switch-on-connect.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-tunnel-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-tunnel-source.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-virtual-sink.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-virtual-source.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-volume-restore.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-x11-bell.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-x11-cork-request.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-x11-publish.so (no version information available)
 *   broken /usr/lib32/pulse-1.1/modules/module-x11-xsmp.so (no version information available)
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib32/alsa-lib/libasound_module_conf_pulse.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/alsa-lib/libasound_module_ctl_pulse.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/ao/plugins-4/libpulse.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/libavdevice.so.53.4.100 -> app-emulation/emul-linux-x86-medialibs
 *   /usr/lib32/libpulse-mainloop-glib.so.0.0.4 -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/libpulsecore-1.1.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/libpulsedsp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/mpg123/output_pulse.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libalsa-util.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libcli.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libprotocol-cli.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libprotocol-esound.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libprotocol-http.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libprotocol-native.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libprotocol-simple.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/libraop.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/librtp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-alsa-card.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-always-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-augment-properties.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-card-restore.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-cli-protocol-tcp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-cli-protocol-unix.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-combine-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-combine.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-cork-music-on-phone.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-default-device-restore.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-device-manager.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-device-restore.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-echo-cancel.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-esound-protocol-tcp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-esound-protocol-unix.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-esound-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-filter-apply.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-filter-heuristics.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-http-protocol-tcp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-http-protocol-unix.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-intended-roles.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-jack-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-jack-source.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-ladspa-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-loopback.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-match.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-mmkbd-evdev.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-native-protocol-tcp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-native-protocol-unix.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-null-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-null-source.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-pipe-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-pipe-source.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-position-event-sounds.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-raop-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-remap-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-rescue-streams.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-rtp-recv.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-rtp-send.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-simple-protocol-tcp.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-simple-protocol-unix.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-sine-source.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-sine.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-stream-restore.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-suspend-on-idle.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-switch-on-connect.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-tunnel-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-tunnel-source.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-virtual-sink.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-virtual-source.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-volume-restore.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-x11-bell.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-x11-cork-request.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-x11-publish.so -> app-emulation/emul-linux-x86-soundlibs
 *   /usr/lib32/pulse-1.1/modules/module-x11-xsmp.so -> app-emulation/emul-linux-x86-soundlibs
Comment 30 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 13:03:26 UTC
Uhmm yes I did

[D] app-emulation/emul-linux-x86-soundlibs
     Available versions:  20120127^s{tbz2} (~)20120520^s{tbz2} (~)20120520-r1^s{tbz2} {{alsa development pulseaudio}}
     Installed versions:  20120520-r2^s{tbz2}(10:18:09 AM 06/03/2012)(alsa -development -pulseaudio)
     Homepage:            http://dev.gentoo.org/~pacho/emul.html
     Description:         Provides precompiled 32bit libraries

I presume you have pulseaudio useflag enabled?
Comment 31 Nikos Chantziaras 2012-06-03 13:05:31 UTC
(In reply to comment #30)
> I presume you have pulseaudio useflag enabled?

It's disabled.
Comment 32 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 13:07:05 UTC
Right I does not seem to work. Reopening for even further investigation
Comment 33 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 13:16:06 UTC
Pacho, would it make sense to go with the original plan of maintaining both ffmpegs? One with pulseaudio and one without it? Is it possible to automate that? I can help with the ffmpeg[-pulseaudio] version if you talk me out creating the emul package :)
Comment 34 Pacho Ramos gentoo-dev 2012-06-03 13:26:56 UTC
(In reply to comment #33)
> Pacho, would it make sense to go with the original plan of maintaining both
> ffmpegs? One with pulseaudio and one without it? Is it possible to automate
> that? I can help with the ffmpeg[-pulseaudio] version if you talk me out
> creating the emul package :)

Well, I have no problem on generating it (the problem would arise if more and more included packages need this in the future :()

On the other hand, the reason for we needing to force RDEPEND on pulseaudio is due skype-only problems, not sure if this could be handled in other way taking care that we could probably install pulse 32 libs always (like we do with the rest) if skype problem could be solved in some way :-/

I think skype uses a wrapper to be launched, maybe we could filter pulse 32 libs there in some way to prevent it from trying to load them on pulseaudio-less systems... (will CC skype maintainers and I have never used it and don't know much about that app)
Comment 35 Pacho Ramos gentoo-dev 2012-06-03 13:33:12 UTC
Also would be nice to confirm if recent skype versions are still needing this tricks and, if still needing them, if it has any kind of configuration file that would allow us to default to "alsa" when pulse is not available and leave it trying to use pulseaudio when it's present
Comment 36 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 13:50:30 UTC
Ok -r1 restored
Comment 37 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 13:51:57 UTC
(In reply to comment #34)
> (In reply to comment #33)
> > Pacho, would it make sense to go with the original plan of maintaining both
> > ffmpegs? One with pulseaudio and one without it? Is it possible to automate
> > that? I can help with the ffmpeg[-pulseaudio] version if you talk me out
> > creating the emul package :)
> 
> Well, I have no problem on generating it (the problem would arise if more
> and more included packages need this in the future :()
> 
> On the other hand, the reason for we needing to force RDEPEND on pulseaudio
> is due skype-only problems, not sure if this could be handled in other way
> taking care that we could probably install pulse 32 libs always (like we do
> with the rest) if skype problem could be solved in some way :-/
> 
> I think skype uses a wrapper to be launched, maybe we could filter pulse 32
> libs there in some way to prevent it from trying to load them on
> pulseaudio-less systems... (will CC skype maintainers and I have never used
> it and don't know much about that app)

Could you please elaborate on that? I don't know what's the problem with skype +/- pulse
Comment 38 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 13:59:46 UTC
(In reply to comment #37)
> (In reply to comment #34)
> > (In reply to comment #33)
> > > Pacho, would it make sense to go with the original plan of maintaining both
> > > ffmpegs? One with pulseaudio and one without it? Is it possible to automate
> > > that? I can help with the ffmpeg[-pulseaudio] version if you talk me out
> > > creating the emul package :)
> > 
> > Well, I have no problem on generating it (the problem would arise if more
> > and more included packages need this in the future :()
> > 
> > On the other hand, the reason for we needing to force RDEPEND on pulseaudio
> > is due skype-only problems, not sure if this could be handled in other way
> > taking care that we could probably install pulse 32 libs always (like we do
> > with the rest) if skype problem could be solved in some way :-/
> > 
> > I think skype uses a wrapper to be launched, maybe we could filter pulse 32
> > libs there in some way to prevent it from trying to load them on
> > pulseaudio-less systems... (will CC skype maintainers and I have never used
> > it and don't know much about that app)
> 
> Could you please elaborate on that? I don't know what's the problem with
> skype +/- pulse

Nevermind I found bug 302003
Comment 39 Markos Chandras (RETIRED) gentoo-dev 2012-06-03 14:10:10 UTC
fwiw

Index: emul-linux-x86-soundlibs-20120520-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-emulation/emul-linux-x86-soundlibs/emul-linux-x86-soundlibs-20120520-r1.ebuild,v
retrieving revision 1.3
diff -u -B -u -r1.3 emul-linux-x86-soundlibs-20120520-r1.ebuild
--- emul-linux-x86-soundlibs-20120520-r1.ebuild	3 Jun 2012 13:30:11 -0000	1.3
+++ emul-linux-x86-soundlibs-20120520-r1.ebuild	3 Jun 2012 14:03:36 -0000
@@ -29,7 +29,7 @@
 
 	# libs without the rest of pulseaudio cause problems, bug 302003
 	# See bug 416751 to understand this way to disable pulseaudio
-	if ! use pulseaudio; then
-		chmod a-r "${S}"/usr/lib32/libpulse{,-simple}.so.* || die
-	fi
+	#if ! use pulseaudio; then
+	#	chmod a-r "${S}"/usr/lib32/libpulse{,-simple}.so.* || die
+	#fi
 }

and skype works ok in a box without pulseaudio. Maybe skype is fixed in 2.2.X ?

Anyone else to confirm that?
Comment 40 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-03 14:27:33 UTC
*** Bug 417859 has been marked as a duplicate of this bug. ***
Comment 41 Pacho Ramos gentoo-dev 2012-06-08 15:54:30 UTC
(In reply to comment #25)
> (In reply to comment #24)
> > *** Bug 419047 has been marked as a duplicate of this bug. ***
> 
> Per this bug we will probably need to use comment #10, people, please test
> it (I won't be able to do anything today and not sure about upcoming days :S)

I cannot reproduce that revdep-rebuild problems with emul-linux-x86-soundlibs-20120520-r1, are you running revdep-rebuild as root?
Comment 42 Ilya Gordeev 2012-06-08 16:31:39 UTC
(In reply to comment #41)
> (In reply to comment #25)
> > (In reply to comment #24)
> > > *** Bug 419047 has been marked as a duplicate of this bug. ***
> > 
> > Per this bug we will probably need to use comment #10, people, please test
> > it (I won't be able to do anything today and not sure about upcoming days :S)
> 
> I cannot reproduce that revdep-rebuild problems with
> emul-linux-x86-soundlibs-20120520-r1, are you running revdep-rebuild as root?

No I'm not. But I haven't got any errors running it as root. But I still get large list of broken linking running `revdep-rebuild -ip` as non-root user...
Comment 43 jbytecoder 2012-06-17 10:15:09 UTC
Created attachment 315569 [details]
rmp containing requered librares

I place this file for annyone who finds this bug and wishes just to fix the dependacy problem under revdep-rebuild,  just unpack this file into  /usr/lib32 and everything is fine
Comment 44 jbytecoder 2012-06-17 10:18:18 UTC
I can confimr this bug.

emul-linux-x86-medialibs in version 20120520 installs libavdevice.so which depends on libpulse-simple.so. 

My system dose not use pulseaudio, so for me it would be best that this file dose not dependn on pulseaudio,  however if its hard, i think best solution would be just to include the misiing dependacy from file I submitedt
Comment 45 Samuli Suominen (RETIRED) gentoo-dev 2012-06-17 10:42:51 UTC
(In reply to comment #44)
> I can confimr this bug.
> 
> emul-linux-x86-medialibs in version 20120520 installs libavdevice.so which
> depends on libpulse-simple.so.
> 
> My system dose not use pulseaudio, so for me it would be best that this file
> dose not dependn on pulseaudio,  however if its hard, i think best solution
> would be just to include the misiing dependacy from file I submitedt

I've removed the attachment you added. We are definately not going to add anything from random RPM's and libpulse-simple.so is already in emul- packages:

app-emulation/emul-linux-x86-soundlibs-20120520-r1 (/usr/lib32/libpulse-simple.so)
Comment 46 Markos Chandras (RETIRED) gentoo-dev 2012-06-17 10:50:21 UTC
Isn't this fixed in -r2?
Comment 47 Pacho Ramos gentoo-dev 2012-06-17 11:37:46 UTC
(In reply to comment #46)
> Isn't this fixed in -r2?

It should, but somebody should check if it really doesn't break recent skype versions
Comment 48 Markos Chandras (RETIRED) gentoo-dev 2012-06-17 14:47:43 UTC
(In reply to comment #47)
> (In reply to comment #46)
> > Isn't this fixed in -r2?
> 
> It should, but somebody should check if it really doesn't break recent skype
> versions

works for me
Comment 49 Pacho Ramos gentoo-dev 2012-07-20 20:41:15 UTC
Should be ok with latest revision