I tried what happens if I simply rename rust-1.48.0.ebuild to rust-1.49.0.ebuild. The build fails on a bunch of compile errors in compiler/rustc_target/src/spec/*_gentoo_linux_musl*.rs. Likely the internal rustc API has been changed and the patch 1.48.0-gentoo-musl-target-specs.patch needs to be adopted for 1.49.0. I can try and port the patch, if that is desired/would help bumping rustc?
For what it's worth: rustc 1.49.0 compiles fine if I drop the 1.48.0-gentoo-musl-target-specs.patch (under amd64 and the following use-flags, working-around still-present https://bugs.gentoo.org/756340): [ebuild R ~] dev-lang/rust-1.49.0:stable/1.49::strohel USE="clippy nightly rls rustfmt system-llvm wasm -debug -doc (-libressl) -miri -parallel-compiler -system-bootstrap -test" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_TARGETS="WebAssembly (X86) -AArch64 -AMDGPU -ARM -AVR -BPF -Hexagon -Lanai -MSP430 -Mips -NVPTX -PowerPC -RISCV -Sparc -SystemZ -XCore" 0 KiB
Porting the patch would likely be helpful, yes! gyakovlev was handling the version bumps most of the time, unfortunately my current server is unable to build current versions of Rust due to a lack of memory. I ordered a new server, but I haven't been able to get it to boot successfully, so some work left.
patch is already ported https://github.com/gentoo/gentoo/pull/19060 I'll bump soon, just been on vacation and bit busy to bump this time.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917834967815df3e0762e4047741e4e631ab69ba commit 917834967815df3e0762e4047741e4e631ab69ba Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-02-02 22:21:07 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-02-02 23:52:17 +0000 virtual/rust: bump to 1.49.0 Closes: https://bugs.gentoo.org/768351 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> virtual/rust/rust-1.49.0.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e16d609e524e3101e898ca62492a893173b6f75 commit 2e16d609e524e3101e898ca62492a893173b6f75 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-02-02 22:19:05 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-02-02 23:52:16 +0000 dev-lang/rust-bin: bump to 1.49.0 Closes: https://bugs.gentoo.org/768351 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust-bin/Manifest | 14 +++ dev-lang/rust-bin/rust-bin-1.49.0.ebuild | 155 +++++++++++++++++++++++++++++++ 2 files changed, 169 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45ec73a5094fd09672fbbbd5a49960937e0e6a1 commit e45ec73a5094fd09672fbbbd5a49960937e0e6a1 Author: Margarita Manterola <marga@kinvolk.io> AuthorDate: 2021-01-14 11:25:26 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-02-02 23:52:15 +0000 dev-lang/rust: bump to 1.49.0 This required a refactor of the gentoo-musl-target-specs.patch, to adopt the new format of the target() method. Closes: https://bugs.gentoo.org/768351 Closes: https://github.com/gentoo/gentoo/pull/19060 Signed-off-by: Margarita Manterola <marga@kinvolk.io> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust/Manifest | 15 + .../files/1.49.0-gentoo-musl-target-specs.patch | 164 ++++++ dev-lang/rust/rust-1.49.0.ebuild | 615 +++++++++++++++++++++ 3 files changed, 794 insertions(+)
Oh cool, thanks a bunch. It didn't occur to be that the development happens on GitHub.
(In reply to Matěj Laitl from comment #5) > Oh cool, thanks a bunch. It didn't occur to be that the development happens > on GitHub. it does not, not directly. it's just a mirror for accepting pull requests conveniently, we still merge to our own hosted git tree.