[oe] glib-2.0_2.26.1 missing dependency on dbus

Martin Jansa martin.jansa at gmail.com
Wed Dec 8 05:32:40 UTC 2010


Hi,

simply adding it to depends create circular dependency

bitbake at jama ~/dev/recipes $ grep glib dbus/dbus.inc 
DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"

dbus needs glib it only for dbus-viewer and builds ok without glib, so
I've removed glib-2.0 in dbus and added dbus to glib-2.0_2.26.1 and 
tried again...

These are usually caused by circular dependencies and any circular 
dependency chains found will be printed below. Increase the debug 
level to see a list of unbuildable tasks.

It didn't detect it.. so I had to find it manually:
bitbake at jama ~/dev/recipes $ grep glib dbus/dbus.inc
DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"

bitbake at jama ~/dev/recipes $ grep util-linux-ng xorg-lib/libsm_1.2.0.bb
DEPENDS += "libice xproto xtrans util-linux-ng"
bitbake at jama ~/dev/recipes $ grep udev util-linux-ng/util-linux-ng.inc
DEPENDS = "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} udev  zlib ncurses virtual/libintl"
bitbake at jama ~/dev/recipes $ grep glib udev/udev_151.bb
# Needed for udev-extras
DEPENDS = "gperf-native usbutils acl glib-2.0"

util-linux-ng seems to build fine without udev but is there better place
to break this curcular dependency?

Regards,




More information about the Openembedded-devel mailing list