You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was building Rust (branch master) from source. ./configure and make completed without any problems, however sudo make install immediately fails with the following problem:
sudo make install
info: looks like you are running this command under `sudo`
and so in order to preserve your $HOME this will now
use vendored sources by default. Note that if this
does not work you should run a normal build first
before running a command like `sudo make install`
error: failed to load sourcefor a dependency on `toml`
Caused by:
Unable to update registry https://github.com/rust-lang/crates.io-index
Caused by:
failed to update replaced source`registry https://github.com/rust-lang/crates.io-index`
Caused by:
failed to read root of directory source: /mnt/shared/Checkout/rust/src/vendor
To learn more, run the command again with --verbose.
Makefile:71: recipe for target 'install' failed
make: *** [install] Error 101
The error: failed to load source for a dependency on 'toml' line is complaining about seemingly rangom things, such as cmake, toml or getopts. However the last line (failed to read root of directory source: /mnt/shared/Checkout/rust/src/vendor) is odd as it doesn't have any src/vendor folder and this kind of error is more likely on Rust projects using cargo.toml.
For reference, my build env:
os: Ubuntu 16.04
clang 3.8
python 2.7
make 4.1
cmake 3.5.1
curl 7.47
git 2.7
I also have already installed via the official rustup script.
So far no luck getting closer to what would cause this. Do you have any idea where to look for?
The text was updated successfully, but these errors were encountered:
I was building Rust (branch master) from source.
./configure
andmake
completed without any problems, howeversudo make install
immediately fails with the following problem:The
error: failed to load source for a dependency on 'toml'
line is complaining about seemingly rangom things, such as cmake, toml or getopts. However the last line (failed to read root of directory source: /mnt/shared/Checkout/rust/src/vendor
) is odd as it doesn't have anysrc/vendor
folder and this kind of error is more likely on Rust projects using cargo.toml.For reference, my build env:
I also have already installed via the official rustup script.
So far no luck getting closer to what would cause this. Do you have any idea where to look for?
The text was updated successfully, but these errors were encountered: