[FFe] rustc 1.61 and cargo 0.62 required by firefox 105

Bug #1986648 reported by Rico Tzschichholz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cargo (Ubuntu)
Fix Released
High
Canonical Foundations Team
Bionic
Fix Released
Undecided
Canonical Foundations Team
Focal
Fix Released
Undecided
Canonical Foundations Team
Jammy
Fix Released
Undecided
Canonical Foundations Team
rustc (Ubuntu)
Fix Released
High
Canonical Foundations Team
Bionic
Fix Released
Undecided
Canonical Foundations Team
Focal
Fix Released
Undecided
Canonical Foundations Team
Jammy
Fix Released
Undecided
Canonical Foundations Team

Bug Description

Firefox 105+ requires rustc 1.61 and cargo 0.62 to build¹.

The beta phase for Firefox 105.0 begins on 2022-08-22 and release candidates will be available from 2022-09-12.

We will need these in Ubuntu 22.10 and all supported releases: bionic, focal, jammy.

¹ https://bugzilla.mozilla.org/show_bug.cgi?id=1783985

Rust toolchain upgrades are usually relatively safe from a FTBFS point of view, since new releases are subjected to a crater run, crater being a tool that compiles the entirety of the crates.io packages.

Tags: fr-2629

CVE References

Changed in cargo (Ubuntu):
importance: Undecided → High
Olivier Tilloy (osomon)
Changed in cargo (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in rustc (Ubuntu):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in cargo (Ubuntu Bionic):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in cargo (Ubuntu Focal):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in cargo (Ubuntu Jammy):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in rustc (Ubuntu Bionic):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in rustc (Ubuntu Focal):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in rustc (Ubuntu Jammy):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Simon Chopin (schopin)
tags: added: rls-jj-incoming
Changed in cargo (Ubuntu):
status: New → Triaged
Changed in cargo (Ubuntu Bionic):
status: New → Triaged
Changed in cargo (Ubuntu Focal):
status: New → Confirmed
Changed in cargo (Ubuntu):
status: Triaged → Confirmed
Changed in cargo (Ubuntu Bionic):
status: Triaged → Confirmed
Changed in cargo (Ubuntu Jammy):
status: New → Confirmed
Changed in rustc (Ubuntu):
status: New → Confirmed
Changed in rustc (Ubuntu Bionic):
status: New → Confirmed
Changed in rustc (Ubuntu Focal):
status: New → Confirmed
Changed in rustc (Ubuntu Jammy):
status: New → Confirmed
tags: added: fr-2629
tags: removed: rls-jj-incoming
Simon Chopin (schopin)
Changed in rustc (Ubuntu):
status: Confirmed → In Progress
Changed in rustc (Ubuntu Bionic):
status: Confirmed → In Progress
Changed in rustc (Ubuntu Focal):
status: Confirmed → In Progress
Changed in rustc (Ubuntu Jammy):
status: Confirmed → In Progress
Changed in cargo (Ubuntu):
status: Confirmed → In Progress
Changed in cargo (Ubuntu Bionic):
status: Confirmed → In Progress
Changed in cargo (Ubuntu Focal):
status: Confirmed → In Progress
Changed in cargo (Ubuntu Jammy):
status: Confirmed → In Progress
Simon Chopin (schopin)
summary: - rustc 1.61 and cargo 0.62 required by firefox 105
+ [FFe] rustc 1.61 and cargo 0.62 required by firefox 105
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Normally I'd request build and install logs as part of an FFe, but in this case I think it's rather straightforward that we'll just have to 'go with it'. I approve of this FFe.

Changed in rustc (Ubuntu):
status: In Progress → Triaged
Changed in cargo (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.60.0+dfsg1-1ubuntu1

---------------
rustc (1.60.0+dfsg1-1ubuntu1) kinetic; urgency=medium

  * Merge 1.60.0+dfsg1-1 from Debian unstable (LP: #1986648)
    Remaining changes:
    - Downgrade cargo from rustc Recommends to Suggests to make rustc promotable
      to main. (LP: #1966200)
    - d/control: Add fonts-nanum to the rust-doc deps
    - d/control: Add the rust-doc deps as build-deps for the linkchecker tests
    - Reduce parallelism on all arches other than riscv64 to avoid OOMs
      during build.
    - Explicitly disable LTO
    - Add a self-build autopkgtest
    - Ship the Cargo.lock file along with the compiler to identify which crates
      were bundled in.
    - d/p/ubuntu-ignore-arm-doctest.patch: Patch out the bad doctests for the
      instruction_set errors
    - d/p/ubuntu-fix-crossbeam-CVE-2022-23639.patch: cherry-pick to fix
      CVE-2022-23639 amended to also patch the 0.7.2 version of the crate
    - On i386, only build debuginfo for libstd
    - Add a hack to ensure the stage0 compiler is extracted to the correct
      location
    - Build-Depend on libc6-dbg on armhf, to workaround a crash in ld.so
      during some debuginfo tests
    - Version the Build-Conflict on gdb-minimal as gdb now Provides it
    - Adjust the rustc Breaks/Replaces libstd-rust-dev version to fix an
      upgrade issue
    - Add Build-Depends-Indep: libssl-dev
    - Revert workaround for upstream bug #74786
    - Disable wasm build as build dependencies not currently available in
      Ubuntu.
    - Do not build windows cross compiler.
    - Drop llvm-13 to Suggests for rustc to avoid having to promote it to Ubuntu
      main
    - Add XS-Vendored-Sources-Rust field support
      Needed an extra patch due to rustc being a multi-crate source package.
  * Dropped changes:
    - d/p/ubuntu-disable-armhf-debuginfo-failures.patch: temporary to work
      around the armhf debuginfo test failures
      -> Now filtered out at the result analysis level in d/rules
    - New patch u-linkchecker-symlinks.patch to fix an issue in
      the linkchecker triggered by our symlink to the system fonts dir
      -> Merged upstream
  * d/control: Update the vendored sources field
  * d/p/ubuntu-disable-ppc64el-asm-tests.patch: disable tests on power
    and s390x if using asm!()

rustc (1.60.0+dfsg1-1) unstable; urgency=medium

  * Ignore more test failures on mips64el for lack of inline assembly support.

  * Add i386 and x32 to list of "low-memory" architectures requiring build
    workarounds.

rustc (1.60.0+dfsg1-1~exp1) experimental; urgency=medium

  * New upstream release.

rustc (1.59.0+dfsg1-2) unstable; urgency=medium

  * Backport a patch for riscv64.
  * Ignore some test failures on armhf due to regression in GDB 11.2.

rustc (1.59.0+dfsg1-1) unstable; urgency=medium

  * Upload to unstable.

 -- Simon Chopin <email address hidden> Fri, 16 Sep 2022 10:12:43 +0200

Changed in rustc (Ubuntu):
status: Triaged → Fix Released
Olivier Tilloy (osomon)
Changed in rustc (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cargo - 0.62.0ubuntu1-0ubuntu2

---------------
cargo (0.62.0ubuntu1-0ubuntu2) kinetic; urgency=medium

  * d/p/i386-crossbuild-tests.patch: disable some failing tests for
    cross-building from i386

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 14:59:42 +0200

Changed in cargo (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.61.0+dfsg1-1~exp1ubuntu1

---------------
rustc (1.61.0+dfsg1-1~exp1ubuntu1) kinetic; urgency=medium

  * Merge 1.61.0+dfsg1-1~exp1 from Debian unstable (LP: #1986648)
    Remaining changes:
    - Downgrade cargo from rustc Recommends to Suggests to make rustc promotable to
      main. (LP: #1966200)
    - d/control: Add fonts-nanum to the rust-doc deps
    - d/control: Add the rust-doc deps as build-deps for the linkchecker tests
    - Reduce parallelism on all arches other than riscv64 to avoid OOMs
      during build.
    - Explicitly disable LTO
    - Add a self-build autopkgtest
    - Ship the Cargo.lock file along with the compiler to identify which crates
      were bundled in.
    - d/p/ubuntu-ignore-arm-doctest.patch: Patch out the bad doctests for the
      instruction_set errors
    - d/p/ubuntu-fix-crossbeam-CVE-2022-23639.patch: cherry-pick to fix CVE-2022-23639
      amended to also patch the 0.7.2 version of the crate
    - On i386, only build debuginfo for libstd
    - Add a hack to ensure the stage0 compiler is extracted to the correct
      location
    - Build-Depend on libc6-dbg on armhf, to workaround a crash in ld.so
      during some debuginfo tests
    - Version the Build-Conflict on gdb-minimal as gdb now Provides it
    - Adjust the rustc Breaks/Replaces libstd-rust-dev version to fix an
      upgrade issue
    - Add Build-Depends-Indep: libssl-dev
    - Revert workaround for upstream bug #74786
    - Disable wasm build as build dependencies not currently available in
      Ubuntu.
    - Do not build windows cross compiler.
    - Drop llvm-13 to Suggests for rustc to avoid having to promote it to Ubuntu
      main
    - Add XS-Vendored-Sources-Rust field support
      Needed an extra patch due to rustc being a multi-crate source package.
    - d/p/ubuntu-disable-ppc64el-asm-tests.patch: disable tests on power
      and s390x if using asm!()
  * d/control: Update the vendored sources field
  * d/p/ubuntu-compiletest-fix.patch: Fix compilation with 1.61

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 18:41:53 +0200

Changed in rustc (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cargo - 0.62.0ubuntu0libgit2-0ubuntu0.22.04.1

---------------
cargo (0.62.0ubuntu0libgit2-0ubuntu0.22.04.1) jammy; urgency=medium

  * Backport to Jammy (LP: #1986648)
  * Re-enable libgit2 vendoring
    - d/control: remove libgit2-dev and libhttp-parser-dev from B-D

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 14:58:00 +0200

Changed in cargo (Ubuntu Jammy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cargo - 0.62.0ubuntu0libgit2-0ubuntu0.18.04.1

---------------
cargo (0.62.0ubuntu0libgit2-0ubuntu0.18.04.1) bionic; urgency=medium

  * Backport to Bionic (LP: #1986648)
    - Relax debhelper requirements
  * Re-enable libgit2 vendoring
    - d/control: remove libgit2-dev and libhttp-parser-dev from B-D

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 14:36:42 +0200

Changed in cargo (Ubuntu Bionic):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.61.0+dfsg1~llvm-1~exp1ubuntu0.18.04.1

---------------
rustc (1.61.0+dfsg1~llvm-1~exp1ubuntu0.18.04.1) bionic; urgency=medium

  * Backport to Bionic (LP: #1986648):
    - Comment out the Vendored-Sources-Rust support as it's not available in
      older releases
  * Re-enable embedded LLVM:
    - Scrub -g from CFLAGS and CXXFLAGS in order to let rustbuild control
      whether LLVM is compiled with debug symbols
    - Adjust debian/watch to include +llvm in upstream version.
  * Revert debhelper compat 13 bump back to 11
  * d/control: Build-depend on cmake-mozilla

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 10:40:11 +0200

Changed in rustc (Ubuntu Bionic):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cargo - 0.62.0ubuntu0libgit2-0ubuntu0.20.04.1

---------------
cargo (0.62.0ubuntu0libgit2-0ubuntu0.20.04.1) focal; urgency=medium

  * Backport to Focal (LP: #1986648)
  * Re-enable libgit2 vendoring
    - d/control: remove libgit2-dev and libhttp-parser-dev from B-D

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 14:56:25 +0200

Changed in cargo (Ubuntu Focal):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.61.0+dfsg1-1~exp1ubuntu0.22.04.1

---------------
rustc (1.61.0+dfsg1-1~exp1ubuntu0.22.04.1) jammy; urgency=medium

  * Backport to Jammy (LP: #1986648):
    - Comment out the Vendored-Sources-Rust support as it's not available in
      older releases

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 10:03:42 +0200

Changed in rustc (Ubuntu Jammy):
status: In Progress → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.61.0+dfsg1~llvm-1~exp1ubuntu0.20.04.1

---------------
rustc (1.61.0+dfsg1~llvm-1~exp1ubuntu0.20.04.1) focal; urgency=medium

  * Backport to Focal (LP: #1986648):
    - Comment out the Vendored-Sources-Rust support as it's not available in
      older releases
  * Re-enable embedded LLVM:
    - Scrub -g from CFLAGS and CXXFLAGS in order to let rustbuild control
      whether LLVM is compiled with debug symbols
    - Adjust debian/watch to include +llvm in upstream version.
  * Revert debhelper compat 13 bump back to 12

 -- Simon Chopin <email address hidden> Mon, 19 Sep 2022 10:10:32 +0200

Changed in rustc (Ubuntu Focal):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.