| Summary: |
bitbake Python (double) exception |
| Product: |
[Build System, Metadata & Runtime] BitBake
|
Reporter: |
Juro Bystricky <juro.bystricky> |
| Component: |
bitbake | Assignee: |
Robert Yang <liezhi.yang> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium+
|
CC: |
poky.bs.watcher, poky.watcher, randy.macleod, richard.purdie
|
| Version: |
unspecified | |
|
| Target Milestone: |
2.8 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
My HOSTTOOLS were missing "chrpath", so an error message was expected. However, not like this: ERROR: Unable to start bitbake server (None) ERROR: Server log for this session (/home/juro/yocto/poky/build2-repro-minimal-x86_64-2019-04-04/bitbake-cookerdaemon.log): --- Starting bitbake server pid 14471 at 2019-04-04 10:42:45.831093 --- Traceback (most recent call last): File "/home/juro/yocto/poky/bitbake/lib/bb/cookerdata.py", line 290, in parseBaseConfiguration bb.event.fire(bb.event.ConfigParsed(), self.data) File "/home/juro/yocto/poky/bitbake/lib/bb/event.py", line 225, in fire fire_class_handlers(event, d) File "/home/juro/yocto/poky/bitbake/lib/bb/event.py", line 134, in fire_class_handlers execute_handler(name, handler, event, d) File "/home/juro/yocto/poky/bitbake/lib/bb/event.py", line 106, in execute_handler ret = handler(event) File "/home/juro/yocto/poky/meta/classes/base.bbclass", line 238, in base_eventhandler setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d) File "/home/juro/yocto/poky/meta/classes/base.bbclass", line 142, in setup_hosttools_dir bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n %s" % " ".join(notfound)) File "/home/juro/yocto/poky/bitbake/lib/bb/__init__.py", line 120, in fatal raise BBHandledException() bb.BBHandledException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/juro/yocto/poky/bitbake/lib/bb/daemonize.py", line 83, in createDaemon function() File "/home/juro/yocto/poky/bitbake/lib/bb/server/process.py", line 469, in _startServer self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset) File "/home/juro/yocto/poky/bitbake/lib/bb/cooker.py", line 210, in __init__ self.initConfigurationData() File "/home/juro/yocto/poky/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData self.databuilder.parseBaseConfiguration() File "/home/juro/yocto/poky/bitbake/lib/bb/cookerdata.py", line 317, in parseBaseConfiguration raise bb.BBHandledException bb.BBHandledException ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed: chrpath