Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841602 - media-sound/pulseaudio-daemon-15.99.1-r1 use flags must match libpulse
Summary: media-sound/pulseaudio-daemon-15.99.1-r1 use flags must match libpulse
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:
: 841635 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-04-29 06:23 UTC by Märt Bakhoff
Modified: 2022-04-29 08:31 UTC (History)
2 users (show)

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


Attachments
build.log for dbus flag mismatch (build-dbus.log,121.04 KB, text/x-log)
2022-04-29 06:24 UTC, Märt Bakhoff
Details
build.log for X flag mismatch (build-X.log,163.48 KB, text/x-log)
2022-04-29 06:24 UTC, Märt Bakhoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2022-04-29 06:23:19 UTC
Tried to build pulseaudio-daemon with

media-libs/libpulse-15.99.1-r1::gentoo USE="-X -dbus"
media-sound/pulseaudio-daemon-15.99.1-r1::gentoo  USE="X dbus"

pulseaudio-daemon does not require the flags to match, but the build will fail when they don't. 

error when libpulse has -dbus: 

/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: protocol-dbus.c:(.text+0x10ac): undefined reference to `pa_dbus_send_error'
collect2: error: ld returned 1 exit status

after adding dbus to libpulse, but not X:

/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: module-tunnel.c:(.text+0x53ae): undefined reference to `pa_x11_get_prop'
collect2: error: ld returned 1 exit status

After adding both X and dbus to libpulse the build will succeed.

Reproducible: Always
Comment 1 Märt Bakhoff 2022-04-29 06:24:26 UTC
Created attachment 775296 [details]
build.log for dbus flag mismatch
Comment 2 Märt Bakhoff 2022-04-29 06:24:59 UTC
Created attachment 775299 [details]
build.log for X flag mismatch
Comment 3 Larry the Git Cow gentoo-dev 2022-04-29 06:27:46 UTC
The bug has been closed via the following commit(s):

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

commit 74cce86e62830f28f490764b74d3868753c34933
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-29 06:27:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-29 06:27:39 +0000

    media-sound/pulseaudio-daemon: pass on dbus, X deps to libpulse
    
    Closes: https://bugs.gentoo.org/841602
    Signed-off-by: Sam James <sam@gentoo.org>

 ...dio-daemon-15.99.1-r1.ebuild => pulseaudio-daemon-15.99.1-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-29 06:28:10 UTC
Thanks for the thorough bug report!
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-29 08:31:53 UTC
*** Bug 841635 has been marked as a duplicate of this bug. ***