erlang: Fail to build against OpenSSL 3.0

Bug #1945768 reported by Simon Chopin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
erlang (Ubuntu)
Fix Released
Undecided
Unassigned

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/22098418/+files/buildlog_ubuntu-impish-amd64.erlang_1%3A23.2.6+dfsg-1.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 upstream, I've found this issue

https://github.com/erlang/otp/issues/4577

However, I don't know what the timeline is for OTP-25 ?

Looking at the logs, it seems the build fails because of FIPS_mode(), which has been removed.
See the migration docs for more info.

Simon Chopin (schopin)
description: updated
description: updated
description: updated
Revision history for this message
Simon Chopin (schopin) wrote :

Here's a debdiff to enable OpenSSL support for the current 24.1 version, backporting an upstream patchset.

Note that the 24.2, which includes these patches, is scheduled for a mid-december release.

tags: added: patch
Revision history for this message
Simon Chopin (schopin) wrote :

Refreshed the patch against the newer version.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Sponsored to jammy.

Changed in erlang (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package erlang - 1:24.1.5+dfsg-1ubuntu1

---------------
erlang (1:24.1.5+dfsg-1ubuntu1) jammy; urgency=medium

  * Backport the OpenSSL 3 patchset from upstream (LP: #1945768)

 -- Simon Chopin <email address hidden> Thu, 04 Nov 2021 12:04:28 +0100

Changed in erlang (Ubuntu):
status: Fix Committed → 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.