ldns-1.7.1-9.fc36 fails to build in Fedora 36: ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-fu nction -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wer ror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-stro ng -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protectio n -fPIC -fno-strict-aliasing -c ./dnssec_sign.c -o dnssec_sign.lo ./dnssec_sign.c: In function 'ldns_sign_public_dsa': ./dnssec_sign.c:361:9: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | sig = DSA_do_sign(sha1_hash, SHA_DIGEST_LENGTH, key); | ^~~ In file included from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_sign.c:3: /usr/include/openssl/dsa.h:113:32: note: declared here 113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ ./dnssec_sign.c: In function 'ldns_pkey_is_ecdsa': ./dnssec_sign.c:420:26: error: 'key' undeclared (first use in this function); did you mean 'pkey'? 420 | if(EVP_PKEY_type(key->type) != EVP_PKEY_EC) | ^~~ | pkey A difference between a passing and failing buildroot can be found at <https://koschei.fedoraproject.org/build/11220597>. An upgrade of openssl-devel from 1:1.1.1k-2.fc35 to 1:3.0.0-1.fc36 looks suspicious.
Commit: https://src.fedoraproject.org/rpms/ldns/c/bb66f946f9886da4dbdbe4c3eabbcc939116907b?branch=rawhide Build: https://koji.fedoraproject.org/koji/taskinfo?taskID=77114987