Skip to content

Instantly share code, notes, and snippets.

@jackpot51
Created February 25, 2018 16:54
Show Gist options
  • Save jackpot51/88345b7f6445238f0659bc8048b25a54 to your computer and use it in GitHub Desktop.
Save jackpot51/88345b7f6445238f0659bc8048b25a54 to your computer and use it in GitHub Desktop.
Building stage0 codegen artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu, llvm)
running: "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "12" "--release" "--manifest-path" "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/librustc_trans/Cargo.toml" "--features" "" "--message-format" "json"
Compiling cfg-if v0.1.2
Compiling libc v0.2.36
Compiling rustc_trans v0.0.0 (file:///home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/librustc_trans)
Compiling num_cpus v1.8.0
Compiling cmake v0.1.29
Compiling tempdir v0.3.5
Compiling filetime v0.1.15
Compiling build_helper v0.1.0 (file:///home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/build_helper)
Compiling rustc_binaryen v0.0.0 (file:///home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/librustc_binaryen)
Compiling rustc_llvm v0.0.0 (file:///home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/librustc_llvm)
error: cannot satisfy dependencies so `libc` only shows up once
|
= help: having upstream crates all available in one format will likely make this go away
error: aborting due to previous error
error: Could not compile `rustc_trans`.
Caused by:
process didn't exit successfully: `/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/bootstrap/debug/rustc --crate-name rustc_trans librustc_trans/lib.rs --error-format json --crate-type dylib --crate-type rlib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 -C metadata=5e43440acaf6a9fe -C extra-filename=-5e43440acaf6a9fe --out-dir /home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps --extern num_cpus=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libnum_cpus-74d6a48bb55a60bd.rlib --extern rustc_apfloat=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_apfloat-35781b15e087165a.rlib --extern libc=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/liblibc-f163d4877bd8e4f6.rlib --extern syntax=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax-6c30725b23e1fff8.so --extern syntax=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax-6c30725b23e1fff8.rlib --extern rustc_llvm=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_llvm-676b671113e22efa.so --extern rustc_llvm=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_llvm-676b671113e22efa.rlib --extern syntax_pos=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-cb9dfaa692c24097.so --extern syntax_pos=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-cb9dfaa692c24097.rlib --extern rustc_binaryen=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_binaryen-a6cb114cbb73d0f1.rlib --extern tempdir=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libtempdir-5eb0fe33ae5d51a1.rlib --extern flate2=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libflate2-845cd2e00fc0b461.rlib --extern log=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/liblog-12589bdfb2f61ae2.rlib --extern rustc_const_math=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_const_math-e7f923583c825842.so --extern rustc_const_math=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_const_math-e7f923583c825842.rlib --extern bitflags=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libbitflags-cd130d899ffc5e1d.rlib --extern rustc_allocator=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_allocator-d3254dff71fa0e70.so --extern rustc_allocator=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_allocator-d3254dff71fa0e70.rlib --extern rustc_errors=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-20d0ca92e6ed8ffa.so --extern rustc_errors=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-20d0ca92e6ed8ffa.rlib --extern rustc_data_structures=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-65b4bb3ea4918198.so --extern rustc_data_structures=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-65b4bb3ea4918198.rlib --extern rustc_trans_utils=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_trans_utils-8389d71f51b86796.so --extern rustc_trans_utils=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_trans_utils-8389d71f51b86796.rlib --extern rustc_back=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_back-c11738c9563ebb63.so --extern rustc_back=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_back-c11738c9563ebb63.rlib --extern rustc=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-1dfeae05fcbd702c.so --extern rustc=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-1dfeae05fcbd702c.rlib --extern rustc_platform_intrinsics=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_platform_intrinsics-94a035ea0a5511ea.so --extern rustc_platform_intrinsics=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_platform_intrinsics-94a035ea0a5511ea.rlib --extern rustc_incremental=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_incremental-470406d1483a5ac7.so --extern rustc_incremental=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_incremental-470406d1483a5ac7.rlib --extern serialize=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-2fd8757c481652f9.so --extern serialize=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libserialize-2fd8757c481652f9.rlib --extern rustc_demangle=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_demangle-3681e36b77a5727e.rlib --extern jobserver=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libjobserver-9f00a3f8a188142d.rlib --extern rustc_mir=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_mir-5c3548e5cf620248.so --extern rustc_mir=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_mir-5c3548e5cf620248.rlib -L native=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-f550cf81421e58d3/out -L native=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-93747794ab02b3d5/out/.libs -L native=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/rustc_binaryen-c39ac040063806f9/out/build/lib -L native=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/rustc_binaryen-c39ac040063806f9/out -L native=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/rustc_llvm-5f55fdfea0ad774b/out -L native=/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/llvm/lib -L native=/usr/lib/gcc/x86_64-linux-gnu/7` (exit code: 101)
thread 'main' panicked at 'command did not execute successfully: "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "12" "--release" "--manifest-path" "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/librustc_trans/Cargo.toml" "--features" "" "--message-format" "json"
expected success, got: exit code: 101', bootstrap/compile.rs:1061:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Traceback (most recent call last):
File "x.py", line 20, in <module>
bootstrap.main()
File "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/bootstrap/bootstrap.py", line 763, in main
bootstrap()
File "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/bootstrap/bootstrap.py", line 754, in bootstrap
run(args, env=env, verbose=build.verbose)
File "/home/jeremy/Projects/redox/cookbook/recipes/rust/build/src/bootstrap/bootstrap.py", line 148, in run
raise RuntimeError(err)
RuntimeError: failed to run: /home/jeremy/Projects/redox/cookbook/recipes/rust/build/build/bootstrap/debug/bootstrap build --config ../config.toml --jobs 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment