Patchworkβ [oe] circular dependency when building linux_2.6.25.bb

login
register
about
Submitter Marcin Juszkiewicz
Date 2010-02-01 09:21:47
Message ID <201002011021.47660.marcin@juszkiewicz.com.pl>
Download mbox | patch
Permalink /patch/1538/
State Superseded, archived
Headers show

Comments

Marcin Juszkiewicz - 2010-02-01 09:21:47
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@home:linux$ git diff .
As we moved deploy task to be *after* package.

Regards,
Matti Kaasinen - 2010-07-27 15:18:04
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
Matti Kaasinen - 2010-07-28 19:52:20
Hi!
I faced with "ERROR: Unbuildable tasks were found" when building virtual/kernel 
for linux_2.6.25 using at91sam overlay over org.openembedded.dev branch:

Problem seems similar to the one described in:
"Re: [oe] circular dependency when building linux_2.6.25.bb"
by Marcin Juszkiewicz <marcin <at> juszkiewicz.com.pl>

Problem was fixed by replacing ./oe_at91sam/recipes/linux/linux.inc line:
"addtask devicetree_image after do_deploy before do_package"

with line:
"addtask devicetree_image after do_install before do_package do_deploy"

found from ./org.openembedded.dev/recipes/linux/linux.inc 

I hope at91sam users can find this useful when switching to OE dev branch.
Regards,
Matti

Patch

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