Bug 34500 - Update Request: rust version 1.82, needed to build FF and TB 140.3.1 with security fixes.
Summary: Update Request: rust version 1.82, needed to build FF and TB 140.3.1 with sec...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK,MGA9-32-OK
Keywords: advisory, validated_update
Depends on:
Blocks: 34637 34638
  Show dependency treegraph
 
Reported: 2025-07-22 05:15 CEST by katnatek
Modified: 2025-10-20 21:52 CEST (History)
10 users (show)

See Also:
Source RPM: rust-1.78.0-1.mga9
CVE:
Status comment:


Attachments
Build Fail in 64bit (14.10 KB, text/plain)
2025-10-11 23:49 CEST, katnatek
Details

Description katnatek 2025-07-22 05:15:16 CEST
Our rust could be too old to keep updating chromium-browser

See bug#34394 comment#4
Comment 1 Jani Välimaa 2025-07-22 19:15:39 CEST
Rust 1.80.0 should be enough according to upstream PR:
https://github.com/rust-lang/rust/pull/124678#event-12703606396.

Upstream commit:
https://github.com/rust-lang/rust/commit/93ca906cb572d8754dc43773a3cd502717fd8f07
Jani Välimaa 2025-07-22 19:16:39 CEST

Summary: Update Request: rust version 1.85.0 => Update Request: rust version 1.80.0

