Opened 5 years ago

Closed 5 years ago

#11520 closed enhancement (fixed)

rustc needs python2

Reported by: ken@… Owned by: ken@…
Priority: normal Milestone: 8.4
Component: BOOK Version: SVN
Severity: normal Keywords:


It seems I must have got lucky when using python3 for rustc-1.29. The current version (1.31.1) craps out very early with a segmentation fault if python3 is specified:

Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/scratch/ken/rustc-1.31.1-src/build/bootstrap/debug/rustc -
--crate-name ___ --print=file-names -C link-args=-lffi --target x86_64-unknown-linux-gnu
--crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib
--crate-type proc-macro` (signal: 11, SIGSEGV: invalid memory reference)
command did not execute successfully:
"/scratch/ken/rustc-1.31.1-src/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target"
"x86_64-unknown-linux-gnu" "-j" "4" "--release" "--features" "panic-unwind jemalloc backtrace"
"--manifest-path" "/scratch/ken/rustc-1.31.1-src/src/libstd/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101
thread 'main' panicked at 'cargo must succeed', bootstrap/
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failed to run: /scratch/ken/rustc-1.31.1-src/build/bootstrap/debug/bootstrap build
Build completed unsuccessfully in 0:00:02

Change History (2)

comment:1 by ken@…, 5 years ago

Owner: changed from blfs-book to ken@…
Status: newassigned

comment:2 by ken@…, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed, r20927.

Note: See TracTickets for help on using tickets.