[Slackbuilds-users] Building rust with LOCAL_BOOTSTRAP=yes fails
Andrzej Telszewski
atelszewski at gmail.com
Thu Jun 15 18:00:09 UTC 2017
Hi,
I'm trying to build rust 1.18.0 with LOCAL_BOOTSTRAP=yes, but the build
fails with error [1].
I have both previous versions of rust-1.17.0 and cargo-0.18.0 installed
before building.
Help appreciated :-)
_The contents of config.toml is:_
$ cat config.toml
[build]
vendor = true
rustc = "/usr/bin/rustc"
cargo = "/usr/bin/cargo"
extended = false
submodules = false
[install]
prefix = "/tmp/slackrepo-desktop/package-rust/usr"
libdir = "lib64"
mandir = "man"
[rust]
channel = "stable"
rpath = false
codegen-tests = false
[target.x86_64-unknown-linux-gnu]
llvm-config = "/usr/bin/llvm-config"
# build fails using the system jemalloc
# jemalloc = "/usr/lib64/libjemalloc_pic.a"
_[1] The error message is:_
Compiling getopts v0.2.14
Compiling libc v0.2.21
Compiling gcc v0.3.45
Compiling rustc-serialize v0.3.23
Compiling num_cpus v0.2.13
Compiling filetime v0.1.10
Compiling cmake v0.1.22
Compiling build_helper v0.1.0
(file:///tmp/slackrepo-desktop/rustc-1.18.0-src/src/build_helper)
Compiling toml v0.1.30
Compiling bootstrap v0.0.0
(file:///tmp/slackrepo-desktop/rustc-1.18.0-src/src/bootstrap)
Finished dev [unoptimized] target(s) in 21.79 secs
failed to execute command:
"/tmp/slackrepo-desktop/rustc-1.18.0-src/build/x86_64-unknown-linux-gnu/stage0/bin/cargo"
"metadata" "--manifest-path"
"/tmp/slackrepo-desktop/rustc-1.18.0-src/src/libstd/Cargo.toml"
error: No such file or directory (os error 2)
--
Best regards,
Andrzej Telszewski
More information about the SlackBuilds-users
mailing list