blob: 6cb06aa7ed79458efcdc96f44cfbc1d4abc1a4d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
device: 0.678
ppc: 0.665
semantic: 0.577
architecture: 0.573
socket: 0.572
permissions: 0.567
network: 0.564
PID: 0.550
arm: 0.547
kernel: 0.538
graphic: 0.533
x86: 0.498
files: 0.495
risc-v: 0.430
vnc: 0.423
performance: 0.411
hypervisor: 0.397
register: 0.390
boot: 0.368
TCG: 0.349
peripherals: 0.333
VMM: 0.319
debug: 0.314
i386: 0.313
KVM: 0.304
user-level: 0.258
mistranslation: 0.232
virtual: 0.215
assembly: 0.106
qemu 1:6.0+dfsg-2expubuntu2: Fail to build against OpenSSL 3.0
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
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
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
|