qemu 1:6.0+dfsg-2expubuntu2: Fail to build against OpenSSL 3.0

Bug #1952448 reported by Paride Legovini
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Fix Released
High
Paride Legovini

Bug Description

Issue discovered after doing a "No-change rebuild" upload to Jammy while working at the liburing2 migration (LP: #1944037).

Full build log:

https://launchpadlibrarian.net/570888790/buildlog_ubuntu-jammy-amd64.qemu_1%3A6.0+dfsg-2expubuntu3_BUILDING.txt.gz

Failure mode:

/<<BUILDDIR>>/qemu-6.0+dfsg/roms/skiboot/libstb/create-container.c: In function ‘getPublicKeyRaw’:
/<<BUILDDIR>>/qemu-6.0+dfsg/roms/skiboot/libstb/create-container.c:85:17: error: ‘EVP_PKEY_get1_EC_KEY’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]

Also note that:

cc1: all warnings being treated as errors

Upstream skiboot [1] still uses EVP_PKEY_get1_EC_KEY in master, and don't have an open issue about this. To be filed once we setup a reproducer that builds skiboot "standalone", outside of the qemu source tree.

For the moment we have to relax the severity of that deprecation error, likely appending a -Wno-deprecated-declarations somewhere in d/rules.

[1] https://github.com/open-power/skiboot

Related branches

Paride Legovini (paride)
Changed in qemu (Ubuntu):
importance: Undecided → High
tags: added: transition-openssl3-jj
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Messing around with someone elses crypto functions rarely is good ;-)
So I reported it Upstream at the skiboot project as:
=> https://github.com/open-power/skiboot/issues/271

Changed in qemu (Ubuntu):
status: New → Triaged
tags: added: server-next
Paride Legovini (paride)
Changed in qemu (Ubuntu):
assignee: nobody → Paride Legovini (paride)
Paride Legovini (paride)
no longer affects: qemu
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu - 1:6.0+dfsg-2expubuntu4

---------------
qemu (1:6.0+dfsg-2expubuntu4) jammy; urgency=medium

  * d/p/lp-1952448-relax-skiboot-gcc-deprecation-errors.patch:
    add patch to workaround FTBFS when building against OpenSSL 3.0.
    Thanks to Christian Ehrhardt (LP: #1952448)

 -- Paride Legovini <email address hidden> Fri, 26 Nov 2021 15:47:51 +0100

Changed in qemu (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.