Unable to connect to bitbake server

陌路散爱 提交于 2019-12-04 15:32:53

This is because new function findTopdir (Submitted on July 18, 2017) does not handle errors. For example, the lack of BBPATH environment variable and the inability to find conf/bblayers.conf in BBPATH. findTopdir just returns None in case of that errors.

Install needed support packages: install gawk wget git-core diffstat unzip texinfo gcc-multilib \ build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \ xz-utils debianutils iputils-ping

I was following the Yocto tutorial too and had the exact same error. I am running Ubuntu 16.04 in a Virtual Box 6.0 environment on my Windows 10 system.

I finally figured out that using BitBake on a shared folder produce that error. For some reason, installing the Yocto project with the Bitbake on a Virtual Box "sf_" shared folder produce that error.

I then created a fresh folder not on a shared folder of my Ubuntu and redone the Yocto tutorial steps there and the Bitbake command ran succesfully ! It's building the tutorial project while I write those lines.

Hope it will help you with your problem !

$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
 build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
 xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
 xterm

I accidentally skipped this step in the manual - resolved my issue, hopefully yours

You have to run bitbake command from build directory. I also had the same issue since i was not running it from build directory.

Lokesh sharma

install these packages:

sudo apt-get install makeinfo textinfo texi2html
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!