Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933218

Summary: media-video/pipewire: automagic dependency on media-libs/webrtc-audio-processing
Product: Gentoo Linux Reporter: Eli Schwartz <eschwartz>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz, leio
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/2028
Whiteboard:
Package list:
Runtime testing required: ---

Description Eli Schwartz gentoo-dev 2024-05-30 23:58:34 UTC
From the ebuild:

$(meson_native_use_feature echo-cancel echo-cancel-webrtc) #807889

From portage:

>>> Unmerging (2 of 53) media-libs/webrtc-audio-processing-1.3-r3...
>>> needed   obj /usr/lib64/libwebrtc-audio-processing-1.so.3


!!! existing preserved libs:
>>> package: media-libs/webrtc-audio-processing-1.3-r3
 *  - /usr/lib64/libwebrtc-audio-processing-1.so.3
 *      used by /usr/lib64/spa-0.2/aec/libspa-aec-webrtc.so (media-video/pipewire-1.0.5)
Use emerge @preserved-rebuild to rebuild packages using these libraries


The upstream meson.build doesn't properly respect the meson feature option.
Comment 1 Larry the Git Cow gentoo-dev 2024-07-01 08:19:58 UTC
The bug has been closed via the following commit(s):

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

commit a7ff87b07c894cdfce5c6b041d4aff5dd353b889
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-06-30 15:30:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-01 08:19:12 +0000

    media-video/pipewire: backport patch to fix automagic webrtc dependency
    
     * VDB: detected possibly incorrect RDEPEND (media-video/pipewire-1.0.7)
     *                  > media-libs/libpulse
     *                  > media-libs/webrtc-audio-processing
    
    The build system was simply ignoring the option which controlled this.
    
    Closes: https://bugs.gentoo.org/933218
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...e-1.0.7-automagic-webrtc-audio-processing.patch | 95 ++++++++++++++++++++++
 media-video/pipewire/pipewire-1.0.7.ebuild         |  3 +
 2 files changed, 98 insertions(+)