[OE-core] [PATCH 3/4] distcc: make distccmon-gnome optional and default to off

Richard Purdie richard.purdie at linuxfoundation.org
Tue Nov 15 10:15:06 UTC 2011


On Tue, 2011-11-15 at 08:58 +0100, Koen Kooi wrote:
> Op 14 nov. 2011, om 22:48 heeft Richard Purdie het volgende geschreven:
> 
> > On Mon, 2011-11-14 at 21:55 +0100, Koen Kooi wrote:
> >> Op 14 nov. 2011, om 21:39 heeft Richard Purdie het volgende geschreven:
> >>> On Mon, 2011-11-14 at 20:17 +0100, Koen Kooi wrote:
> >>>> I think splitting distccmon-gnome into a seperate recipe is a better idea.
> >>> 
> >>> I think that makes sense in some cases but I'd hate for it to become the
> >>> default approach for issues like this as the duplication of code,
> >>> parsing and build time etc. grate on me. Do we really need separate
> >>> recipes?
> >> 
> >> I think for this case, yes. And I'll happily trade needing extra
> >> buildtime for not needing USEFLAGS.
> >> 
> > The proposals for alternative recipes for the different combinations got
> > voted down and PACKAGECONFIG was the preferred solution. I can't say I
> > personally like everything about the outcome. I do however understand
> > why we've ended up in that position and don't intend to undermine the
> > usefulness of it.
> > 
> >>> I'll probably take this patch as it improves the situation IMO (and
> >> is
> >>> easy to change the configuration from a distro config if anyone does
> >>> have an issue with it being disabled).
> >> 
> >> This patch changes the default behaviour in a way that distros need to
> >> update their configs in order to keep the status quo. I know I use
> >> distccmon-gnome on my boards, but will I remember 2 months from now
> >> that this patch went in? I asked this before in a different context,
> >> but I'll ask again: do you expect distro maintainers to vet each and
> >> every commit that goes into OE-core to find out when default got
> >> (silently) changed?
> >> 
> >> USEFLAGS should be a last resort when having seperate recipes doesn't
> >> work out, not a default cure. 
> > 
> > The discussion and decision went against this, rightly or wrongly
> > PACKAGECONFIG is here and we should start to use it. In some cases it
> > will help you a lot, in others it will cause you a bit more work. Such
> > is life.
> 
> Let's move this to the TSC and see if we can get this crap removed.

Lets revisit the original problem - how can a user disable something
like X11 from being built when they don't need/want/care about it? We
have the layers mechanism but I don't think its reasonable for them to
have to bbappend everything with an optional X dependency which was the
only option previously available.

I can't say I love the PACKAGECONFIG code but equally I'm not aware of
any better proposal for solving a real world issue a significant portion
of the userbase has in some form (be it X11, gstreamer plugins or other
areas).

>  There is already an existing ruling that USEFLAGS should be a last
> resort. 

There was a discussion about *not* calling these USEFLAGS...

> I'm tired of yocto-marketing feel good patches making life harder for
> people actually using oe-core and its output.

I can think of several actual users who find PACKAGECONFIG makes their
life much easier. I'd guess they're not "proper" users though?

You keep talking about "them" and "us" and I'm really getting sick of
it. The whole point is we work as one team on OE-Core. This also means
we also take collective responsibility for actions ("disagree and
commit"). There are a ton of hoops I jump through when trying to
maintain OE-Core to ensure its not just me but everyone gets time for
review, discussion etc. of patches and that there is a decision making
process which involved others for major decisions (the TSC).

Decisions around PACKAGECONFIG were nothing to do with Yocto, Yocto
didn't ask for it. Since OE-Core committed to that direction, yes, Yocto
people have written some patches using it. Yocto did ensure during the
discussion about that feature it could solve some problems Yocto was
aware of.

Its ironic I'm now in the position I'm defending something I was never
keen on (but I do understand why on balance we probably do need it).

Cheers,

Richard






More information about the Openembedded-core mailing list