rustc 1.57 and cargo 0.58 to build firefox 97

Bug #1952104 reported by Olivier Tilloy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cargo (Ubuntu)
Fix Released
Undecided
Canonical Foundations Team
Bionic
Fix Released
Undecided
Canonical Foundations Team
Focal
Fix Released
Undecided
Canonical Foundations Team
Impish
Fix Released
Undecided
Canonical Foundations Team
rustc (Ubuntu)
Fix Released
Undecided
Canonical Foundations Team
Bionic
Fix Released
Undecided
Canonical Foundations Team
Focal
Fix Released
Undecided
Canonical Foundations Team
Impish
Fix Released
Undecided
Canonical Foundations Team

Bug Description

This is a strict requirement for Firefox 97 since https://bugzilla.mozilla.org/show_bug.cgi?id=1744234

We will need rustc and cargo updates in jammy and all supported releases: bionic, focal, hirsute, impish. With a bit of luck hirsute can be ignored as it will be EOL on the 20th of January.

Tags: fr-1914
Olivier Tilloy (osomon)
Changed in cargo (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 Hirsute):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in cargo (Ubuntu Impish):
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 Hirsute):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in rustc (Ubuntu Impish):
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Changed in rustc (Ubuntu):
status: New → In Progress
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

The next bump of the rust requirement will be to 1.57.0

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

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.54.0+dfsg2+llvm-3ubuntu1

---------------
rustc (1.54.0+dfsg2+llvm-3ubuntu1) jammy; urgency=medium

  * Merge 1.54.0+dfsg1-3 from Debian unstable. (LP: #1952104)
    Remaining changes:
    - Use the bundled llvm to avoid having to do llvm updates in order to
      deliver rust updates
      - update debian/config.toml.in
      - update debian/control
      - update debian/copyright
      - update debian/rules
    - Build-Depend on libc6-dbg on armhf, to workaround a crash in ld.so
      during some debuginfo tests
      - update debian/control
    - Add a hack to ensure the stage0 compiler is extracted to the correct
      location
      - update debian/make_orig-stage0_tarball.sh
    - Scrub -g from CFLAGS and CXXFLAGS in order to let rustbuild control
      whether LLVM is compiled with debug symbols
      - update debian/rules
    - On i386, only build debuginfo for libstd
      - update debian/rules
    - Ignore all test failures on every architecture
      - update debian/rules
    - Version the Build-Conflict on gdb-minimal as gdb now Provides it
      - update debian/control
    - Adjust the rustc Breaks/Replaces libstd-rust-dev version to fix an
      upgrade issue
      - update debian/control
    - Adjust debian/watch to include +llvm in upstream version.
      - update debian/watch
    - 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.
    - Adjust -march setting on armhf
  * Reduce parallelism on all arches other than riscv64 to avoid OOMs
    during build.

 -- Michael Hudson-Doyle <email address hidden> Fri, 10 Dec 2021 08:13:40 +1300

Changed in rustc (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

> The next bump of the rust requirement will be to 1.57.0

OK. Can you give some idea of timeframe for this? I find Firefox's release schedule to be a little baffling :)

(FWIW updating to rustc 1.56 seems to be smooth, I haven't tried 1.57 yet -- isn't packaged in Debian so far)

Changed in rustc (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Also can someone clarify the extent to which rustc and cargo are interdependent these days? It seems it's no longer quite as vital to update them in lockstep. Like, will FF require cargo 0.58 or will 0.57 (which I think is the version from the rust 2021 edition?) do?

tags: added: fr-1914
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

The upstream build infrastructure is already using rustc 1.57.0 (https://bugzilla.mozilla.org/show_bug.cgi?id=1742749)

When the actual requirement bump will happen is hard to say. A vague time frame can be taken from https://bugzilla.mozilla.org/show_bug.cgi?id=1744102#c3

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package rustc - 1.56.0+dfsg1+llvm-2ubuntu1

---------------
rustc (1.56.0+dfsg1+llvm-2ubuntu1) jammy; urgency=medium

  * Merge 1.56.0+dfsg1-2 from Debian unstable. (LP: #1952104)
    Remaining changes:
    - Use the bundled llvm to avoid having to do llvm updates in order to
      deliver rust updates
      - update debian/config.toml.in
      - update debian/control
      - update debian/copyright
      - update debian/rules
    - Build-Depend on libc6-dbg on armhf, to workaround a crash in ld.so
      during some debuginfo tests
      - update debian/control
    - Add a hack to ensure the stage0 compiler is extracted to the correct
      location
      - update debian/make_orig-stage0_tarball.sh
    - Scrub -g from CFLAGS and CXXFLAGS in order to let rustbuild control
      whether LLVM is compiled with debug symbols
      - update debian/rules
    - On i386, only build debuginfo for libstd
      - update debian/rules
    - Ignore all test failures on every architecture
      - update debian/rules
    - Version the Build-Conflict on gdb-minimal as gdb now Provides it
      - update debian/control
    - Adjust the rustc Breaks/Replaces libstd-rust-dev version to fix an
      upgrade issue
      - update debian/control
    - Adjust debian/watch to include +llvm in upstream version.
      - update debian/watch
    - 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.
    - Reduce parallelism on all arches other than riscv64 to avoid OOMs
      during build.

 -- Michael Hudson-Doyle <email address hidden> Tue, 14 Dec 2021 10:24:02 +1300

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.57.0+ubuntu-0ubuntu1

---------------
cargo (0.57.0+ubuntu-0ubuntu1) jammy; urgency=medium

  * Merge from Debian unstable (LP: #1952104).
  * Drop all Ubuntu delta, but repack vendor tarball from Debian to contain a
    pristine copy of the libgit2-sys crate, including the bundled libgit2
    source.
  * d/patches/2001-Revert-add-bindings-for-git_branch_name_is_valid-715.patch,
    d/patches/2002-Revert-Bump-libgit2-submodule-to-1.2.0-744.patch: Remove.
  * d/control: Drop libgit2-dev and libhttp-parser-dev from Build-Depends.

 -- Michael Hudson-Doyle <email address hidden> Thu, 16 Dec 2021 10:39:46 +1300

Changed in cargo (Ubuntu):
status: New → Fix Released
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

The rustc requirement was bumped to 1.57.0 a few days ago and firefox 97 will need it.

The firefox 97 beta phase begins January 10th.

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

summary: - rustc 1.56 and cargo 0.57 to build firefox
+ rustc 1.57 and cargo 0.58 to build firefox 97
description: updated
Revision history for this message
Olivier Tilloy (osomon) wrote :

I re-opened the jammy tasks since the requirement was bumped to rustc 1.57 and cargo 0.58.

Changed in cargo (Ubuntu):
status: Fix Released → Confirmed
Changed in rustc (Ubuntu):
status: Fix Released → Confirmed
Olivier Tilloy (osomon)
no longer affects: cargo (Ubuntu Hirsute)
no longer affects: rustc (Ubuntu Hirsute)
Changed in rustc (Ubuntu):
status: Confirmed → In Progress
Changed in rustc (Ubuntu):
status: In Progress → Fix Released
Changed in rustc (Ubuntu Focal):
status: New → Fix Released
Changed in rustc (Ubuntu Bionic):
status: New → Fix Released
Changed in rustc (Ubuntu Impish):
status: New → Fix Committed
status: Fix Committed → Fix Released
Changed in cargo (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cargo - 0.58.0-0ubuntu1

---------------
cargo (0.58.0-0ubuntu1) jammy; urgency=medium

  * New upstream version. (LP: #1952104)
  * d/patches/2110-use-mfpu-on-armhf.patch: delete, fixed upstream.
  * d/patches/filetime-pr-75.patch: Backport fix from filetime crate to
    fix ftbfs on s390x.
  * d/patches/libc-pr-2642.patch: Partially backport upstream PR to fix
    another ftbfs on s390x.

 -- Michael Hudson-Doyle <email address hidden> Tue, 25 Jan 2022 14:06:06 +1300

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

This bug was fixed in the package cargo - 0.58.0-0ubuntu1~20.04.1

---------------
cargo (0.58.0-0ubuntu1~20.04.1) focal; urgency=medium

  * Backport to Focal. (LP: #1952104)

 -- Michael Hudson-Doyle <email address hidden> Tue, 25 Jan 2022 19:45:23 +1300

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

This bug was fixed in the package cargo - 0.58.0-0ubuntu1~18.04.1

---------------
cargo (0.58.0-0ubuntu1~18.04.1) bionic; urgency=medium

  * Backport to Bionic. (LP: #1952104)
  * Relax debhelper requirement.

 -- Michael Hudson-Doyle <email address hidden> Tue, 25 Jan 2022 19:44:21 +1300

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

This bug was fixed in the package cargo - 0.58.0-0ubuntu1~21.10.1

---------------
cargo (0.58.0-0ubuntu1~21.10.1) impish; urgency=medium

  * Backport to Impish. (LP: #1952104)

 -- Michael Hudson-Doyle <email address hidden> Tue, 25 Jan 2022 19:45:44 +1300

Changed in cargo (Ubuntu Impish):
status: New → 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.