Bug 30576 - Update candidate: rust 1.60.0
Summary: Update candidate: rust 1.60.0
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-06-22 14:50 CEST by Rémi Verschelde
Modified: 2022-06-24 22:51 CEST (History)
6 users (show)

See Also:
Source RPM: rust-1.57.0-1.1.mga8
CVE:
Status comment:


Attachments

Description Rémi Verschelde 2022-06-22 14:50:35 CEST
We'll soon need to package Firefox and Thunderbird 102 ESR for Mageia 8, and this increases the requirement on the Rust version we provide.

According to https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html, Firefox 102 requires a minimum of Rust 1.59.0, and their own builds use Rust 1.60.0.

So I'm updating Rust in Mageia 8 to Rust 1.60.0 to match what Mozilla is using, to make sure that we don't run into issues specific to using a different Rust version.

Advisory:
=========

Updated rust packages provide version 1.60.0 with new features

  This update is mainly motivated by the requirements of the upcoming Firefox
  and Thunderbird 102 ESR, which require Rust 1.59.0 as minimum (and 1.60.0 as
  recommended).

  This also provides new Rust features and fixes from 1.58.0, 1.59.0 and
  1.60.0. See the linked release notes for details.

References:

 - https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html
 - https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
 - https://blog.rust-lang.org/2022/02/24/Rust-1.59.0.html
 - https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html


SRPM in core/updates_testing:
=============================

rust-1.60.0-1.mga8

RPMs in core/updates_testing:
=============================

cargo-1.60.0-1.mga8
cargo-doc-1.60.0-1.mga8
clippy-1.60.0-1.mga8
rls-1.60.0-1.mga8
rust-1.60.0-1.mga8
rust-analysis-1.60.0-1.mga8
rust-debugger-common-1.60.0-1.mga8
rust-doc-1.60.0-1.mga8
rust-gdb-1.60.0-1.mga8
rust-lldb-1.60.0-1.mga8
rust-src-1.60.0-1.mga8
rust-std-static-1.60.0-1.mga8
rustfmt-1.60.0-1.mga8
Comment 1 christian barranco 2022-06-23 11:35:08 CEST
Hi
Just packaged firefox 101.0.1 w86_64 (using rust 1.60 by FF policy) with Akien's rust package in Testing. It worked like a charm. Thanks Sir!

CC: (none) => chb0

