From 0f4691d937d8747bc107066bb2b750b145dd4424 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 13 Aug 2022 02:35:22 +0200 Subject: [PATCH] rustc-1.63.0-0: Build with vendor sources The build fails without it as addr2line 0.16.0 cannot be downloaded [1]. Downloaded 49 crates (3.7 MB) in 0.48s Finished dev [unoptimized] target(s) in 44.74s warning: x.py has made several changes recently you may want to look at help: consider looking at the changes in `src/bootstrap/CHANGELOG.md` note: to silence this warning, add `changelog-seen = 2` at the top of `config.toml` Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) error: failed to download `addr2line v0.16.0` Caused by: attempting to make an HTTP request, but --frozen was specified Use vendored sources [2]: # Indicate whether the vendored sources are used for Rust dependencies or not #vendor = false [1]: https://github.com/rust-lang/rust/issues/100459 [2]: https://github.com/rust-lang/rust/blob/75b7e52e92c3b00fc891b47f5b2efdff0a2be55a/config.toml.example#L261-L262 --- rustc-1.63.0-0.build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rustc-1.63.0-0.build.sh b/rustc-1.63.0-0.build.sh index 05d6c92..82a9893 100755 --- a/rustc-1.63.0-0.build.sh +++ b/rustc-1.63.0-0.build.sh @@ -56,6 +56,8 @@ docs = false # install cargo as well as rust extended = true +vendor = true + [install] # Adjust the prefix for the desired destination prefix = "$PREFIX"