Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 769446

Summary: dev-lang/rust-bin: add s390x support
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED FIXED    
Severity: normal CC: pacho, rust, s390
Priority: Normal    
Version: unspecified   
Hardware: s390   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 769452    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-08 09:04:32 UTC
Rust upstream support s390x (but not s390).
Comment 1 Georgy Yakovlev archtester gentoo-dev 2022-04-25 18:29:45 UTC
according to sam:

rust-bin works to build some applications like ripgrep

so at this point I can say it's ok to add ~s390 keyword to rust-bin and virtual/rust

last time bootstrapping rust with rust-bin failed, but that does not really stop us from using only -bin for now.

unfortunately, due to same keyword, all the s390 keyworded packages that depend on virtual/rust will have to be masked on s390 profiles / unmasked on s390x ones, like on arm.
Comment 2 Larry the Git Cow gentoo-dev 2022-04-25 18:32:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3315ee9492e63426fe60ad30b23aa824f45f625

commit d3315ee9492e63426fe60ad30b23aa824f45f625
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-25 18:32:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-25 18:32:38 +0000

    profiles/arch/s390: mask Rust on s390, and unmask on s390x
    
    Bug: https://bugs.gentoo.org/769446
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/s390/package.mask       | 7 +++++++
 profiles/arch/s390/s390x/package.mask | 7 +++++++
 2 files changed, 14 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aedee582dc5a1f4cdf9f89797d5b088461e74646

commit aedee582dc5a1f4cdf9f89797d5b088461e74646
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-25 18:31:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-25 18:32:37 +0000

    dev-lang/rust-bin: keyword 1.60.0 for ~s390
    
    Bug: https://bugs.gentoo.org/769446
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lang/rust-bin/rust-bin-1.60.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d37197fb626bbcd35fd5fa09cb8c0e5ee3b893e5

commit d37197fb626bbcd35fd5fa09cb8c0e5ee3b893e5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-25 18:30:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-25 18:32:36 +0000

    virtual/rust: keyword 1.60.0 for ~s390
    
    Bug: https://bugs.gentoo.org/769446
    Signed-off-by: Sam James <sam@gentoo.org>

 virtual/rust/rust-1.60.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-04-25 19:40:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457fb9e970e1109c3be391258d68111a67371240

commit 457fb9e970e1109c3be391258d68111a67371240
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-25 19:39:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-25 19:40:14 +0000

    app-eselect/eselect-rust: keyword 20210703 for ~s390
    
    Bug: https://bugs.gentoo.org/769446
    Signed-off-by: Sam James <sam@gentoo.org>

 app-eselect/eselect-rust/eselect-rust-20210703.ebuild | 4 ++--
 profiles/arch/s390/package.mask                       | 1 +
 profiles/arch/s390/s390x/package.mask                 | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)