NEW SRU rustc linux kernel requirements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rust-bindgen-0.56 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned | ||
rustc-1.62 (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned | ||
Lunar |
Fix Released
|
Critical
|
Unassigned |
Bug Description
linux kernel is adding rustc requirements.
ideally we need a compatible version of rustc in $devel release, and last $lts, due to backporting of $devel kernels to latest $lts at point releases.
Attempting the rust build in jammy today results in the following checks failing:
sh ./scripts/
***
*** Rust compiler '/usr/bin/rustc' is too old.
*** Your version: 1.61.0
*** Minimum version: 1.62.0
***
***
*** Rust bindings generator 'bindgen' is too new. This may or may not work.
*** Your version: 0.59.1
*** Expected version: 0.56.0
***
Please update rustc to 1.62.0 in LL devel release and Jammy.
Separately I will look if upstream kernel can upgrade to a newer bindgen, or if we need to request a historical bindgen packaging as bindgen-0.56 or some such.
tags: | added: foundations-triage-discuss |
Changed in rustc (Ubuntu): | |
status: | Incomplete → Triaged |
tags: |
added: foundations-todo removed: foundations-triage-discuss |
affects: | rustc (Ubuntu) → rustc-1.62 (Ubuntu) |
Changed in rust-bindgen-0.56 (Ubuntu Lunar): | |
status: | New → Fix Released |
no longer affects: | rust-bindgen (Ubuntu Jammy) |
no longer affects: | rust-bindgen (Ubuntu Lunar) |
no longer affects: | rust-bindgen (Ubuntu) |
Changed in rustc-1.62 (Ubuntu Lunar): | |
status: | Triaged → Fix Released |
Changed in rustc-1.62 (Ubuntu Jammy): | |
status: | New → Fix Released |
Changed in rust-bindgen-0.56 (Ubuntu Jammy): | |
status: | New → In Progress |
summary: |
- rustc linux kernel requirements + NEW SRU rustc linux kernel requirements |
Dimitri, do you know if upstream's rustc requirements are just 1.62, or 1.62 and above? I'm guessing they're using unstable features in the code, so they might be picky with the exact compiler version. If so, we'll need to get moving on branching out rustc into rustc-1.N packages :/