circular dependency when building linux_2.6.25.bb
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.
Identifying dependency loops (this may take a short while)...
ERROR:
Dependency loop #1 found:
Task 384 (/opt/workdir/oe/openembedded/recipes/linux/linux_2.6.25.bb,do_deploy) (depends: set([388, 108, 390]))
Task 389 (/opt/workdir/oe/openembedded/recipes/linux/linux_2.6.25.bb,do_compulab_image) (depends: set([384]))
Task 388 (/opt/workdir/oe/openembedded/recipes/linux/linux_2.6.25.bb,do_package) (depends: set([160, 144, 770, 389, 390, 32, 754, 176, 786, 1014, 982, 998, 380]))
It seems that the linux_2.6.25.bb recipe causes dependency loops.
Thanks a lot!
Signature · 4 lines
Guo Hongruan, Embedded Linux Consultant Skype: camelguo Twitter: camelguo http://www.gulessoft.com
Quoted 6 lines · On Sunday 31 January 2010 07:25:42 Guo Hongruan wrote:
Hi guys,
I tried to build openembedded with the following configration in my
local.conf
MACHIN=at91-l9260
DISTRO=micro
LIBC=glibc
It is very nice that you try to so many configurations. Is this the same circular dependency you have hit earlier with the kernel recipes?
Personally, I think it would be super awesome if you could walk the extra mile and make sure the issues are solved as well.
z.
Quoted 2 lines · 在 Sun, 31 Jan 2010 15:12:55 +0800,Holger Hans Peter Freyther…
It is very nice that you try to so many configurations. Is this the same circular dependency you have hit earlier with the kernel recipes?
Yes, I did found some kernel recipe has circular dependency. Previously, I submit a patch for storcenter kernel, which has circular dependency too.
Signature · 4 lines
Guo Hongruan, Embedded Linux Consultant Skype: camelguo Twitter: camelguo http://www.gulessoft.com
Quoted 8 lines · On Sunday 31 January 2010 08:17:45 Guo Hongruan wrote:
在 Sun, 31 Jan 2010 15:12:55 +0800,Holger Hans Peter Freyther
Quoted 2 lines · <[email protected]> 写道:
It is very nice that you try to so many configurations. Is this the same circular dependency you have hit earlier with the kernel recipes?
Yes, I did found some kernel recipe has circular dependency. Previously, I submit a patch for storcenter kernel, which has circular dependency too.
Yes,
and then there was discussion and you left. So the patch is still in the queue waiting for a resolution.
z.
Dnia niedziela, 31 stycznia 2010 o 07:25:42 Guo Hongruan napisał(a):
Quoted 7 lines
Hi guys,
I tried to build openembedded with the following configration in my
local.conf
MACHIN=at91-l9260
DISTRO=micro
LIBC=glibc
Quoted 5 lines
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 .
recipes/linux/linux_2.6.25.bb +1 -1
@@ -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,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
circular dependency when building linux_2.6.30.bb
Re: [oe] circular dependency when building linux_2.6.25.bb below
Quoted 30 lines · Marcin Juszkiewicz <marcin <at> juszkiewicz.com.pl> writes:
Dnia niedziela, 31 stycznia 2010 o 07:25:42 Guo Hongruan napisał(a):
Quoted 7 lines
Hi guys,
I tried to build openembedded with the following configration in my
local.conf
MACHIN=at91-l9260
DISTRO=micro
LIBC=glibcQuoted 5 lines
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 .
recipes/linux/linux_2.6.25.bb +1
-1@@ -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_buildAs we moved deploy task to be *after* package.
Quoted 1 line
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
circular dependency when building virtual/kernel (linux_2.6.30)
In reply to Marcin JuszkiewiczHi!
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