[OE-core] [dylan, master][PATCH] autotools.bbclass: Fix race with sed-native
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Oct 5 07:37:00 UTC 2013
On Fri, 2013-10-04 at 20:22 -0700, Saul Wold wrote:
> On 10/04/2013 04:35 PM, Richard Tollerton wrote:
> > Suppose the following:
> > 1) foo.do_configure/do_build runs in parallel with
> > sed-native.do_configure;
> > 2) foo.do_configure/do_build makes use of sed (i.e. inherits autotools);
> > 3) A previously built sed-native already exists in the native sysroot,
> > and in the sstate cache.
> >
> > Then sed-native may be deleted from its sysroot via
> > sstate_clean_manifest while foo.do_configure/do_build is using it,
> > leading to an irreproducible build failure.
> >
> > This fix does for sed-native what's already done for libtool-native,
> > with some additional light refactoring.
> >
> This also starts to create more front end bottle next on autotools
> related items before we can really start to parallelize the build.
>
> More thought is required on this.
Please have a look at the sed-native changes that went into master
recently as I think this issue has been fixed differently...
Cheers,
Richard
More information about the Openembedded-core
mailing list