Summary: | dev-lang/rust-bin: add sparc support | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Rust Project <rust> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matoro_bugzilla_gentoo, pacho, sparc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | Sparc | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 842246 | ||
Bug Blocks: | 769452 |
Description
Sam James
2021-02-08 09:09:03 UTC
I've written up the steps for bootstrapping via cross at https://wiki.gentoo.org/wiki/User:Sam/Drafts/Bootstrapping_Rust_cross. It's not perfect and doesn't yet(?) try to minimise use of external binaries / prefer system ones. I'm guessing that's possible but I really just wanted something working as I wasn't sure if it would even work as I went. I've put the sparc64-unknown-linux-gnu rust-1.61.0 binaries at https://dev.gentoo.org/~sam/distfiles/dev-lang/rust-bin/. https://dev.gentoo.org/~sam/distfiles/dev-lang/rust-bin/cargo-1.61.0-sparc64-unknown-linux-gnu.tar.xz https://dev.gentoo.org/~sam/distfiles/dev-lang/rust-bin/rust-std-1.61.0-sparc64-unknown-linux-gnu.tar.xz https://dev.gentoo.org/~sam/distfiles/dev-lang/rust-bin/rustc-1.61.0-sparc64-unknown-linux-gnu.tar.xz The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b065afb9a4d88efeecd028ee60554cce7631d6 commit c6b065afb9a4d88efeecd028ee60554cce7631d6 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-06-25 05:20:30 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-06-25 05:21:30 +0000 dev-lang/rust-bin: add unkeyworded sparc support It's a simple hacky version, just re-packed sam's tarballs into single distfile like upstream does. Thanks-to: sam@gentoo.org Bug: https://bugs.gentoo.org/769467 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust-bin/Manifest | 1 + dev-lang/rust-bin/rust-bin-1.61.0.ebuild | 4 ++++ 2 files changed, 5 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0037134821950c321f255061e307bfbe5407fbef commit 0037134821950c321f255061e307bfbe5407fbef Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-06-25 05:28:00 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-06-25 05:31:25 +0000 virtual/rust: keyword 1.61.0 for ~sparc Bug: https://bugs.gentoo.org/769467 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> virtual/rust/rust-1.61.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21775d43d5c7b8e7931a02ddf8ce32659e55f00c commit 21775d43d5c7b8e7931a02ddf8ce32659e55f00c Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-06-25 05:27:39 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-06-25 05:31:24 +0000 dev-lang/rust-bin: keyword 1.61.0 for ~sparc Bug: https://bugs.gentoo.org/769467 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-lang/rust-bin/rust-bin-1.61.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb0797a9e239b1029aa50410b75689bbf982a26 commit 2eb0797a9e239b1029aa50410b75689bbf982a26 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2022-06-25 05:25:47 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2022-06-25 05:31:24 +0000 app-eselect/eselect-rust: keyword 20210703 for ~sparc Bug: https://bugs.gentoo.org/769467 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> app-eselect/eselect-rust/eselect-rust-20210703.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a82c42c13340743296461c0b594c5ad2f8a116 commit c0a82c42c13340743296461c0b594c5ad2f8a116 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-25 05:34:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-25 05:35:20 +0000 profiles/arch/sparc: force dev-lang/rust[system-bootstrap] Needed for now until dev-lang/rust learns how to use our bootstrap tarball which we inject into dev-lang/rust-bin for sparc. Bug: https://bugs.gentoo.org/842246 Bug: https://bugs.gentoo.org/769467 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/sparc/package.use.force | 6 ++++++ 1 file changed, 6 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7da63c05115c49b3a0404313a1bb856afa576200 commit 7da63c05115c49b3a0404313a1bb856afa576200 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-25 05:35:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-25 05:35:49 +0000 dev-lang/rust: keyword 1.61.0-r1 for ~sparc Closes: https://bugs.gentoo.org/769467 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/rust/rust-1.61.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e791aea82a45010c220f1101ce0485f4a5d6ca1 commit 0e791aea82a45010c220f1101ce0485f4a5d6ca1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-25 05:39:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-25 05:39:37 +0000 profiles/arch/sparc: mask dev-lang/rust-bin[clippy,doc,rls,rustfmt] Bug: https://bugs.gentoo.org/769467 Bug: https://bugs.gentoo.org/842246 See: c0a82c42c13340743296461c0b594c5ad2f8a116 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/sparc/package.use.mask | 5 +++++ 1 file changed, 5 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f246754125269d39a802835d6f0bb32bb73692e commit 1f246754125269d39a802835d6f0bb32bb73692e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-25 05:53:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-25 22:22:39 +0000 profiles: split sparc into 32ul + 64ul This lets us easily inherit features/wd40 for just 32ul, as 64ul now has Rust. profiles/default/linux/sparc/17.0 is now purely for 32-bit (64-bit kernels still, just like before), rather than being used partly by the 64-bit (64ul) subprofile. Bug: https://bugs.gentoo.org/769467 See: ff1eda53e71a352f68e02d686d6436dc2f37c518 See: 0a1c580aff19787c759a4690f952b6dcba2a5012 See: 40a8f13c5c6e1ab840eb57d47c0eba58f2e90634 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/sparc/32ul/eapi | 1 + profiles/arch/sparc/32ul/make.defaults | 9 +++++++++ profiles/arch/sparc/32ul/parent | 2 ++ profiles/arch/sparc/make.defaults | 4 ---- profiles/arch/sparc/parent | 1 - profiles/default/linux/sparc/17.0/64ul/parent | 5 ++++- profiles/default/linux/sparc/17.0/parent | 1 + profiles/default/linux/sparc/parent | 2 +- 8 files changed, 18 insertions(+), 7 deletions(-) |