-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Bootstrapping on ubuntu:18.04, python3-distutils not installed by default #22606
Comments
Ping @alalazo / @adamjstewart |
This will be solved by #22720 If we bootstrap from a binary we don't need |
I ran into a similar issue on a fresh Ubuntu 20.04 image because I forgot to install |
I'm running into the same error, would it be possible to force spack to build its own python interpreter as part of the bootstrap process? |
This issue appears to persist (and the above looks like it is not scheduled to be solved for 0.16.4, or any upcoming release?) I have put together this little repository (https://github.com/fangohr/tmp-spack-clingo-issue) which uses github workflows and Docker containers to illustrate the problem (on a Debian image). In essence:
All details, including the failed build attempt, can be taken from the repository. |
@fangohr From the failed build attempt you linked it seems bootstrapping from binaries failed and Spack is falling back to bootstrap from sources. |
I think you may be missing some system requirements and therefore you are not able to bootstrap from binaries. For instance, if I reproduced your environment correctly: root@acf433e953b5:/# which file
root@acf433e953b5:/# you don't have Also, I don't know if it is of interest, but we provide a few docker images with clingo already bootstrapped from binaries. |
@alalazo - thank you for the quick and useful feedback. As you said: one of the dependencies was missing (the Thanks for the link to the Docker images. What would be interesting is to see the source of the Dockerfiles that are used to build these containers: that's what I got wrong. (I ran this in a container to be sure I got all dependencies right in spack package development, not because I need a container.) |
There's also |
@alalazo That's really useful - thank you! |
Steps to reproduce the issue
Error Message
Information on your system
I have to install
python3-distutils
with apt to make this work:The text was updated successfully, but these errors were encountered: