[OE-core] [dylan, master][PATCH] autotools.bbclass: Fix race with sed-native

Richard Purdie richard.purdie at linuxfoundation.org
Thu Oct 10 09:00:12 UTC 2013


On Tue, 2013-10-08 at 12:47 -0500, Richard Tollerton wrote:
> richard.purdie at linuxfoundation.org writes:
> 
> >> I know that the OE build is horribly slow, but is it really so slow as
> >> to require short-circuiting native package dependencies such as this?
> >> Has there been a general architectural decision made over this sort of
> >> thing? (I'm sorry, I tried to search for one on the mailing list and
> >> wiki, but couldn't find any.)
> >
> > Some native utilities cause big problems in the dependency chain. Things
> > like tar and gzip have caused us big problems in the past. We've made a
> > conscious decision to require specific versions of tar, gzip and git for
> > example to ensure builds work as expected.
> 
> I can level with that. However, it doesn't seem obvious that such a
> decision was conscientiously made, judging from the code/documentation
> (at least to a neophyte like me). Is there a place I've missed where
> such technical decisions have been documented? (Or should there be? Or
> should I just ask these sorts of questions on IRC?)

There have been mailing list discussions that have happened as issues
have been noticed and patches which documented what was being changed
and why. The "formal" documentation is probably the ASSUME_PROVIDED
variable. The project makes lots of decisions and its hard to document
everything formally, help in doing that would be great but it would be
hard. I guess asking people is the best way of getting information (as
you're doing now) and/or looking at the mailing list archives and the
git history.

For example, searching for "git-native" shows:

http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t2&id=617835990edf1d7ca4fc8c08993b1b6725f12290

> > The list of things we assume are ok is relatively small and we look at
> > new issues on a case by case basis. I think sed is well enough
> > established and well enough behaved to be something we can rely on. In
> > general we don't rely on much. Do you have any other specific things you
> > worry about? When you start to look at it, the list is rather small...
> 
> The biggest thing I can think of is gcc-native. My understanding of gcc
> documentation is that it's recommended to build a cross-compiler with a
> bootstrap, or at least the same version of compiler, and we're not doing
> that. (Right?)

We don't build a gcc-native, no. Equally, we've not run in many issues
due to that so its not been something we've thought necessary.

Cheers,

Richard





More information about the Openembedded-core mailing list