crda: Fail to build against OpenSSL 3.0

Bug #1945764 reported by Simon Chopin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
crda (Ubuntu)
Fix Released
High
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://launchpadlibrarian.net/559464520/buildlog_ubuntu-impish-amd64.crda_4.14+git20191112.9856751-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.

For your tests, you can build against libssl-dev as found in the PPA
schopin/openssl-3.0.0

I haven't found any mention of the issue upstream. However, a quick glance at
the logs tells me the errors seem due to the use of deprecated APIs combined
with -Werror. Thus, a quick fix might be to simply add -Wno-error=deprecated-declarations
to the CFLAGS ?

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

Attached is a debdiff setting the -Wno-error=deprecated-declarations flag for the OpenSSL 3 transition. Please wait for OpenSSL3 to be published to -proposed to upload.

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

Refresh of the debdiff against the latest version

Mathew Hodson (mhodson)
Changed in crda (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package crda - 4.14+git20191112.9856751-1ubuntu1

---------------
crda (4.14+git20191112.9856751-1ubuntu1) jammy; urgency=medium

  * Add -Wno-error=deprecated-declarations to fix the build against
    OpenSSL 3 (LP: #1945764)

 -- Simon Chopin <email address hidden> Tue, 09 Nov 2021 09:07:45 +0100

Changed in crda (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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.