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
582 Views
evancornell
Contributor II

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
1 Solution
506 Views
evancornell
Contributor II

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
6 Replies
573 Views
evancornell
Contributor II

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
555 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
543 Views
evancornell
Contributor II

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

0 Kudos
537 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
507 Views
evancornell
Contributor II

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
469 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