If I do ./build.sh nightly without having built a beta I get this error:
$ ./build.sh nightly
Mon Mar 6 23:04:48 GMT 2017: target: nightly - x86_64-unknown-openbsd
Mon Mar 6 23:04:49 GMT 2017: fetching (cache miss): rust-src-nightly.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 29.7M 100 29.7M 0 0 1430k 0 0:00:21 0:00:21 --:--:-- 1485k
Mon Mar 6 23:05:10 GMT 2017: fetching (cache hit): rust-src-nightly.tar.gz
Mon Mar 6 23:05:10 GMT 2017: extracting rust-src-nightly.tar.gz
Mon Mar 6 23:05:18 GMT 2017: patching nightly
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|https://github.com/llvm-mirror/llvm/commit/f92d91a710f48a26e44451f18f0081b6af0670b7
|--- src/llvm/include/llvm/Support/Threading.h.orig Wed Dec 21 00:36:08 2016
|+++ src/llvm/include/llvm/Support/Threading.h Sun Jan 29 09:20:53 2017
--------------------------
Patching file src/llvm/include/llvm/Support/Threading.h using Plan A...
Hunk #1 succeeded at 20.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- src/bootstrap/lib.rs.orig Sat Feb 25 10:19:47 2017
|+++ src/bootstrap/lib.rs Sat Feb 25 10:19:57 2017
--------------------------
Patching file src/bootstrap/lib.rs using Plan A...
Hunk #1 succeeded at 822 (offset 4 lines).
done
Mon Mar 6 23:05:20 GMT 2017: fetching (cache miss): cargo-nightly bfee18f73287687c543bda8c35e4e33808792715
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 157 0 157 0 0 356 0 --:--:-- --:--:-- --:--:-- 391
100 614k 100 614k 0 0 330k 0 0:00:01 0:00:01 --:--:-- 566k
Mon Mar 6 23:05:22 GMT 2017: fetching (cache hit): cargo-nightly bfee18f73287687c543bda8c35e4e33808792715
Mon Mar 6 23:05:22 GMT 2017: extracting cargo-nightly bfee18f73287687c543bda8c35e4e33808792715
Mon Mar 6 23:05:22 GMT 2017: patching cargo-nightly
./build.sh[509]: /home/ltratt/tmp/build-rust/install_dir/beta/bin/cargo: not found
It looks to me like the script isn't correctly reinvoking itself to build the beta version first?
If I do
./build.sh nightly
without having built a beta I get this error:It looks to me like the script isn't correctly reinvoking itself to build the beta version first?