Installation on Arch Linux
Hello! I'm wanting to install the Redox toolchain on my machine running arch and I'm following the instructions in the book here and the part of making the newlib is failing with this message:
==> Starting prepare()...
info: using existing install for 'nightly-2018-04-27-x86_64-unknown-linux-gnu'
info: override toolchain for '$home/Programs/redox-repos/redox-toolchain/libc/packages/arch/newlib/src/newlib' set to 'nightly-2018-04-27-x86_64-unknown-linux-gnu'
nightly-2018-04-27-x86_64-unknown-linux-gnu unchanged - rustc 1.27.0-nightly (7f3444e1b 2018-04-26)
info: component 'rust-src' is up to date
Updating registry `https://github.com/rust-lang/crates.io-index`
Installing xargo v0.3.13
Compiling cc v1.0.28
Compiling libc v0.2.46
Compiling num-traits v0.2.6
Compiling autocfg v0.1.1
Compiling rustc-demangle v0.1.13
Compiling cfg-if v0.1.6
Compiling rustc-serialize v0.3.24
Compiling xargo v0.3.13
Compiling semver v0.1.20
Compiling same-file v0.1.3
Compiling itoa v0.1.1
Compiling remove_dir_all v0.5.1
Compiling dtoa v0.2.2
Compiling serde v0.8.23
Compiling rustc_version v0.1.7
Compiling backtrace v0.3.13
Compiling walkdir v1.0.7
Compiling rand v0.4.3
Compiling fs2 v0.4.3
Compiling dirs v1.0.4
Compiling num-traits v0.1.43
Compiling backtrace-sys v0.1.28
Compiling tempdir v0.3.7
Compiling toml v0.2.1
Compiling serde_json v0.8.6
Compiling error-chain v0.7.2
error[E0433]: failed to resolve. Use of undeclared type or module `dirs`
--> src/xargo.rs:87:9
|
87 | dirs::home_dir()
| ^^^^ Use of undeclared type or module `dirs`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0433`.
error: failed to compile `xargo v0.3.13`, intermediate artifacts can be found at `/tmp/cargo-installei1zhD`
Caused by:
Could not compile `xargo`.
To learn more, run the command again with --verbose.
==> ERROR: A failure occurred in prepare().
Aborting...
Now I'm assuming some change in the nightly version of Rust has broken the error-chain
crate, but I don't want to assume either.
I'm just going to go with the "Other Distros/Mac OS X" instructions and hope it works, but I'd thought I'd say something here.