Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(pip): subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1. #409

Closed
gaocegege opened this issue Jun 17, 2022 · 6 comments

Comments

@gaocegege
Copy link
Member

We got this issue when:

@issuelabeler issuelabeler bot added the go Pull requests that update Go code label Jun 17, 2022
@gaocegege
Copy link
Member Author

It can be fixed by:

  • run on 20.10.x docker (docker desktop for mac)

@gaocegege
Copy link
Member Author

I haven't encountered any trouble building envd-quick-start with docker in lima on Intel Mac, so I have no idea. 😂

Originally posted by @rudeigerc in #370 (comment)

@aseaday
Copy link
Member

aseaday commented Jun 28, 2022

@gaocegege
Copy link
Member Author

@aseaday I think we should support different arches and os (e.g. macOS arch64, Linux arch64) Thus maybe we should keep it open?

@aseaday
Copy link
Member

aseaday commented Jun 29, 2022

The error from this issue's title cames from build amd64 container from arm64 host which could be called build cross (buildx). It would cause lsb_release error because of lsb_release call something from kernel or kernel in vm.

I think this case is some bug related to docker directly rather than envd. The links I mention above is enough for users discovery themselves and in most cases, they could fix it by upgrade their docker client for arm mac.

As for cross arch or multi arch support problem, we'd better open another issue.

@gaocegege
Copy link
Member Author

Thanks for the explanation!

SGTM. Then I think we can close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

No branches or pull requests

2 participants