imx-docker build fails under WSL2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx-docker build fails under WSL2

Jump to solution
1,986 Views
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 Kudos
Reply
1 Solution
1,910 Views
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

View solution in original post

0 Kudos
Reply
6 Replies
1,977 Views
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 Kudos
Reply
1,959 Views
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 Kudos
Reply
1,947 Views
evancornell
Contributor III

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

0 Kudos
Reply
1,941 Views
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 Kudos
Reply
1,911 Views
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 Kudos
Reply
1,873 Views
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 Kudos
Reply