From 684e0a560514f9aaf02813f3f6c4a017400c9d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 2 Nov 2021 14:37:19 +0100 Subject: [PATCH] ci: temporarily set -Wno-deprecated-declarations in Packit to suppress OpenSSL 3.0 deprecation warnings (until a proper solution is deployed): RSA_free, EC_KEY_free, RSA_set0_key, RSA_size, EVP_PKEY_assign, EC_KEY_set_group, and others are deprecated. --- .packit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.packit.yml b/.packit.yml index 962c77913e..98b71fc15e 100644 --- a/.packit.yml +++ b/.packit.yml @@ -31,6 +31,9 @@ actions: # [0] https://github.com/mesonbuild/meson/issues/7360 # [1] https://github.com/systemd/systemd/pull/18908#issuecomment-792250110 - 'sed -i "/^CONFIGURE_OPTS=(/a--werror" .packit_rpm/systemd.spec' + # FIXME: temporarily disable the deprecated-declarations check to suppress + # OpenSSL 3.0 warnings in Rawhide + - 'sed -i "1 i %global optflags %{optflags} -Wno-deprecated-declarations" .packit_rpm/systemd.spec' jobs: - job: copr_build