All of lore.kernel.org
 help / color / mirror / Atom feed
* glib-2.0_2.26.1 missing dependency on dbus
@ 2010-12-08  5:32 Martin Jansa
  2010-12-20  2:53 ` Khem Raj
  2010-12-22  8:27 ` Koen Kooi
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Jansa @ 2010-12-08  5:32 UTC (permalink / raw)
  To: openembedded-devel

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,



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glib-2.0_2.26.1 missing dependency on dbus
  2010-12-08  5:32 glib-2.0_2.26.1 missing dependency on dbus Martin Jansa
@ 2010-12-20  2:53 ` Khem Raj
  2010-12-22  8:27 ` Koen Kooi
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2010-12-20  2:53 UTC (permalink / raw)
  To: openembedded-devel

On (08/12/10 06:32), Martin Jansa wrote:
> 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?

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: glib-2.0_2.26.1 missing dependency on dbus
  2010-12-08  5:32 glib-2.0_2.26.1 missing dependency on dbus Martin Jansa
  2010-12-20  2:53 ` Khem Raj
@ 2010-12-22  8:27 ` Koen Kooi
  1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2010-12-22  8:27 UTC (permalink / raw)
  To: openembedded-devel

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

On 08-12-10 06:32, Martin Jansa wrote:
> 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?

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-----




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-22  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-08  5:32 glib-2.0_2.26.1 missing dependency on dbus Martin Jansa
2010-12-20  2:53 ` Khem Raj
2010-12-22  8:27 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.