Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814488 - media-sound/pulseaudio-15.0[bluetooth,-gstreamer]: libbluez5-util.so has automagic dependency on media-libs/gstreamer
Summary: media-sound/pulseaudio-15.0[bluetooth,-gstreamer]: libbluez5-util.so has auto...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 817806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-23 12:34 UTC by Andreas Sturmlechner
Modified: 2021-10-12 09:24 UTC (History)
2 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 Andreas Sturmlechner gentoo-dev 2021-09-23 12:34:59 UTC
Noticed when installing the pulseaudio binpkg on the other system.

From cmake log:

> Dependency gstreamer-1.0 skipped: feature gstreamer disabled
> Dependency gstreamer-app-1.0 skipped: feature gstreamer disabled
> Dependency gstreamer-rtp-1.0 skipped: feature gstreamer disabled
> Run-time dependency gstreamer-1.0 found: YES 1.18.4
> Run-time dependency gstreamer-app-1.0 found: YES 1.18.4
> Run-time dependency check found: YES 0.15.2
> ...
> Configuring PulseAudioConfig.cmake.tmp using configuration
> Configuring PulseAudioConfigVersion.cmake using configuration
> Message: 
>     ---{ pulseaudio 15.0 }---
> ...
>     Enable D-Bus:                  true
>       Enable BlueZ 5:              true
>         Enable native headsets:    false
>         Enable  ofono headsets:    false
>         Enable GStreamer based codecs: true
> ...
>     Enable GStreamer:              false

Results in:

> $ lddtree /usr/lib64/pulseaudio/modules/libbluez5-util.so
> libbluez5-util.so => /usr/lib64/pulseaudio/modules/libbluez5-util.so (interpreter => none)
>     libgstreamer-1.0.so.0 => /usr/lib64/libgstreamer-1.0.so.0
>         libgmodule-2.0.so.0 => /usr/lib64/libgmodule-2.0.so.0
Comment 1 Igor V. Kovalenko 2021-09-23 13:09:43 UTC
I think bluez5-gstreamer needs to be set together with gstreamer use feature. This should fix it

--- a/media-sound/pulseaudio/pulseaudio-15.0.ebuild
+++ b/media-sound/pulseaudio/pulseaudio-15.0.ebuild
@@ -199,6 +199,7 @@ multilib_src_configure() {
                $(meson_native_use_bool ofono-headset bluez5-ofono-headset)
                $(meson_native_use_feature glib gsettings) # Supposedly correct?
                $(meson_native_use_feature gstreamer)
+               $(meson_native_use_feature gstreamer bluez5-gstreamer)
                $(meson_native_use_feature gtk)
                $(meson_native_use_feature jack)
                -Dsamplerate=disabled # Matches upstream
Comment 2 Larry the Git Cow gentoo-dev 2021-09-23 14:10:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c82141ff000919dd316476959da94d699a5215

commit 85c82141ff000919dd316476959da94d699a5215
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2021-09-23 14:08:57 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2021-09-23 14:09:07 +0000

    media-sound/pulseaudio: always disable bluez5-gst, tweak REQUIRED_USE
    
    To actually function at runtime, bluez5-gstreamer requires gstreamer elements
    that we don't have with gst-1.18 yet, so just explicitly disable them for the
    time being to avoid automagic dependencies.
    USE=gstreamer only enables RTP module for the daemon, so throw it into the
    pile of annoying REQUIRED_USE blockers until that annoyance can be dealt with
    separately.
    
    Closes: https://bugs.gentoo.org/814488
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../pulseaudio/{pulseaudio-15.0.ebuild => pulseaudio-15.0-r1.ebuild}  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 3 Andreas Sturmlechner gentoo-dev 2021-10-12 09:24:38 UTC
*** Bug 817806 has been marked as a duplicate of this bug. ***