I'm trying to break the systemd<=>dbus circular dependency in order to be able to build dbus with systemd support (with the end goal of using systemd user sessions in the distro I'm working on). With systemd > 222 systemd only needs dbus to build some tests, therefore we can remove dbus from the systemd DEPENDS and pass --disable-dbus without any loss of functionality in systemd (we're doing this with a PACKAGECONFIG). In the non-ptest case this breaks the circular systemd<=>dbus dependency and enables us to have dbus DEPENDS on systemd and make use of --enable-systemd. However with ptest in DISTRO_FEATURES glib-2.0 gains a dbus DEPENDS which creates a circular dependency because systemd DEPENDS on glib-2.0 which DEPENDS on dbus which DEPENDS on systemd. I'm working around this by using a glib-2.0_%.bbappend file to remove dbus DEPENDS and disable ptest for that recipe, but this is less than ideal. What I'd really like to do is come up with a clean way to break this circular dependency in the core metadata so that we can provide systemd support in dbus as a PACKAGECONFIG for more folks to make use of. Unfortunately I haven't yet come up with a clean way to implement this, hence this bug report.
As discussed on IRC it's likely that the glib dependency in systemd can be removed now, which should solve this.
(In reply to comment #1) > As discussed on IRC it's likely that the glib dependency in systemd can be > removed now, which should solve this. I shall prepare & test a patch for this on Wednesday.
*Cough*. Patch on the list.
Fixed in oe-core 5e124c2ad5d961cdab954ab054f9ae7718ab1b55 (in jethro).