On Tue, Feb 24 2026 at 07:53:37 +01:00:00, Markus Volk <f_l_k@t-online.de> wrote:
On Mon, Feb 23 2026 at 18:08:09 +00:00:00, Ross Burton <Ross.Burton@arm.com> wrote:
So the situation is you have an image that uses dbus-broken but as that is just the daemon you also have libdbus

Resend this answer because it was bouncing back

The situation is that I want to use dbus-broker but not additionally libdbus. dbus-broker.bb adds a runtime dependency on dbus-common and dbus-tools.

https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-core/dbus/dbus-broker_37.bb#n38

Thats why dbus recipe is built despite setting VIRTUAL_RUNTIME_dbus = "dbus-broker" and because of that we end up with a runtime dependency on dbus if ptests
is in DISTRO_FEATURES.

https://git.openembedded.org/openembedded-core/tree/meta/classes-recipe/ptest.bbclass#n26

That causes an error at do_rootfs, because dbus-broker.bb makes dbus and dbus-broker mutually exclusive:

https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-core/dbus/dbus-broker_37.bb#n37

I dont know, if the dbus tests are meant to be run with dbus-broker but dbus-broker installs its own ptest. Shouldn't that be sufficient?