| Summary: | Traceback when hosttool is missing on Ubuntu 20 with latest master changes | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | akuster <akuster808> |
| Component: | bitbake | Assignee: | Richard Purdie <richard.purdie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | High | CC: | poky.bs.watcher, poky.watcher, randy.macleod |
| Version: | 3.2 | ||
| Target Milestone: | 3.2 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | Don't know | |
Expected: akuster@Ubuntu-2004-focal-64-minimal:~/poky/build$ bitbake core-image-minimal ERROR: Unable to start bitbake server (None) ERROR: Server log for this session (/home/akuster/poky/build/bitbake-cookerdaemon.log): --- Starting bitbake server pid 34271 at 2020-08-25 21:53:11.426147 --- ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed: file Commit things started working again. 59421f688c (HEAD -> master) bitbake: cooker/cookerdata: Ensure UI event log is updated from commandline |
bitbake core-image-minimal Traceback (most recent call last): File "/home/akuster/poky/bitbake/bin/bitbake", line 35, in <module> sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv), File "/home/akuster/poky/bitbake/lib/bb/main.py", line 384, in bitbake_main return ui_module.main(server_connection.connection, server_connection.events, File "/home/akuster/poky/bitbake/lib/bb/ui/knotty.py", line 386, in main params.updateToServer(server, os.environ.copy()) File "/home/akuster/poky/bitbake/lib/bb/cookerdata.py", line 75, in updateToServer raise Exception("Unable to update the server configuration with local parameters: %s" % error) Exception: Unable to update the server configuration with local parameters: Traceback (most recent call last): File "/home/akuster/poky/bitbake/lib/bb/cookerdata.py", line 283, in parseBaseConfiguration bb.event.fire(bb.event.ConfigParsed(), self.data) File "/home/akuster/poky/bitbake/lib/bb/event.py", line 214, in fire fire_class_handlers(event, d) File "/home/akuster/poky/bitbake/lib/bb/event.py", line 121, in fire_class_handlers execute_handler(name, handler, event, d) File "/home/akuster/poky/bitbake/lib/bb/event.py", line 93, in execute_handler ret = handler(event) File "/home/akuster/poky/meta/classes/base.bbclass", line 242, in base_eventhandler setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d) File "/home/akuster/poky/meta/classes/base.bbclass", line 146, 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/akuster/poky/bitbake/lib/bb/__init__.py", line 156, in fatal raise BBHandledException() bb.BBHandledException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/akuster/poky/bitbake/lib/bb/command.py", line 81, in runCommand result = command_method(self, commandline) File "/home/akuster/poky/bitbake/lib/bb/command.py", line 272, in updateConfig command.cooker.updateConfigOpts(options, environment, cmdline) File "/home/akuster/poky/bitbake/lib/bb/cooker.py", line 478, in updateConfigOpts self.reset() File "/home/akuster/poky/bitbake/lib/bb/cooker.py", line 1686, in reset self.initConfigurationData() File "/home/akuster/poky/bitbake/lib/bb/cooker.py", line 358, in initConfigurationData self.databuilder.parseBaseConfiguration() File "/home/akuster/poky/bitbake/lib/bb/cookerdata.py", line 312, in parseBaseConfiguration raise bb.BBHandledException bb.BBHandledException