imx-docker build fails under WSL2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx-docker build fails under WSL2

ソリューションへジャンプ
5,121件の閲覧回数
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,045件の閲覧回数
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,112件の閲覧回数
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,094件の閲覧回数
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,082件の閲覧回数
evancornell
Contributor III

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

0 件の賞賛
返信
5,076件の閲覧回数
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,046件の閲覧回数
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,008件の閲覧回数
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 件の賞賛
返信