Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 868330 - dev-lang/rust-1.63.0 version bump
Summary: dev-lang/rust-1.63.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Georgy Yakovlev
URL: https://blog.rust-lang.org/2022/08/11...
Whiteboard:
Keywords:
Depends on:
Blocks: 867802
  Show dependency tree
 
Reported: 2022-09-04 02:08 UTC by Alec Moskvin
Modified: 2022-09-16 01:44 UTC (History)
8 users (show)

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


Attachments
rust-1.63.0 llvm 15 support (1.63.0-llvm-15.patch,16.09 KB, patch)
2022-09-09 20:58 UTC, Mike Lothian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2022-09-04 02:08:53 UTC
Rust 1.63.0 was released on August 11. A trivial rename of rust-1.62.1.ebuild is sufficient. I built some packages including firefox, librsvg and ripgrep, and did not encounter any issues.

Reproducible: Always
Comment 1 Ionen Wolkens gentoo-dev 2022-09-04 02:28:17 UTC
Even if there's still some issues, would be nice to get it at least unkeyworded or masked for testing and doing fixes as needed.
Comment 2 tt_1 2022-09-04 17:13:17 UTC
I believe firefox-102.2.0 was broken when I tested rustc-1.63.0 a week ago.
Comment 3 cyrillic 2022-09-04 21:56:34 UTC
spidermonkey-102 and firefox-102 were broken for me, but if I comment-out the "--enable-rust-simd" part from the ebuild(s), then the packages were able to compile.
Comment 4 tt_1 2022-09-08 19:19:09 UTC
the fixes for the breakage in rust_simd2 will be part of 102.3.0, firefox-91esr will be left unfixed. it might be possible to copy the fix for rust_simd in firefox-91esr, if need to. 

in any case, can we maybe go ahead with bumping the rust ebuild? The release is about five weeks old now, and given rusts rather short release cycle it is about time.
Comment 5 Mike Lothian 2022-09-09 20:58:15 UTC
Created attachment 804262 [details, diff]
rust-1.63.0 llvm 15 support

This gets rust 1.63.0 compiling with llvm 15 here

Taken from these pull requests:

https://github.com/rust-lang/rust/pull/98632
https://github.com/rust-lang/rust/pull/98670
https://github.com/rust-lang/rust/pull/99185
https://github.com/rust-lang/rust/pull/99512
Comment 6 Mike Lothian 2022-09-09 21:00:48 UTC
I've added the ebuild to the FireBurn overlay if anyone would like to test it
Comment 7 cyrillic 2022-09-11 19:33:37 UTC
llvm-15 support in rust was the last piece I needed to depclean llvm-14 from my system.

spidermonkey-91 was even able to compile with llvm-15 using the same trick as spidermonkey-102.
Comment 8 Larry the Git Cow gentoo-dev 2022-09-13 22:59:56 UTC
The bug has been closed via the following commit(s):

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

commit cbb0927d2bdead899288a2d90a4a9f584fb42bdd
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2022-09-13 21:48:55 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-09-13 22:59:20 +0000

    virtual/rust: add 1.63.0
    
    Closes: https://bugs.gentoo.org/868330
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 virtual/rust/rust-1.63.0.ebuild | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit 3906ab7a59bda4a9c3f058d2defb05667cb24b1b
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2022-09-13 21:47:30 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-09-13 22:59:20 +0000

    dev-lang/rust: add 1.63.0
    
    Bug: https://bugs.gentoo.org/868330
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust/Manifest                             |  34 +
 .../rust/files/1.62.1-musl-dynamic-linking.patch   |  25 +
 dev-lang/rust/rust-1.63.0.ebuild                   | 738 +++++++++++++++++++++
 3 files changed, 797 insertions(+)

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

commit 43d97e8bbfe450bee7c4e9322f3b7140a4a8a6a4
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2022-09-13 21:46:25 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-09-13 22:59:20 +0000

    dev-lang/rust-bin: add 1.63.0
    
    Bug: https://bugs.gentoo.org/868330
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-lang/rust-bin/Manifest               |  33 +++++
 dev-lang/rust-bin/rust-bin-1.63.0.ebuild | 221 +++++++++++++++++++++++++++++++
 2 files changed, 254 insertions(+)
Comment 9 Georgy Yakovlev archtester gentoo-dev 2022-09-13 23:01:53 UTC
sorry, no plans to add llvm-15 patch to 1.63.0 for now, it's way too large for stable-candidate rust, and llvm-15 is not stable yet.
otherwise rust is updated
Comment 10 Ionen Wolkens gentoo-dev 2022-09-14 01:19:12 UTC
Thanks, and seconding that we shouldn't do these patches for newer llvm in the main tree on a whim.

Also, imagine 15 suite won't be stable for a potentially very long time given widespread issues triggered by clang-15 when using as system compiler. I wouldn't be in a hurry to get rid of 14.
Comment 11 tt_1 2022-09-14 05:06:46 UTC
upstream does not seem to switch to llvm-15 before 1.65-nightly, so no hurries here indeed
Comment 12 tt_1 2022-09-15 07:06:16 UTC
> * Applying 1.62.1-musl-dynamic-linking.patch ...
> patch unexpectedly ends in middle of line                                          > [ ok ]


maybe its better to fix this little quirk? no idea if it has any real world consequences though :D
Comment 13 Georgy Yakovlev archtester gentoo-dev 2022-09-16 01:44:03 UTC
Probably missing newline
Will fix, thanks