Error compiling on macOS Mojave 10.14.5
Compiling Redox (branch: master) on macOS 10.14.5 with following: rustc 1.37.0-nightly (8aa42ed7c 2019-06-24) rustup 1.18.3 (435397f48 2019-05-22) GNU Make 3.81
unname -a gives: Darwin MAKARANDs-MacBook-Pro.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
Expected: make all succeeds
Actual behaviour:
mv "target/x86_64-unknown-redox"/include.partial "target/x86_64-unknown-redox"/include touch "target/x86_64-unknown-redox"/include CARGO_INCREMENTAL=0 xargo rustc --release --manifest-path src/crtn/Cargo.toml "--target=x86_64-unknown-redox" -- --emit obj="target/x86_64-unknown-redox"/release/crtn.o -C panic=abort Compiling compiler_builtins v0.1.16 Blocking waiting for file lock on x86_64-unknown-redox's sysroot ] 0/6: compiler_builtins(build.rs) Compiling rustc-std-workspace-core v1.0.0 error[E0463]: can't find crate for
std| = note: the
x86_64-unknown-redox` target may not be installed
error: aborting due to previous error
For more information about this error, try rustc --explain E0463
.
error: Could not compile rustc-std-workspace-core
.
To learn more, run the command again with --verbose.
error: "cargo" "build" "--release" "--manifest-path" "/var/folders/2m/8x06y5pn7c901dsml6q5t5rw0000gn/T/xargo.6oFQ5CB0tJpc/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "alloc"
failed with exit code: Some(101)
stack backtrace:
0: 0x10648914e - backtrace::backtrace::trace::h9af5c0e569722484
1: 0x10648918c - backtrace::capture::Backtrace::new::h80dbd2c3644bf61b
2Blocking: waiting for file lock on x86_64-unknown-redox's sysroot
0x1064664c6 - error_chain::make_backtrace::h936cd5087d5a94d8
3: 0x1064665a8 - _$LT$error_chain..State$u20$as$u20$core..default..Default$GT$::default::h7f287b6eec79d656
4: 0xBlocking10645acc3 waiting for file lock on x86_64-unknown-redox's sysroot -
xargo::sysroot::update::h7c45a82c88dbb3b0
5: 0x10646476b - xargo::run::h4764af772fae6930
6: 0x106460edf - xargo::main::h4226ede422e19810
7: Blocking waiting for file lock on x86_64-unknown-redox's sysroot
0x1064a6f1c - __rust_maybe_catch_panic
8: 0x1064a6258 - std::rt::lang_start::h26600ded8f732ab6
make[1]: *** ["target/x86_64-unknown-redox"/release/librelibc.a] Error 1
make[1]: *** Waiting for unfinished jobs....
Updating crates.io index
Compiling compiler_builtins v0.1.16
Compiling rustc-std-workspace-core v1.0.0
error[E0463]: can't find crate for std
|
= note: the x86_64-unknown-redox
target may not be installed
error: aborting due to previous error
For more information about this error, try rustc --explain E0463
.
error: Could not compile rustc-std-workspace-core
.
warning: build failed, waiting for other jobs to finish...
error: build failed
error: "cargo" "build" "--release" "--manifest-path" "/var/folders/2m/8x06y5pn7c901dsml6q5t5rw0000gn/T/xargo.6hScX62jFPQY/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "alloc"
failed with exit code: Some(101)
stack backtrace:
0: 0x10ab2014e - backtrace::backtrace::trace::h9af5c0e569722484
1: 0x10ab2018c - backtrace::capture::Backtrace::new::h80dbd2c3644bf61b
2: 0x10aafd4c6 - error_chain::make_backtrace::h936cd5087d5a94d8
3: 0x10aafd5a8 - _$LT$error_chain..State$u20$as$u20$core..default..Default$GT$::default::h7f287b6eec79d656
4: 0x10aaf1cc3 - xargo::sysroot::update::h7c45a82c88dbb3b0
5: 0x10aafb76b - xargo::run::h4764af772fae6930
6: 0x10aaf7edf - xargo::main::h4226ede422e19810
7: 0x10ab3df1c - __rust_maybe_catch_panic
8: 0x10ab3d258 - std::rt::lang_start::h26600ded8f732ab6
make[1]: *** ["target/x86_64-unknown-redox"/release/crt0.o] Error 1
Updating crates.io index
Compiling compiler_builtins v0.1.16
Compiling rustc-std-workspace-core v1.0.0
Compiling core v0.0.0 (/Users/Makarand/redox/rust/src/libcore)
error[E0463]: can't find crate for std
|
= note: the x86_64-unknown-redox
target may not be installed
error: aborting due to previous error
For more information about this error, try rustc --explain E0463
.
error: Could not compile rustc-std-workspace-core
.
warning: build failed, waiting for other jobs to finish...
error: build failed
error: "cargo" "build" "--release" "--manifest-path" "/var/folders/2m/8x06y5pn7c901dsml6q5t5rw0000gn/T/xargo.2P3l8LtA40Ki/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "alloc"
failed with exit code: Some(101)
stack backtrace:
0: 0x105cb514e - backtrace::backtrace::trace::h9af5c0e569722484
1: 0x105cb518c - backtrace::capture::Backtrace::new::h80dbd2c3644bf61b
2: 0x105c924c6 - error_chain::make_backtrace::h936cd5087d5a94d8
3: 0x105c925a8 - _$LT$error_chain..State$u20$as$u20$core..default..Default$GT$::default::h7f287b6eec79d656
4: 0x105c86cc3 - xargo::sysroot::update::h7c45a82c88dbb3b0
5: 0x105c9076b - xargo::run::h4764af772fae6930
6: 0x105c8cedf - xargo::main::h4226ede422e19810
7: 0x105cd2f1c - __rust_maybe_catch_panic
8: 0x105cd2258 - std::rt::lang_start::h26600ded8f732ab6
make[1]: *** ["target/x86_64-unknown-redox"/release/crtn.o] Error 1
Updating crates.io index
Compiling compiler_builtins v0.1.16
Compiling rustc-std-workspace-core v1.0.0
Compiling core v0.0.0 (/Users/Makarand/redox/rust/src/libcore)
error[E0463]: can't find crate for std
|
= note: the x86_64-unknown-redox
target may not be installed
error: aborting due to previous error
For more information about this error, try rustc --explain E0463
.
error: Could not compile rustc-std-workspace-core
.
warning: build failed, waiting for other jobs to finish...
error: build failed
error: "cargo" "build" "--release" "--manifest-path" "/var/folders/2m/8x06y5pn7c901dsml6q5t5rw0000gn/T/xargo.hJ3sX5YiyQ92/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "alloc"
failed with exit code: Some(101)
stack backtrace:
0: 0x108c5f14e - backtrace::backtrace::trace::h9af5c0e569722484
1: 0x108c5f18c - backtrace::capture::Backtrace::new::h80dbd2c3644bf61b
2: 0x108c3c4c6 - error_chain::make_backtrace::h936cd5087d5a94d8
3: 0x108c3c5a8 - _$LT$error_chain..State$u20$as$u20$core..default..Default$GT$::default::h7f287b6eec79d656
4: 0x108c30cc3 - xargo::sysroot::update::h7c45a82c88dbb3b0
5: 0x108c3a76b - xargo::run::h4764af772fae6930
6: 0x108c36edf - xargo::main::h4226ede422e19810
7: 0x108c7cf1c - __rust_maybe_catch_panic
8: 0x108c7c258 - std::rt::lang_start::h26600ded8f732ab6
make[1]: *** ["target/x86_64-unknown-redox"/release/crti.o] Error 1
make: *** [prefix/x86_64-unknown-redox/relibc-freestanding-install] Error 2
`