Comment 2 Herman Viaene 2022-06-23 12:00:26 CEST
MGA8-64 Plasma on Acer Aspire 5253
No installation issues.
Ref bug 21400 for testfile and procedure
$ cargo install ripgrep
    Updating crates.io index
  Downloaded ripgrep v13.0.0
  Downloaded 1 crate (272.1 KB) in 1.24s
  Installing ripgrep v13.0.0
  Downloaded cfg-if v1.0.0
  Downloaded base64 v0.13.0
  Downloaded grep-searcher v0.1.8
  Downloaded walkdir v2.3.2
  Downloaded strsim v0.8.0
  Downloaded textwrap v0.11.0
  Downloaded same-file v1.0.6
  Downloaded grep-matcher v0.1.5
  Downloaded fnv v1.0.7
  Downloaded grep-regex v0.1.9
  Downloaded crossbeam-utils v0.8.9
  Downloaded clap v2.34.0
  Downloaded quote v1.0.20
  Downloaded globset v0.4.9
  Downloaded serde_json v1.0.81
  Downloaded ryu v1.0.10
  Downloaded unicode-ident v1.0.1
  Downloaded syn v1.0.98
  Downloaded termcolor v1.1.3
  Downloaded serde_derive v1.0.137
  Downloaded unicode-width v0.1.9
  Downloaded log v0.4.17
  Downloaded regex-syntax v0.6.26
  Downloaded itoa v1.0.2
  Downloaded encoding_rs v0.8.31
  Downloaded ignore v0.4.18
  Downloaded libc v0.2.126
  Downloaded bstr v0.2.17
  Downloaded proc-macro2 v1.0.40
  Downloaded once_cell v1.12.0
  Downloaded num_cpus v1.13.1
  Downloaded memchr v2.5.0
  Downloaded thread_local v1.1.4
  Downloaded regex v1.5.6
  Downloaded serde v1.0.137
  Downloaded encoding_rs_io v0.1.7
  Downloaded grep v0.2.8
  Downloaded bitflags v1.3.2
  Downloaded atty v0.2.14
  Downloaded regex-automata v0.1.10
  Downloaded lazy_static v1.4.0
  Downloaded memmap2 v0.3.1
  Downloaded aho-corasick v0.7.18
  Downloaded grep-printer v0.1.6
  Downloaded grep-cli v0.1.6
  Downloaded bytecount v0.6.3
  Downloaded 46 crates (4.6 MB) in 2.01s (largest was `encoding_rs` at 1.4 MB)
   Compiling memchr v2.5.0
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.40
   Compiling libc v0.2.126
   Compiling log v0.4.17
   Compiling unicode-ident v1.0.1
   Compiling regex-automata v0.1.10
   Compiling lazy_static v1.4.0
   Compiling quote v1.0.20
   Compiling syn v1.0.98
   Compiling serde_derive v1.0.137
   Compiling regex-syntax v0.6.26
   Compiling encoding_rs v0.8.31
   Compiling once_cell v1.12.0
   Compiling serde v1.0.137
   Compiling serde_json v1.0.81
   Compiling fnv v1.0.7
   Compiling same-file v1.0.6
   Compiling unicode-width v0.1.9
   Compiling termcolor v1.1.3
   Compiling strsim v0.8.0
   Compiling ryu v1.0.10
   Compiling bytecount v0.6.3
   Compiling crossbeam-utils v0.8.9
   Compiling bitflags v1.3.2
   Compiling itoa v1.0.2
   Compiling base64 v0.13.0
   Compiling thread_local v1.1.4
   Compiling walkdir v2.3.2
   Compiling textwrap v0.11.0
   Compiling clap v2.34.0
   Compiling bstr v0.2.17
   Compiling aho-corasick v0.7.18
   Compiling grep-matcher v0.1.5
   Compiling memmap2 v0.3.1
   Compiling atty v0.2.14
   Compiling num_cpus v1.13.1
   Compiling encoding_rs_io v0.1.7
   Compiling ripgrep v13.0.0
   Compiling regex v1.5.6
   Compiling grep-searcher v0.1.8
   Compiling globset v0.4.9
   Compiling grep-regex v0.1.9
   Compiling grep-cli v0.1.6
   Compiling ignore v0.4.18
   Compiling grep-printer v0.1.6
   Compiling grep v0.2.8
    Finished release [optimized + debuginfo] target(s) in 21m 28s
  Installing /home/tester8/.cargo/bin/rg
   Installed package `ripgrep v13.0.0` (executable `rg`)
warning: be sure to add `/home/tester8/.cargo/bin` to your PATH to be able to run the installed binaries
Continuing ......

CC: (none) => herman.viaene

Comment 3 Herman Viaene 2022-06-23 13:52:56 CEST
I have no idea what is needed to have a valid run of the compiled rg command

$ cd Documents/rust/rust-hello_world/
$ cargo build
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
$ cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/hello_world`
Hello World!
I'm a Rustacean!

That looks OK
And ref bug 29616

$ rustfmt -v src/main.rs
Formatting /home/tester8/Documents/rust/rust-hello_world/src/main.rs
Spent 0.202 secs in the parsing phase, and 0.058 secs in the formatting phase
But again the rest of the commands in that Comment is beyond me.
In view of these previous updates and Christian's Comment 1 above, I'm OK'ing this unless someone else ......

Whiteboard: (none) => MGA8-64-OK

Comment 4 Thomas Andrews 2022-06-23 14:15:27 CEST
Looks good enough to me, Herman. Validating. Advisory in Comment 0.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update

Dave Hodgins 2022-06-23 20:23:06 CEST

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Dimitrios Glentadakis 2022-06-24 06:25:27 CEST

CC: (none) => dglent

Comment 5 Mageia Robot 2022-06-24 22:51:45 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0088.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.