[Slackbuilds-users] Building rust with LOCAL_BOOTSTRAP=yes fails

Andrzej Telszewski atelszewski at gmail.com
Thu Jun 15 18:00:09 UTC 2017


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
vendor = true
rustc = "/usr/bin/rustc"
cargo = "/usr/bin/cargo"
extended = false
submodules = false

prefix = "/tmp/slackrepo-desktop/package-rust/usr"
libdir = "lib64"
mandir = "man"

channel = "stable"
rpath = false
codegen-tests = false

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 
    Compiling toml v0.1.30
    Compiling bootstrap v0.0.0 
     Finished dev [unoptimized] target(s) in 21.79 secs

failed to execute command: 
"metadata" "--manifest-path" 
error: No such file or directory (os error 2)

Best regards,
Andrzej Telszewski

More information about the SlackBuilds-users mailing list