-
Notifications
You must be signed in to change notification settings - Fork 13.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
x.py: XZ support is required to download LLVM with python3 #85476
Comments
@willus10245 what is the output of |
@jyn514 |
I think it is possible to build Python without |
Hmm, lzma support was added in 3.3 (according to https://docs.python.org/3/library/tarfile.html), so that shouldn't be the issue. I tried this with 3.8 and can't reproduce:
Are you using a fork of python or something? If you put rust/src/bootstrap/bootstrap.py Lines 19 to 22 in 3e827cc
|
Could try a command like: |
I wonder it asdf-python is doing something weird on the install. When running the command @cuviper suggested, I got
|
Ok. This doesn't sound like something we can fix; the error message is correct, you can either disable download-ci-llvm or switch to a python that has XZ support. |
Looks like asdf-python uses pyenv/python-build under the hood. Passing the flags from this comment to
|
I also get this error when running
python3 x.py check
I think this may have something to do with the fact that I use
asdf-vm
to manage my python versionThe text was updated successfully, but these errors were encountered: