[Bug 1993183] Re: rustc linux kernel requirements

Michael Hudson-Doyle 1993183 at bugs.launchpad.net
Mon Oct 17 20:50:35 UTC 2022


On Tue, 18 Oct 2022 at 03:55, Simon Chopin <1993183 at bugs.launchpad.net>
wrote:

> Dimitri, do you know if upstream's rustc requirements are just 1.62, or
> 1.62 and above?


My understanding is that each kernel version will require a specific rustc
version. So...


> 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
> :/
>

... yes we will.

-- 
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:
  Incomplete

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