Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922880 - virtual/rust: version bump (1.75.0)
Summary: virtual/rust: version bump (1.75.0)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Randy Barlow
URL: https://blog.rust-lang.org/2023/12/28...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-25 04:52 UTC by Michał Górny
Modified: 2024-02-11 06:01 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-01-25 04:52:06 UTC
fractal-6 requires rust-1.75.0, sigh.
Comment 1 Jana Saout 2024-01-29 22:39:10 UTC
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)
Comment 2 Larry the Git Cow gentoo-dev 2024-02-10 04:49:28 UTC
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(+)
Comment 3 cyrillic 2024-02-11 03:18:26 UTC
That patch also works on rust-1.76.0
Comment 4 Larry the Git Cow gentoo-dev 2024-02-11 06:01:43 UTC
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(+)