imx-docker build fails under WSL2

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

imx-docker build fails under WSL2

跳至解决方案
5,124 次查看
evancornell
Contributor III

I am using latest imx-docker (https://github.com/nxp-imx/imx-docker) to attempt a build under WSL2. 

I am getting the attached error log.

Example:
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.

If I run yocto-build.sh from main WSL prompt outside of docker container, it seems to not run into this error. 

Any ideas?

0 项奖励
回复
1 解答
5,048 次查看
evancornell
Contributor III

I had to make the changes in the linked PR to get imx-docker repo to complete a build:
https://github.com/nxp-imx/imx-docker/pull/3

在原帖中查看解决方案

0 项奖励
回复
6 回复数
5,115 次查看
evancornell
Contributor III

I did have to add the following two lines to Dockerfile-Ubuntu-20.04 to get 'repo' to work properly. 

# Correct Python path
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.8 1
RUN update-alternatives --config python

 

0 项奖励
回复
5,097 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @evancornell,

I hope you are doing well.

If this issue is resolved, can I mark this case as close ?

Thanks & Regards,
Dhruvit Vasavada

0 项奖励
回复
5,085 次查看
evancornell
Contributor III

It’s not resolved. I was just adding some additional information. 

0 项奖励
回复
5,079 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @evancornell,

It seems like you are missing the OpenSSL package. One other reason for causing this could be a network issue.
 
Thanks & Regards,
Dhruvit Vasavada
0 项奖励
回复
5,049 次查看
evancornell
Contributor III

I had to make the changes in the linked PR to get imx-docker repo to complete a build:
https://github.com/nxp-imx/imx-docker/pull/3

0 项奖励
回复
5,011 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @evancornell,

I hope you are doing well.

is the docker build successful or are you still getting any errors?

Thanks & Regards,
Dhruvit Vasavada

0 项奖励
回复