From: Gary Thomas <gary@mlbassoc.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: SRCREV_FORMAT breaks my builds
Date: Fri, 07 Jan 2011 06:13:44 -0700 [thread overview]
Message-ID: <4D271188.7010208@mlbassoc.com> (raw)
In-Reply-To: <1294405139.17519.27035.camel@rex>
On 01/07/2011 05:58 AM, Richard Purdie wrote:
> On Thu, 2011-01-06 at 22:26 -0500, Bruce Ashfield wrote:
>> On Thu, Jan 6, 2011 at 10:10 PM, Bruce Ashfield
>> <bruce.ashfield@gmail.com> wrote:
>>> On Thu, Jan 6, 2011 at 10:06 PM, Bruce Ashfield
>>> <bruce.ashfield@gmail.com> wrote:
>>>> On Thu, Jan 6, 2011 at 7:04 PM, Gary Thomas<gary@mlbassoc.com> wrote:
>>>>> My system builds on the Poky meta layer (only), plus my
>>>>> target layers. As of an update today, I now get errors
>>>>> parsing any package (in meta) which uses SRCREV_FORMAT.
>>>>>
>>>>> The error (bitback tracebacks) is attached.
>>>>>
>>>>> I see these recipes with SRCREV_FORMAT:
>>>>> ./meta/recipes-kernel/linux/linux-yocto-stable_git.bb:SRCREV_FORMAT =
>>>>> "meta_machine"
>>>>> ./meta/recipes-kernel/linux/linux-yocto_git.bb:SRCREV_FORMAT =
>>>>> "meta_machine"
>>>>> ./meta/recipes-kernel/linux-libc-headers/linux-libc-headers-yocto_git.bb:SRCREV_FORMAT
>>>>> = "meta_machine"
>>>>>
>>>>> This error happens because I have my own machine(s) which
>>>>> are not listed in poky-default-revisions.inc, such as:
>>>>> SRCREV_machine_pn-linux-yocto-stable_beagleboard ?=
>>>>> "0431115c9d720fee5bb105f6a7411efb4f851d26"
>>>>> adding such an entry for my machine into my distribution
>>>>> files does work past the problem.
>>>>
>>>> Interesting. I've suffered my fair share of SRCREV pain, but this time I
>>>> haven't touched anything in days, and a quick look didn't show me
>>>> any suspect commits. But from the traces, it is does look to me to be
>>>> another case of the fetcher going out and attempting to validate the
>>>> branches in the SRC_URI of the yocto kernel.
>>>>
>>>> Did you try bisecting a bit to narrow down on the offending commit ?
>>>> I'm not seeing it myself, but if I reproduce it here, I'll try locate what's
>>>> up. There has been fetching work ongoing, but it doesn't appear to be
>>>> the cause here.
>>>>
>>>> I may be able to drop a sane default in the recipes that will keep
>>>> this working, but until I reproduce it, I can't run effective experiments.
>>>> It should simply be pointing at the fallback branches and going merrily
>>>> along in the build
>>>>
>>>> I'll continue to try and reproduce this here.
>>>
>>> And sure enough, I immediately saw this after hitting send. I'm having
>>> a look at this now.
>>
>> My first thought on this was "It must be the recent SRCPV changes", and
>> sure enough, removing SRCPV from the PV of the offending recipes clears
>> out the errors. Whacking SRCREV with any value in the recipes themselves
>> also fixes things up, I'm going to do some test builds to see if that is the
>> solution since the later processing should do the right thing with the specific
>> SRCREV overrides.
>>
>> I'm not seeing why this is being triggered though, it could be a combination
>> of several things .. or I'm just over looking something obvious. I'm more of
>> a kernel guy than a bitbake hacker at this point.
>>
>> Not much help yet, but providing some extra data.
>
> The error is caused by our recent updates to bitbake from bitbake
> upstream. The behaviour of skipped tasks changed in the cache changes in
> that variable expansion was still attempted for variables from skipped
> recipes.
>
> I've added this fix:
>
> http://git.pokylinux.org/cgit.cgi/poky/commit/?id=847b717862a518746bc5e457f40760e3bd36f1db
>
> which seems to fix the problem here for me.
Works for me as well. Thanks for the quick response!
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2011-01-07 13:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 0:04 SRCREV_FORMAT breaks my builds Gary Thomas
2011-01-07 3:06 ` Bruce Ashfield
2011-01-07 3:10 ` Bruce Ashfield
2011-01-07 3:26 ` Bruce Ashfield
2011-01-07 12:58 ` Richard Purdie
2011-01-07 13:13 ` Gary Thomas [this message]
2011-01-07 14:44 ` Chris Larson
2011-01-10 21:07 ` Richard Purdie
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=4D271188.7010208@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=poky@lists.pokylinux.org \
--cc=richard.purdie@linuxfoundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.