Skip to contentSkip to conversation

glib-2.0_2.26.1 missing dependency on dbus

DISCUSSION Martin Jansa 3 participants 3 messages Dec 8, 2010 – Dec 22, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

simply adding it to depends create circular dependency

bitbake@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@jama ~/dev/recipes $ grep glib dbus/dbus.inc DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"

bitbake@jama ~/dev/recipes $ grep util-linux-ng xorg-lib/libsm_1.2.0.bb
DEPENDS += "libice xproto xtrans util-linux-ng"
bitbake@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@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,

#1 lore raw
Quoted 27 lines · Martin Jansa

Hi,

simply adding it to depends create circular dependency

bitbake@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@jama ~/dev/recipes $ grep glib dbus/dbus.inc DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"

bitbake@jama ~/dev/recipes $ grep util-linux-ng xorg-lib/libsm_1.2.0.bb
DEPENDS += "libice xproto xtrans util-linux-ng"
bitbake@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@jama ~/dev/recipes $ grep glib udev/udev_151.bb
# Needed for udev-extras
DEPENDS = "gperf-native usbutils acl glib-2.0"

Quoted 2 lines

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

Yes I think util-linux-ng should not depend on udev. It came with

commit 27aaabfb1a64de15f9a8b6665997ac47a4de13ff

You might want to have a look on following commits

commit 55845cdac649c66bb4ca72b81313e0a443ec40e1
commit 79459407397fc6a592e6e2fece252f793f9ca8db

-Khem

#2 lore raw
In reply to Martin Jansa

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 27 lines · Martin Jansa

Hi,

simply adding it to depends create circular dependency

bitbake@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@jama ~/dev/recipes $ grep glib dbus/dbus.inc DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"

bitbake@jama ~/dev/recipes $ grep util-linux-ng xorg-lib/libsm_1.2.0.bb
DEPENDS += "libice xproto xtrans util-linux-ng"
bitbake@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@jama ~/dev/recipes $ grep glib udev/udev_151.bb
# Needed for udev-extras
DEPENDS = "gperf-native usbutils acl glib-2.0"

Quoted 2 lines

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

If util-linux-ng builds without udev nowadays, we should remove it. IIRC I only added it to fix a build error.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNEbZmMkyGM64RGpERAqQDAJ0WFzv9Iqr2Hzb6aWqOwpZusCEk8wCcDlz8 u0D1MLe1T2dj3ptxHpRlxp4=
=GQ+U
-----END PGP SIGNATURE-----