pam-p11: Fail to build against OpenSSL 3.0

Bug #1945998 reported by Simon Chopin
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pam-p11 (Ubuntu)
Fix Released

Bug Description


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

or for the amd64 failed build, directly at

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
For your tests, you can build against libssl-dev as found in the PPA

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