fractal-6 requires rust-1.75.0, sigh.
From what I'm hearing there is currently no active rust maintainer and the versions so far have just been bumped - and now 1.75 didn't build. The bug that shows up was fixed upstream: https://github.com/rust-lang/rust/commit/1caa419a42d74832e3bc30e6874c9712147e5811 (with this patch) https://github.com/rust-lang/rust/pull/119582.patch Just popping this into FILESDIR and having it applied fixes the build for me. (The musl patch needs to be updated - the file it's patching has been moved/renamed from compiler/rustc_target/src/spec/linux_musl_base.rs to compiler/rustc_target/src/spec/base/linux_musl.rs)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e5d0b920146597216a2b1e0b473776b5295272 commit e1e5d0b920146597216a2b1e0b473776b5295272 Author: Randy Barlow <randy@electronsweatshop.com> AuthorDate: 2024-01-31 02:16:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-10 04:48:55 +0000 virtual/rust: Add 1.75.0 Closes: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Closes: https://github.com/gentoo/gentoo/pull/35085 Signed-off-by: Sam James <sam@gentoo.org> virtual/rust/rust-1.75.0.ebuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e17131c248b1c280085d5808ee6ba9f087d51ee commit 8e17131c248b1c280085d5808ee6ba9f087d51ee Author: Randy Barlow <randy@electronsweatshop.com> AuthorDate: 2024-01-31 02:16:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-10 04:48:55 +0000 sys-devel/rust-std: Add 1.75.0 Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org> sys-devel/rust-std/Manifest | 1 + sys-devel/rust-std/rust-std-1.75.0.ebuild | 155 ++++++++++++++++++++++++++++++ 2 files changed, 156 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96cd647a6641e49914a78743547c15994531d882 commit 96cd647a6641e49914a78743547c15994531d882 Author: Randy Barlow <randy@electronsweatshop.com> AuthorDate: 2024-01-31 02:15:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-10 04:48:55 +0000 dev-lang/rust-bin: Add 1.75.0 Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust-bin/Manifest | 29 ++++ dev-lang/rust-bin/rust-bin-1.75.0.ebuild | 240 +++++++++++++++++++++++++++++++ 2 files changed, 269 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a308fe5493162778df3d963bc5c224b3f97f9b commit 83a308fe5493162778df3d963bc5c224b3f97f9b Author: Randy Barlow <randy@electronsweatshop.com> AuthorDate: 2024-01-31 02:14:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-10 04:48:55 +0000 dev-lang/rust: Add 1.75 Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust/Manifest | 30 + .../files/1.75.0-handle-vendored-sources.patch | 45 ++ dev-lang/rust/rust-1.75.0.ebuild | 762 +++++++++++++++++++++ 3 files changed, 837 insertions(+)
That patch also works on rust-1.76.0
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051355c623854159c59fa1af75c4fbb7dbb8993e commit 051355c623854159c59fa1af75c4fbb7dbb8993e Author: Violet Purcell <vimproved@inventati.org> AuthorDate: 2024-02-11 01:47:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-11 05:59:50 +0000 dev-lang/rust: rebase and re-apply musl dynamic linking patch for 1.75 This somehow got lost in the 1.75 bump, but it is required for e.g. Firefox to compile on musl. Bug: https://bugs.gentoo.org/922880 Signed-off-by: Violet Purcell <vimproved@inventati.org> Closes: https://github.com/gentoo/gentoo/pull/35267 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust/files/1.75.0-musl-dynamic-linking.patch | 19 +++++++++++++++++++ .../{rust-1.75.0.ebuild => rust-1.75.0-r1.ebuild} | 1 + 2 files changed, 20 insertions(+)