Comment 2 katnatek 2025-07-22 19:26:21 CEST
(In reply to Jani Välimaa from comment #1)
> Rust 1.80.0 should be enough according to upstream PR:
> https://github.com/rust-lang/rust/pull/124678#event-12703606396.
> 
> Upstream commit:
> https://github.com/rust-lang/rust/commit/
> 93ca906cb572d8754dc43773a3cd502717fd8f07

Did you take this or is it fine if I do?
katnatek 2025-07-22 20:12:22 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=34480

katnatek 2025-07-23 00:58:10 CEST

Assignee: pkg-bugs => j.alberto.vc

katnatek 2025-07-24 03:24:32 CEST

Depends on: (none) => 34507

Comment 3 katnatek 2025-07-25 04:49:39 CEST
With rust 1.80.0 firefox i586 still fail with

rustc-LLVM ERROR: Cannot emit physreg copy instruction

Even with the patch I find for llvm19, so could be necessary to update llvm19-suite, but is not clear to what version

CC: (none) => jani.valimaa

Comment 4 Jani Välimaa 2025-07-25 12:27:14 CEST
(In reply to katnatek from comment #3)
> With rust 1.80.0 firefox i586 still fail with
> 
> rustc-LLVM ERROR: Cannot emit physreg copy instruction
> 
> Even with the patch I find for llvm19, so could be necessary to update
> llvm19-suite, but is not clear to what version

For this special package I recommend to request an exception to updates policy and update to the latest one, 19.1.7.
Comment 5 Keith Bowes 2025-07-26 22:55:53 CEST
(In reply to Jani Välimaa from comment #1)
> Rust 1.80.0 should be enough according to upstream PR:
> https://github.com/rust-lang/rust/pull/124678#event-12703606396.
> 
> Upstream commit:
> https://github.com/rust-lang/rust/commit/
> 93ca906cb572d8754dc43773a3cd502717fd8f07

It seems that even if Rust 1.80 is enough, it should be updated to 1.81 just to fix https://bugs.mageia.org/show_bug.cgi?id=33522 while you're updating Rust anyway.

CC: (none) => zooplah

Comment 6 katnatek 2025-07-27 04:25:25 CEST
Due bug#34394 comment#9
 
I not have a valid motive to request the update

Tested building firefox in all architectures, just with a change for i586

Depends on: 34507 => (none)
Blocks: 34394 => (none)

Marja Van Waes 2025-10-08 11:19:50 CEST

CC: (none) => marja11
Summary: Update Request: rust version 1.80.0 => Update Request: rust version 1.82, needed to build FF and TB 140.3.1 with security fixes.
Blocks: (none) => 34637, 34638

Comment 7 Morgan Leijström 2025-10-08 13:34:11 CEST
High priority because it blocks security updates of applications.

CC: (none) => fri
Priority: Normal => High

Comment 8 katnatek 2025-10-09 23:06:43 CEST
rust 1.80.1 looks good to build current firefox, working on 1.81.0 now
Comment 9 katnatek 2025-10-11 19:18:19 CEST
Tested 1.81.0
But I'm experimenting issues building 1.82.0, currently testing if use llvm19-suite make some difference
Comment 10 katnatek 2025-10-11 23:49:42 CEST
Created attachment 15135 [details]
Build Fail in 64bit

aarch64 and i586 keep building but x86_64 fails
Maybe llvm 19 suite need update :S
Comment 11 katnatek 2025-10-12 19:27:44 CEST Comment hidden (obsolete)

Assignee: j.alberto.vc => pkg-bugs

Comment 12 Cyril Levet 2025-10-13 20:29:04 CEST
@katnatek. We build Firefox every month on the Mageia Linux Online community repository. We bundle rust with Firefox and does not follow Mageia packaging rules. However, maybe you can use our package as an inspiration. You can find the source package here : https://repository.mageialinux-online.org/9/SRPMS/media/core/firefox-release-143.0.4-1.yuu.mlo9.src.rpm

CC: (none) => cyril.levet0780

Comment 13 katnatek 2025-10-13 20:38:15 CEST
(In reply to Cyril Levet from comment #12)
> @katnatek. We build Firefox every month on the Mageia Linux Online community
> repository. We bundle rust with Firefox and does not follow Mageia packaging
> rules. However, maybe you can use our package as an inspiration. You can
> find the source package here :
> https://repository.mageialinux-online.org/9/SRPMS/media/core/firefox-release-
> 143.0.4-1.yuu.mlo9.src.rpm

Not my decision, will be just for 64b as rust 1.82.0 builds at less in aarch64,i586, but I'm not the firefox packager
Comment 14 i mek 2025-10-13 22:02:46 CEST
Why not go beyond llvm19-suite? Maybe 20 or 21 would do?

CC: (none) => imek5

Comment 15 katnatek 2025-10-13 22:06:31 CEST
(In reply to i mek from comment #14)
> Why not go beyond llvm19-suite? Maybe 20 or 21 would do?
I'm building 20.1.0 right now to test
Comment 16 katnatek 2025-10-14 20:33:15 CEST
llvm 20.1.0 not helps and I think goes beyond 19 will not help https://copr.fedorainfracloud.org/coprs/katnatek/mgaMentorship/build/9688199/

I'll will try add mageia patches to llvm 19.1.7 and/or build rust 1.83.0
Comment 17 katnatek 2025-10-15 21:02:24 CEST Comment hidden (obsolete)

CC: (none) => nicolas.salguero

Comment 18 katnatek 2025-10-16 20:09:01 CEST
I find a rust upstream report https://github.com/rust-lang/rust/issues/131944
And a PR https://github.com/rust-lang/rust/pull/132613

I will try with that
Comment 19 katnatek 2025-10-17 03:12:34 CEST
Well as the issue is related with defective debuginfo I decide to reduce debuginfo on all architectures, for the moment looks good it passes all the previous fail points, perhaps is not the best solution but all others fail.

I'll keep informing or send the change to BS if ends good
Comment 20 katnatek 2025-10-17 05:06:46 CEST
The build ends but I want to try one more PR https://github.com/rust-lang/rust/pull/138818

to see if builds with the normal debuginfo in x86_64
Comment 21 katnatek 2025-10-17 16:27:19 CEST
RPMS:

cargo-1.82.0-1.mga9
clippy-1.82.0-1.mga9
rust-1.82.0-1.mga9
rust-analyzer-1.82.0-1.mga9
rust-debugger-common-1.82.0-1.mga9
rust-doc-1.82.0-1.mga9
rust-gdb-1.82.0-1.mga9
rust-lldb-1.82.0-1.mga9
rust-src-1.82.0-1.mga9
rust-std-static-1.82.0-1.mga9
rust-std-static-i686-pc-windows-gnu-1.82.0-1.mga9
rust-std-static-wasm32-unknown-unknown-1.82.0-1.mga9
rust-std-static-wasm32-wasi-1.82.0-1.mga9
rust-std-static-wasm32-wasip1-1.82.0-1.mga9
rust-std-static-x86_64-pc-windows-gnu-1.82.0-1.mga9
rust-std-static-x86_64-unknown-none-1.82.0-1.mga9
rust-std-static-x86_64-unknown-uefi-1.82.0-1.mga9
rustfmt-1.82.0-1.mga9

Assignee: pkg-bugs => qa-bugs

Comment 22 Jose Manuel López 2025-10-17 16:33:08 CEST
In response to comment 21. I hope it works well katnatek, great job!

Firefox and Thunderbird updates are closer.

CC: (none) => Joselp

Comment 23 katnatek 2025-10-17 18:49:16 CEST Comment hidden (obsolete)
Comment 24 katnatek 2025-10-19 04:11:24 CEST
Used to build firefox 140.4.0 without issues
in 3 architectures, arm fail is as I understand
due limitations of the architecture.

Used to build rust-cbindgen in all architectures
without issue

I'll upload advisory tomorrow

Whiteboard: (none) => MGA-9-64-OK,MGA-9-32-OK

Comment 25 Thomas Andrews 2025-10-19 13:51:03 CEST
Cool. I've been concerned about this one. I'm not at all qualified to do any tests on it other than maybe a clean install, so I couldn't help. Thanks for your hard work!

Validating.

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

katnatek 2025-10-19 18:53:56 CEST

Keywords: (none) => advisory

katnatek 2025-10-19 18:54:40 CEST

Whiteboard: MGA-9-64-OK,MGA-9-32-OK => MGA9-64-OK,MGA9-32-OK

Comment 26 Mageia Robot 2025-10-20 21:52:21 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2025-0086.html

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


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