[oe] very obscure race: access to a just-populated binary

Stanislav Brabec utx at penguin.cz
Tue Sep 8 19:53:52 UTC 2009


Phil Blundell wrote: 
> On Sun, 2009-09-06 at 19:49 +0200, Stanislav Brabec wrote:
> > i did not know it. recipes/jpeg/jasper_1.900.1.bb and other recipes
> > contain DEPENDS = "unzip-native", and it does not work.
> 
> Try:
> 
> do_unpack[depends] += "unzip-native:do_populate_staging"

Works:
NOTE: Running task 3984 of 4299 (ID: 3650, /OE/openembedded/recipes/jpeg/jasper_1.900.1.bb, do_fetch)
NOTE: Running task 4023 of 4299 (ID: 1693, /OE/openembedded/recipes/unzip/unzip-native_552.bb, do_populate_staging)
NOTE: Running task 4027 of 4299 (ID: 3651, /OE/openembedded/recipes/jpeg/jasper_1.900.1.bb, do_unpack)

Before the change, bitbake was trying to unpack jasper before populating
of unzip-native. 

Pushed as
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=d5345f88b5ffdca098e0281f42f51e42ef43e79d

Thanks for your hint.

________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus





More information about the Openembedded-devel mailing list