[Bug 1966200] [NEW] [FFe] rustc: Downgrade cargo from Recommends to Suggests

Simon Chopin 1966200 at bugs.launchpad.net
Thu Mar 24 11:10:38 UTC 2022


Public bug reported:

Hi,

I'd like to upload a new rustc version (see attached debdiff). In
addition to the obvious security fix, this version would downgrade the
Recommends: cargo to a mere Suggests: for the rustc binary.

The rationale behind the change is that we'd like to promote rustc to
main (see https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1957932
for details) and cargo isn't ready to be promoted.

I expect the impact on the archive to be minimal, as there are only two
direct reverse-dependencies on rustc:

❯ reverse-depends rustc
Reverse-Depends
* cargo
* rust-all

rust-all already has its own Depends: relationship to cargo, and as such
isn't relying on rustc to provide it.

AFAIK our builders don't consider Recommends dependencies, so this
change shouldn't result in build breakages.

My educated guess is that any user that wishes to install Rust and does
*not* follow that community's standard way of doing things (bypassing
system packages) would install rust-all or cargo directly, not expecting
rustc to provide the higher-level tooling.

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

** Attachment added: "rustc-ffe.debdiff"
   https://bugs.launchpad.net/bugs/1966200/+attachment/5572462/+files/rustc-ffe.debdiff

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

Title:
  [FFe] rustc: Downgrade cargo from Recommends to Suggests

Status in rustc package in Ubuntu:
  New

Bug description:
  Hi,

  I'd like to upload a new rustc version (see attached debdiff). In
  addition to the obvious security fix, this version would downgrade the
  Recommends: cargo to a mere Suggests: for the rustc binary.

  The rationale behind the change is that we'd like to promote rustc to
  main (see https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1957932
  for details) and cargo isn't ready to be promoted.

  I expect the impact on the archive to be minimal, as there are only
  two direct reverse-dependencies on rustc:

  ❯ reverse-depends rustc
  Reverse-Depends
  * cargo
  * rust-all

  rust-all already has its own Depends: relationship to cargo, and as
  such isn't relying on rustc to provide it.

  AFAIK our builders don't consider Recommends dependencies, so this
  change shouldn't result in build breakages.

  My educated guess is that any user that wishes to install Rust and
  does *not* follow that community's standard way of doing things
  (bypassing system packages) would install rust-all or cargo directly,
  not expecting rustc to provide the higher-level tooling.

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




More information about the foundations-bugs mailing list