From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Cc: clarson@kergoth.com, martin.jansa@gmail.com
Subject: Re: [PATCH] bitbake.conf: don't append MACHINE_OVERRIDES to OVERRIDES when it's empty
Date: Wed, 20 Oct 2010 19:29:06 -0400 [thread overview]
Message-ID: <20101020232906.GY11514@denix.org> (raw)
In-Reply-To: <20101019192458.GB6202@denix.org>
On Tue, Oct 19, 2010 at 03:24:58PM -0400, Denys Dmytriyenko wrote:
> On Tue, Oct 19, 2010 at 02:18:25PM -0500, Maupin, Chase wrote:
> > > > I saw this issue in my overlay of having a "::" in my OVERRIDES which
> > > > caused my parsing to fail in angstrom.inc. Applying this fix from
> > > Martin
> > > > resolves the parsing issue. My OVERRIDES appear to be in the correct
> > > order
> > > > with this change:
> > >
> > > Can you explain this? "caused my parsing to fail" is not very useful
> > > information. What exactly failed?
> >
> > Chris,
> >
> > Sorry, I thought this was an understood issue. I have put the error output
> > I got below. Basically, when I got to line 509 of data.py the variables had
> > the following values:
> >
> > vars = set(['__functions_', '_', '__functions__'])
> >
> > var = '__functions__'
> >
> > overrides = ['pn-angstrom', 'fail-fast', 'build-linux', 'arm', 'INVALID', 'angstrom-2008.1', '', 'am37x-evm', 'local']
> >
> > o = ''
> >
> > OVERRIDES = 'pn-angstrom:fail-fast:build-linux:arm:INVALID:angstrom-2008.1::am37x-evm:local'
> >
> > The current override being evaluated was the '' one.
> >
> > The line being evaluated in my overlay was USERDISTRO := "${DISTRO}" in my
> > copy of angstrom.inc
>
> Chris,
>
> FYI, the below "RuntimeError: Set changed size during iteration" exception
> happens in bitbake 1.8.18 but not the 1.10/mainline.
Chris, Martin,
After more debugging, it seems the problem is caused by using bitbake 1.8.18
and conf/collections.inc at the same time, as that version of bitbake chokes
on empty override "::", when it gets re-spawned from collections.inc. If I
replace the use of COLLECTIONS with direct BBFILES/BBFILE_* assignments, bitbake
parses everything just fine. It is reproducible right now on the latest OE
mainline with bitbake 1.8.18 by just adding "require conf/collections.inc" in
local.conf or bitbake.conf.
I see that Martin's patch was marked as "Superseded" and archived - is there a
new patch coming? Or are there any side-effects of this patch? I would
definitely like to push this patch ASAP to address our immediate problem.
Thanks.
--
Denys
next prev parent reply other threads:[~2010-10-20 23:29 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-15 3:36 [PATCH] Reverse the order of OVERRIDES Chris Larson
2010-10-15 4:07 ` Khem Raj
2010-10-15 6:56 ` Frans Meulenbroeks
2010-10-15 14:18 ` Tom Rini
2010-10-15 10:42 ` Koen Kooi
2010-10-15 14:12 ` Maupin, Chase
2010-10-15 15:17 ` Chris Larson
2010-10-15 15:29 ` Maupin, Chase
2010-10-15 15:41 ` [PATCH (v2)] " Chris Larson
2010-10-15 16:02 ` Maupin, Chase
2010-10-15 17:20 ` Khem Raj
2010-10-15 19:37 ` Koen Kooi
2010-10-15 19:44 ` Chris Larson
2010-11-10 14:26 ` Richard Purdie
2010-11-10 16:22 ` Otavio Salvador
2010-11-10 16:27 ` Tom Rini
2010-11-10 16:29 ` Tom Rini
2010-12-01 20:26 ` Maupin, Chase
2010-12-01 21:29 ` Chris Larson
2010-10-16 18:04 ` [PATCH] " Martin Jansa
2010-10-16 18:24 ` Chris Larson
2010-10-16 18:50 ` Martin Jansa
2010-10-16 19:35 ` Martin Jansa
2010-10-16 19:54 ` Martin Jansa
2010-10-16 19:24 ` [PATCH] bitbake.conf: don't append MACHINE_OVERRIDES to OVERRIDES when it's empty Martin Jansa
2010-10-19 19:05 ` Maupin, Chase
2010-10-19 19:09 ` Chris Larson
2010-10-19 19:18 ` Maupin, Chase
2010-10-19 19:24 ` Denys Dmytriyenko
2010-10-20 23:29 ` Denys Dmytriyenko [this message]
2010-10-20 23:34 ` Chris Larson
2010-10-21 2:45 ` Denys Dmytriyenko
2010-10-21 6:27 ` Martin Jansa
2010-10-21 14:04 ` Chris Larson
2010-10-19 19:24 ` Maupin, Chase
2010-10-16 19:32 ` [PATCH] bitbake.conf: reverse OVERRIDES order in FILESPATH definition Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101020232906.GY11514@denix.org \
--to=denis@denix.org \
--cc=clarson@kergoth.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox