firefox: Fail to build against OpenSSL 3.0

Bug #1945770 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Fix Released
High
Olivier Tilloy

Bug Description

Hello,

As part of a rebuild against OpenSSL3, this package failed to build on one or
several architectures. You can find the details of the rebuild at

https://people.canonical.com/~schopin/rebuilds/openssl-3.0.0-impish.html

or for the amd64 failed build, directly at
https://launchpad.net/~schopin/+archive/ubuntu/openssl-3.0.0/+build/22098525/+files/buildlog_ubuntu-impish-amd64.firefox_92.0+build3-0ubuntu2.0~ssl3ppa1.1_BUILDING.txt.gz

We're planning to transition to OpenSSL 3.0 for the 22.04 release, and consider
this issue as blocking for this transition.

You can find general migration informations at
https://www.openssl.org/docs/manmaster/man7/migration_guide.html
For your tests, you can build against libssl-dev as found in the PPA
schopin/openssl-3.0.0

Looking at the build failure, the problem lies in the openssl-sys crate.
It seems the version 0.9.64 of this crate should fix the failure:
https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/CHANGELOG.md#v0964---2021-06-18

Olivier Tilloy (osomon)
Changed in firefox (Ubuntu):
assignee: nobody → Olivier Tilloy (osomon)
Revision history for this message
Rico Tzschichholz (ricotz) wrote (last edit ):

@schopin Could you try to rebuild the following firefox package against your openssl3 packages?

https://launchpad.net/~mozillateam/+archive/ubuntu/firefox-next/+sourcepub/12906002/+listing-archive-extra

Changed in firefox (Ubuntu):
importance: Undecided → High
status: New → Triaged
Revision history for this message
Olivier Tilloy (osomon) wrote :

Rico just mentioned on IRC that Simon confirmed that building against OpenSSL 3.0 works with the firefox beta branch.

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

This bug was fixed in the package firefox - 95.0+build1-0ubuntu1

---------------
firefox (95.0+build1-0ubuntu1) jammy; urgency=medium

  * New upstream release (95.0+build1)

  [ Rico Tzschichholz ]
  * Bump build-dep on cargo >= 0.54
    - debian/control{,.in}
    - debian/patches/relax-cargo-dep.patch
  * Update patches
    - debian/patches/armhf-rustc-thin-lto.patch
  * Pass --without-wasm-sandboxed-libraries
    - debian/config/mozconfig.in
  * Install more sizes of the firefox application icon
    - debian/build/rules.mk
  * Bump dump_sys to bf7f6bd855eb6ecb233b52bfa7b2c975b7026540 (LP: #1945770)
    - debian/build/create-tarball.py

 -- Olivier Tilloy <email address hidden> Tue, 30 Nov 2021 20:15:46 +0100

Changed in firefox (Ubuntu):
status: Triaged → 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.