bitbake issue in wsl2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

bitbake issue in wsl2

1,935 次查看
devds
Contributor III

Hello NXP community,

I'm trying to build imx8mp nxp yocto bsp on windows11 WSL2 Ubuntu 20.04 distro,  using D drive instead of C to avoid permission issue.

But when i give bitbake command i get following
deevia@DESKTOP-1OUN098:/mnt/d/yoctotest/imx-yocto-bsp/build$ bitbake imx-image-full ERROR: Unable to start bitbake server (None) ERROR: Server log for this session (/mnt/d/yoctotest/imx-yocto-bsp/build/bitbake-cookerdaemon.log): 21526 18:56:59.523523 --- Starting bitbake server pid 21526 at 2024-07-04 18:56:59.523498 --- /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import fnmatch, glob, traceback, errno, sys, atexit, imp, stat Traceback (most recent call last): File "/mnt/d/yoctotest/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-server", line 54, in <module> bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface, profile) File "/mnt/d/yoctotest/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 667, in execServer sock.bind(os.path.basename(sockname)) OSError: [Errno 95] Operation not supported sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='w' encoding='UTF-8'> sys:1: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/mnt/d/yoctotest/imx-yocto-bsp/build/bitbake-cookerdaemon.log' mode='a+' encoding='UTF-8'> NOTE: Retrying server connection (#1)... (18:56:59.707284) ERROR: Unable to start bitbake server (None) ERROR: Server log for this session (/mnt/d/yoctotest/imx-yocto-bsp/build/bitbake-cookerdaemon.log): 21528 18:57:00.736787 --- Starting bitbake server pid 21528 at 2024-07-04 18:57:00.736759 --- /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import fnmatch, glob, traceback, errno, sys, atexit, imp, stat Traceback (most recent call last): File "/mnt/d/yoctotest/imx-yocto-bsp/sources/poky/bitbake/bin/bitbake-server", line 54, in <module> bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface, profile) File "/mnt/d/yoctotest/imx-yocto-bsp/sources/poky/bitbake/lib/bb/server/process.py", line 667, in execServer sock.bind(os.path.basename(sockname)) OSError: [Errno 95] Operation not supported sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='w' encoding='UTF-8'> sys:1: ResourceWarning: unclosed <socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/mnt/d/yoctotest/imx-yocto-bsp/build/bitbake-cookerdaemon.log' mode='a+' encoding='UTF-8'>

Please let me what to do for this.

Thanks in Advance.

0 项奖励
回复
2 回复数

1,916 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport
Hello,
I hope you are doing well, I face same issue if I try to build poky following instructions mentioned here:

Yocto Project Quick Build

It is not particular to nxp yocto build, at the lease.

Please make sure that you have installed all the packages mentioned in section 3.2 Host packages of IMX_YOCTO_PROJECT_USERS_GUIDE.pdf 
Regards
0 项奖励
回复

1,906 次查看
devds
Contributor III

Hello @Bio_TICFSL ,

I get timeout error or blockingIO error in middle of bitbake imx-image-full.

Thanks

 

0 项奖励
回复