[OE-core] "Fetcher failure: SRCREV was used yet no valid SCM was found in SRC_URI"

Robert P. J. Day rpjday at crashcourse.ca
Mon Dec 31 17:15:54 UTC 2012


  i'm sure it's something i'm doing but i'm playing with an OE
configuration for qemuarm and experimenting with "bitbake -e" and got
this:

$ bitbake -e core-image-minimal | grep SRCREV
... snip ...
# expansion of SRCPV threw ExpansionError: Failure expanding variable
SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered
exception FetchError: Fetcher failure: SRCREV was used yet no valid
SCM was found in SRC_URI
# SRCREV=INVALID
SRCREV="INVALID"
... snip ...
$

  i can appreciate *why* this is happening if the fetcher code thinks
that's a valid value for SRCREV but there's no SRC_URI value for
core-image-minimal.

  i've googled a bit and perused the code but i'm guessing someone
else can probably see what's happening in seconds.  the above doesn't
appear to hurt anything, but it certainly seems like a bogus error.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list