[poky] SRCREV_FORMAT breaks my builds

Bruce Ashfield bruce.ashfield at gmail.com
Thu Jan 6 19:06:12 PST 2011


On Thu, Jan 6, 2011 at 7:04 PM, Gary Thomas <gary at 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.

Bruce

>
> Since I have my own machines and linux recipes, the linux-yocto
> ones are not needed and indeed cause pain.  How can I ignore
> them (since I want to use the poky meta layer untouched)?
>
> Thanks
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the poky mailing list