dev-lang/rust-bin-1.41.0 has no issues. dev-lang/rust-1.41.0 barfs with messages like the following when it tries to connect to github: ---- cargo +system update -v Updating crates.io index error: failed to load source for a dependency on `proc-macro2` Caused by: Unable to update registry `https://github.com/rust-lang/crates.io-index` Caused by: failed to fetch `https://github.com/rust-lang/crates.io-index` Caused by: invalid version 3 on git_proxy_options; class=Invalid (3) ---- If you `eselect rust set` to rust-bin, and re-run the same cargo command, it will sync to git just fine. Just be aware, after doing that, if you `eselect rust set` back to 'rust', the problem will appear to vanish because the failing call gets elided by caching. Setting fire to various things in ~/.cargo can subsequently trip this mechanic to happening. ---- dev-lang/rust-1.41.0::gentoo was built with the following: USE="clippy rls rustfmt system-bootstrap wasm -debug -doc -libressl -nightly -parallel-compiler -system-llvm" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="BPF NVPTX WebAssembly (X86) -AArch64 -AMDGPU -ARM -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -XCore" dev-lang/rust-bin-1.41.0::gentoo was built with the following: USE="-clippy -doc -libressl -rustfmt" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" Rust-Bin: /usr/bin/rustc --verbose --version rustc 1.41.0 (5e1a79984 2020-01-27) binary: rustc commit-hash: 5e1a799842ba6ed4a57e91f7ab9435947482f7d8 commit-date: 2020-01-27 host: x86_64-unknown-linux-gnu release: 1.41.0 LLVM version: 9.0 Rust: /usr/bin/rustc --verbose --version rustc 1.41.0 binary: rustc commit-hash: unknown commit-date: unknown host: x86_64-unknown-linux-gnu release: 1.41.0 LLVM version: 9.0
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0edd089556150f6d507c4c98487458e55e4720bb commit 0edd089556150f6d507c4c98487458e55e4720bb Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-02-01 11:47:10 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-02-01 11:48:01 +0000 dev-lang/rust: fix libgit2 breakage in 1.41.0 use bundled crate version for now. "amazing" libgit2-sys upstream uses ABI from master and does not work with 0.28.x releases. Bug: https://bugs.gentoo.org/707746 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/rust-1.41.0.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
quick and dirty inplace fix for everyone who hasn't updated yet. will do a revbump later with abit rollback and proper deps.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cff84737fa33c9186b8549c66ecda830382fba36 commit cff84737fa33c9186b8549c66ecda830382fba36 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-04-25 03:35:51 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-04-25 06:05:51 +0000 dev-lang/rust: bump to 1.43.0 use system libgit2 initial src_test support (thanks smaeul) clean-up ebuild code a bit Closes: https://bugs.gentoo.org/707746 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/Manifest | 15 + ...12-Ignore-broken-and-non-applicable-tests.patch | 89 +++++ ....0-llvm10-LLVMTimeTraceProfilerInitialize.patch | 26 ++ dev-lang/rust/files/1.43.0-llvm10.patch | 194 ++++++++++ dev-lang/rust/rust-1.43.0.ebuild | 413 +++++++++++++++++++++ 5 files changed, 737 insertions(+)