pam-p11: Fail to build against OpenSSL 3.0

Bug #1945998 reported by Simon Chopin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pam-p11 (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/22099243/+files/buildlog_ubuntu-impish-amd64.pam-p11_0.3.1-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

The build errors are from a -Werror flag, a quick workaround would be to add
-Wno-error=deprecated-declarations to the CFLAGS, or to port the module to the newer APIs.

I didn't find any mention of OpenSSL 3.0 in the upstream repo.

Bryce Harrington (bryce)
tags: added: server-next
Revision history for this message
Simon Chopin (schopin) wrote :

The attached patch fixes this by downgrading the deprecation errors into warnings.

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

This has been fixed independently by Steve in 0.3.1-1ubuntu1

Changed in pam-p11 (Ubuntu):
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