From: Zbigniew Jędrzejewski-Szmek Date: Tue, 2 Nov 2021 13:37:19 +0000 (+0100) Subject: ci: temporarily set -Wno-deprecated-declarations in Packit X-Git-Tag: v250-rc1~88^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684e0a560514f9aaf02813f3f6c4a017400c9d51;p=thirdparty%2Fsystemd.git 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. --- diff --git a/.packit.yml b/.packit.yml index 962c77913eb..98b71fc15e4 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