[Bug 1993183] [NEW] rustc linux kernel requirements

Dimitri John Ledkov 1993183 at bugs.launchpad.net
Mon Oct 17 14:28:14 UTC 2022


Public bug reported:

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_is_available.sh -v
***
*** 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.

** Affects: rustc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc in Ubuntu.
https://bugs.launchpad.net/bugs/1993183

Title:
  rustc linux kernel requirements

Status in rustc package in Ubuntu:
  New

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_is_available.sh -v
  ***
  *** 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1993183/+subscriptions




More information about the foundations-bugs mailing list