From: Gary Thomas <gary@mlbassoc.com>
To: Poky <poky@lists.pokylinux.org>
Subject: SRCREV_FORMAT breaks my builds
Date: Thu, 06 Jan 2011 17:04:30 -0700 [thread overview]
Message-ID: <4D26588E.7070701@mlbassoc.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
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.
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
------------------------------------------------------------
[-- Attachment #2: out --]
[-- Type: text/plain, Size: 10781 bytes --]
Pseudo has not been built, building this first before the main build
Loading cache...done.
Loaded 687 entries from dependency cache.
Parsing recipes...ERROR: Error evaluating '${@bb.fetch.get_srcrev(d)}'
Traceback (most recent call last):
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 76, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d))
File "/tmp/poky-mlb/bitbake/lib/bb/utils.py", line 400, in better_eval
return eval(source, _context, locals)
File "SRCPV", line 1, in <module>
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 389, in get_srcrev
ud.setup_localpath(d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 572, in setup_localpath
self.localpath = self.method.localpath(self.url, self, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/git.py", line 59, in localpath
tag = Fetch.srcrev_internal_helper(ud, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 701, in srcrev_internal_helper
raise InvalidSRCREV("Please set SRCREV to a valid value")
InvalidSRCREV: Please set SRCREV to a valid value
ERROR: Error evaluating '${LINUX_VERSION}+git${SRCPV}'
Traceback (most recent call last):
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 76, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d))
File "/tmp/poky-mlb/bitbake/lib/bb/utils.py", line 400, in better_eval
return eval(source, _context, locals)
File "SRCPV", line 1, in <module>
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 389, in get_srcrev
ud.setup_localpath(d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 572, in setup_localpath
self.localpath = self.method.localpath(self.url, self, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/git.py", line 59, in localpath
tag = Fetch.srcrev_internal_helper(ud, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 701, in srcrev_internal_helper
raise InvalidSRCREV("Please set SRCREV to a valid value")
InvalidSRCREV: Please set SRCREV to a valid value
ERROR: Error evaluating 'sstate-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}-${PV}-${PR}-${SSTATE_PKGARCH}-${SSTATE_VERSION}-'
Traceback (most recent call last):
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 76, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d))
File "/tmp/poky-mlb/bitbake/lib/bb/utils.py", line 400, in better_eval
return eval(source, _context, locals)
File "SRCPV", line 1, in <module>
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 389, in get_srcrev
ud.setup_localpath(d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 572, in setup_localpath
self.localpath = self.method.localpath(self.url, self, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/git.py", line 59, in localpath
tag = Fetch.srcrev_internal_helper(ud, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 701, in srcrev_internal_helper
raise InvalidSRCREV("Please set SRCREV to a valid value")
InvalidSRCREV: Please set SRCREV to a valid value
ERROR: Error evaluating '${SSTATE_PKGSPEC}${BB_TASKHASH}'
Traceback (most recent call last):
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 76, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d))
File "/tmp/poky-mlb/bitbake/lib/bb/utils.py", line 400, in better_eval
return eval(source, _context, locals)
File "SRCPV", line 1, in <module>
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 389, in get_srcrev
ud.setup_localpath(d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 572, in setup_localpath
self.localpath = self.method.localpath(self.url, self, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/git.py", line 59, in localpath
tag = Fetch.srcrev_internal_helper(ud, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 701, in srcrev_internal_helper
raise InvalidSRCREV("Please set SRCREV to a valid value")
InvalidSRCREV: Please set SRCREV to a valid value
ERROR: Error evaluating '${SSTATE_PKGNAME}'
Traceback (most recent call last):
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs
s = __expand_var_regexp__.sub(varparse.var_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 60, in var_sub
var = self.d.getVar(key, 1)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 260, in getVar
return self.expand(value, var)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 132, in expand
return self.expandWithRefs(s, varname).value
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs
s = __expand_python_regexp__.sub(varparse.python_sub, s)
File "/tmp/poky-mlb/bitbake/lib/bb/data_smart.py", line 76, in python_sub
value = utils.better_eval(codeobj, DataContext(self.d))
File "/tmp/poky-mlb/bitbake/lib/bb/utils.py", line 400, in better_eval
return eval(source, _context, locals)
File "SRCPV", line 1, in <module>
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 389, in get_srcrev
ud.setup_localpath(d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 572, in setup_localpath
self.localpath = self.method.localpath(self.url, self, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/git.py", line 59, in localpath
tag = Fetch.srcrev_internal_helper(ud, d)
File "/tmp/poky-mlb/bitbake/lib/bb/fetch/__init__.py", line 701, in srcrev_internal_helper
raise InvalidSRCREV("Please set SRCREV to a valid value")
InvalidSRCREV: Please set SRCREV to a valid value
ERROR: Error parsing /tmp/poky-mlb/meta/recipes-kernel/linux/linux-yocto-stable_git.bb: Please set SRCREV to a valid value
ERROR: Command execution failed: Exited with 1
next reply other threads:[~2011-01-07 0:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 0:04 Gary Thomas [this message]
2011-01-07 3:06 ` SRCREV_FORMAT breaks my builds 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
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=4D26588E.7070701@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=poky@lists.pokylinux.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.