-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 build: error: XZ support is required to download LLVM #81026
Comments
Additional note: on a server with a Ubuntu 20.04 focal fossa installation, where
|
Ah my bad, was searching with the full error and didn't find those two. Closing as duplicate 👍 |
There is not a good way to fix #71818 (see https://rust-lang.zulipchat.com/#narrow/stream/122651-general/topic/x.2Epy.20.2B.20download-ci-llvm.20-.3E.20explicit.20python3.20needed.3F/near/221414355 for more discussion). #80625 should be merged as soon as I rebase it. |
I'm getting this error, even when calling |
@willus10245 it's unlikely it's the same error - can you open a new issue with the full output of x.py? |
The error is identical to the original post on this issue
|
@jyn514 do you mean the contents of |
Steps:
git clone https://github.com/rust-lang/rust.git
(at commit e38fb30 )git submodule update --init --recursive
./x.py setup
, selectb) compiler: Contribute to the compiler or rustdoc
./x.py build
Both
python
andpython3
existNote:
rust/x.py
Line 1 in e38fb30
Environment: WSL2 Debian 10 buster
Workaround:
Three thoughts:
x.py
be smarter aboutpython
vspython3
detection & execution, to fix this without user action?python3
requirement? Currently: "Most notably, you will need Python 2 or 3 to run x.py."The text was updated successfully, but these errors were encountered: