diff mbox series

glib-2.0: RDEPEND on dbus-daemon for ptests

Message ID 20261102152447.3237361-1-khem.raj@oss.qualcomm.com
State Under Review
Headers show
Series glib-2.0: RDEPEND on dbus-daemon for ptests | expand

Commit Message

Khem Raj Nov. 2, 2026, 3:24 p.m. UTC
gdbus-tool.py and the memory-monitor/power-profile-monitor tests start
private buses with dbus-daemon (via GTestDBus and python-dbusmock). They
do not need the system bus provider, so depending on
VIRTUAL-RUNTIME_dbus is wrong.
with dbus-broker as the provider there is no dbus-daemon in the image
and these tests fail with

  Error spawning dbus-daemon: Failed to spawn child process "dbus-daemon" (No such file or directory)

Depend on the dbus-daemon package instead, which can be installed
alongside dbus-broker.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta/recipes-core/glib-2.0/glib.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index c87104451a..5ac6386494 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -168,7 +168,7 @@  RDEPENDS:${PN}-dev += "${PN}-utils"
 RDEPENDS:${PN}-ptest += "\
             coreutils \
             libgcc \
-            ${VIRTUAL-RUNTIME_dbus} \
+            dbus-daemon \
             desktop-file-utils \
             gnome-desktop-testing \
             tzdata \