]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: temporarily set -Wno-deprecated-declarations in Packit
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Nov 2021 13:37:19 +0000 (14:37 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 1 Dec 2021 11:36:57 +0000 (12:36 +0100)
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

index 962c77913ebb5c2d045429a3f0739c3e196a757b..98b71fc15e40834f0846deb3b2629c6d913c351d 100644 (file)
@@ -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