[oe] circular dependency when building linux_2.6.30.bb

Matti Kaasinen matti.kaasinen at gmail.com
Tue Jul 27 15:18:04 UTC 2010


Re: [oe] circular dependency when building linux_2.6.25.bb below
Marcin Juszkiewicz <marcin <at> juszkiewicz.com.pl> writes:

> 
> Dnia niedziela, 31 stycznia 2010 o 07:25:42 Guo Hongruan napisał(a):
> > Hi guys,
> >    I tried to build openembedded with the following configration in my
> > local.conf
> > MACHIN=at91-l9260
> > DISTRO=micro
> > LIBC=glibc
> > 
> > But I failed to start building and met the following error:
> > ERROR: Unbuildable tasks were found.
> > 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.
> 
> Try this patch:
> 
> 10:21 hrw <at> home:linux$ git diff .
> diff --git a/recipes/linux/linux_2.6.25.bb b/recipes/linux/linux_2.6.25.bb
> index a89374a..38e651b 100644
> --- a/recipes/linux/linux_2.6.25.bb
> +++ b/recipes/linux/linux_2.6.25.bb
> @@ -98,5 +98,5 @@ python do_compulab_image() {
>  }
> 
> -addtask compulab_image after do_deploy before do_package
> +addtask compulab_image after do_deploy before do_build
> 
> As we moved deploy task to be *after* package.
> 
> Regards, 
-------------------------------------
Hi,

I tried to build linux_2.6.30.bb, i.e. virtual/kernel using 
linux4sam.org overlay with settings:
MACHINE = "at91sam9260ek"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "glibc"
and org.openembedded.dev

I faced similar problems as described above 
(Re: [oe] circular dependency when building linux_2.6.25.bb)
and thanks to the answer above I also managed finding solution as follows:

oe_at91sam/...../linux.inc had line:
addtask devicetree_image after do_deploy before do_package

I replaced it to line below found from org.openembedded.dev/..../linux.inc:
addtask devicetree_image after do_install before do_package do_deploy

This solved the problem.
I hope someone can find this useful,
-Matti









More information about the Openembedded-devel mailing list