[oe] [Bitbake-dev] Bitbake runqueue performance improvement

Michael Smith msmith at cbnco.com
Wed Jul 22 13:13:37 UTC 2009


On Wed, 22 Jul 2009, Richard Purdie wrote:

> On Tue, 2009-07-21 at 18:58 -0400, Michael Smith wrote:

> So task 7 depends on task 9 which depends on task 8 which depends on
> task 7. Its lists what tasks 7, 8 and 9 are.

Ah. Sorry, router exploded, broke brain. The loop message is fairly self 
explanatory, now that I actually read it.

I get a similar problem with micro-image:

Dependency loop #1 found:
  Task 7 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_install) (depends: set([9, 6]))
  Task 8 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_populate_staging) (depends: set([7]))   
  Task 9 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_rootfs) (depends: set([385, 387, 133, 6, 135, 8, 265, 13, [...]

Dependency loop #2 found:
  Task 7 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_install) (depends: set([9, 6]))
  Task 11 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_package) (depends: set([7]))
  Task 13 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_package_write_deb) (depends: set([11]))
  Task 9 (/home/michael/git/toastix/oe/recipes/images/micro-image.bb, 
do_rootfs) (depends: set([385, 387, 133, 6, 135, 8, 265, 13, [...]


Before the patch, I have dependencies for

<image>.do_package -> <image>.do_install -> <image>.do_rootfs

Also, <image>.do_package_write_deb -> <image>.do_package.

At the top of the thread you wrote about extra dependecies being 
introduced (<image>.do_rootfs -> <image>.do_package_write_ipk, or 
write_deb in my case). I think this is what creates the loop.

I can get you instructions for building with the overlay if you like -- 
contact me off list if you're interested.

Mike




More information about the Openembedded-devel mailing list