Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661310 - media-sound/pulseaudio realtime support requires USE=dbus, but USE=realtime does not ensure it
Summary: media-sound/pulseaudio realtime support requires USE=dbus, but USE=realtime d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-16 09:53 UTC by Mart Raudsepp
Modified: 2018-07-27 11:50 UTC (History)
1 user (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 Mart Raudsepp gentoo-dev 2018-07-16 09:53:59 UTC
pulseaudio itself doesn't directly depend on rtkit, it just has code to interact with rtkit over dbus. But this code depends on USE=dbus to actually get built.

We have a USE=realtime to ensure rtkit is present (and thus accessible over dbus), but we aren't ensuring the dbus code is actually built.

Should consider a REQUIRED_USE="rtkit? ( dbus )" or implicitly enable dbus with USE="rtkit -dbus" as well, so that USE=rtkit actually ensures realtime works.
Comment 1 Mart Raudsepp gentoo-dev 2018-07-16 09:55:28 UTC
USE flag typos:
Should consider a REQUIRED_USE="realtime? ( dbus )" or implicitly enable dbus with USE="realtime -dbus" as well, so that USE=realtime actually ensures realtime works.*
Comment 2 Larry the Git Cow gentoo-dev 2018-07-27 11:50:22 UTC
The bug has been closed via the following commit(s):

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

commit 4a58753738a073b2d563da3eb74ff209c66a195c
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-07-27 09:27:40 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-07-27 11:44:26 +0000

    media-sound/pulseaudio: require dbus for realtime
    
    rtkit is used at runtime via dbus, thus we need pulseaudio to have
    dbus support for realtime dbus requests from rtkit to work.
    rtkit isn't required at build time, everything is done via dbus.
    realtime priorities will still be requested with a pulseaudio
    USE="dbus -realtime" build, and given if rtkit is available to
    honor the request.
    Relatedly, rtkit depend is moved to runtime only.
    
    Closes: https://bugs.gentoo.org/661310
    Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-sound/pulseaudio/pulseaudio-12.2.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)