| Summary: | ParameterError in "bitbake -e" | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Lianhao Lu <lianhao.lu> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | poky.bs.watcher, poky.watcher, sgw |
| Version: | 1.0 | ||
| Target Milestone: | 1.0 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Program Management | Documentation change: | --- |
Verified that with the commit http://git.pokylinux.org/cgit.cgi/poky/commit/?id=101b599110f7bc29f52a14a968f30323aeb797ca, the errors mentioned above was gone. |
When "bitbake -e" on the master (with latest commit id of 3f78c071b7a04bfc486dadc387863cc0fbb53fc8), the following error was reported: ERROR: SRCREV was used yet no valid SCM was found in SRC_URI ERROR: Error evaluating '${@bb.fetch.get_srcrev(d)}' Traceback (most recent call last): File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs s = __expand_python_regexp__.sub(varparse.python_sub, s) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 76, in python_sub value = utils.better_eval(codeobj, DataContext(self.d)) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/utils.py", line 400, in better_eval return eval(source, _context, locals) File "SRCPV", line 1, in <module> File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/fetch/__init__.py", line 394, in get_srcrev raise ParameterError ParameterError ERROR: SRCREV was used yet no valid SCM was found in SRC_URI ERROR: Error evaluating '${@bb.fetch.get_srcrev(d)}' Traceback (most recent call last): File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs s = __expand_python_regexp__.sub(varparse.python_sub, s) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 76, in python_sub value = utils.better_eval(codeobj, DataContext(self.d)) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/utils.py", line 400, in better_eval return eval(source, _context, locals) File "SRCPV", line 1, in <module> File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/fetch/__init__.py", line 394, in get_srcrev raise ParameterError ParameterError ERROR: Error evaluating '${SRCPV}' Traceback (most recent call last): File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 116, in expandWithRefs s = __expand_var_regexp__.sub(varparse.var_sub, s) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 60, in var_sub var = self.d.getVar(key, 1) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 260, in getVar return self.expand(value, var) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 132, in expand return self.expandWithRefs(s, varname).value File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 117, in expandWithRefs s = __expand_python_regexp__.sub(varparse.python_sub, s) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/data_smart.py", line 76, in python_sub value = utils.better_eval(codeobj, DataContext(self.d)) File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/utils.py", line 400, in better_eval return eval(source, _context, locals) File "SRCPV", line 1, in <module> File "/home/lulianhao/poky-build/poky/bitbake/lib/bb/fetch/__init__.py", line 394, in get_srcrev raise ParameterError ParameterError