pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Compiling rust



According to various emails lang/rust broke, was fixed, broke again,
etc.  I currently can't compile it.  See the error at the end of this
message.  I am running a current kernel and userland and I cleared out
all the packages and started over.  It still fails.  I am runnin clang
if that matters.  I have /proc mounted.


error: Could not compile `rustc-main`.

Caused by:
  process didn't exit successfully:
`/usr/obj/lang/rust/work.x86_64/rustc-1.23.0-src/build/bootstrap/debug/rustc
--crate-name rustc src/rustc/rustc.rs --error-format json --crate-type
bin --emit=dep-info,link -C opt-level=2 --cfg feature="jemalloc" --cfg
feature="llvm" --cfg fe)
thread 'main' panicked at 'command did not execute successfully:
"/usr/obj/lang/rust/work.x86_64/rust-bootstrap/bin/cargo" "build"
"--target" "x86_64-unknown-netbsd" "--release" "--frozen" "--features" "
jemalloc llvm" "--manifest-path" "/usr/obj/lang/rust/work.x86_64/rustc-1.2"
expected success, got: exit code: 101', src/bootstrap/compile.rs:882:8
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Traceback (most recent call last):
  File "./x.py", line 20, in <module>
    bootstrap.main()
  File
"/usr/obj/lang/rust/work.x86_64/rustc-1.23.0-src/src/bootstrap/bootstrap.py",
line 758, in main
    bootstrap()
  File
"/usr/obj/lang/rust/work.x86_64/rustc-1.23.0-src/src/bootstrap/bootstrap.py",
line 749, in bootstrap
    run(args, env=env, verbose=build.verbose)
  File
"/usr/obj/lang/rust/work.x86_64/rustc-1.23.0-src/src/bootstrap/bootstrap.py",
line 148, in run
    raise RuntimeError(err)
RuntimeError: failed to run:
/usr/obj/lang/rust/work.x86_64/rustc-1.23.0-src/build/bootstrap/debug/bootstrap
-v dist
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/lang/rust
*** Error code 1

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost



Home | Main Index | Thread Index | Old Index