Open
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
- Install rust via rustup
- Clone Mesa
- Configure with
-Dvulkan-drivers=nouveau
- ninja -C _build
- sudo ninja -C _build install
Expected behavior
The install shouldn't build anything and should just install
Actual behavior
Something goes searching for rustc
, finds the one in /usr/bin
, detects that it's different, and tries to re-build some of the rust components. This has two ill effects:
- Your build directory has now been touched by root and you have to
chown -R
the whole thing if you want to touch it as a regular user again - The Rust build fails because the system rustc is not the same as the one you installed via rustup which is what the first build used.