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
Created attachment 775296 [details] build.log for dbus flag mismatch
Created attachment 775299 [details] build.log for X flag mismatch
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(-)
Thanks for the thorough bug report!
*** Bug 841635 has been marked as a duplicate of this bug. ***