Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ldns.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ldns.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False sh: line 1: /usr/bin/perl: No such file or directory Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/ldns-1.7.1-7.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ldns.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ldns.spec"] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rc3fht + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ldns-1.7.1 + /usr/bin/mkdir -p ldns-1.7.1 + cd ldns-1.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ldns-1.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . ~/build/BUILD/ldns-1.7.1/ldns-1.7.1 ~/build/BUILD/ldns-1.7.1 + pushd ldns-1.7.1 + /usr/bin/cat /builddir/build/SOURCES/ldns-1.7.0-multilib.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + sed -i 's/@includedir@/@includedir@\/ldns/' packaging/libldns.pc.in + cp -pr doc LICENSE README README.git README.snapshots Changelog ../ + cp -p contrib/ldnsx/LICENSE ../LICENSE.ldnsx + cp -p contrib/ldnsx/README ../README.ldnsx + popd ~/build/BUILD/ldns-1.7.1 + mv ldns-1.7.1 ldns-1.7.1_python3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.E84bsr + umask 022 + cd /builddir/build/BUILD + cd ldns-1.7.1 ~/build/BUILD/ldns-1.7.1/ldns-1.7.1_python3 ~/build/BUILD/ldns-1.7.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,now -pie' + export CFLAGS CXXFLAGS LDFLAGS + pushd ldns-1.7.1_python3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z,now -pie' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-01-19 02:48:46.968585215 +0000 +++ ./configure 2022-01-19 02:48:47.128578997 +0000 @@ -1947,7 +1947,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-01-19 02:48:47.128578997 +0000 +++ ./configure 2022-01-19 02:48:47.178577054 +0000 @@ -5980,7 +5980,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18718,7 +18718,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-rpath --disable-gost --enable-ecdsa --enable-ed25519 --enable-ed448 --with-ca-file=/etc/pki/tls/certs/ca-bundle.trust.crt --with-ca-path=/etc/pki/tls/certs/ --with-trust-anchor=/var/lib/unbound/root.key --disable-static ' ' --with-examples --with-drill --with-pyldns PYTHON=/usr/bin/python3 configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: configure: WARNING: unrecognized options: --disable-dependency-tracking checking for ppc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert powerpc64le-redhat-linux-gnu file names to powerpc64le-redhat-linux-gnu format... func_convert_file_noop checking how to convert powerpc64le-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for ppc64le-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ppc64le-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for ppc64le-redhat-linux-gnu-strip... no checking for strip... strip checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 5986: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for ppc64le-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ppc64le-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking gcc dependency flag... -MM checking whether make sets $(MAKE)... yes checking whether gcc supports -std=c99... yes checking whether gcc supports -xc99... no checking for an ANSI C-conforming const... yes checking whether gcc supports -Wall... yes checking whether gcc supports -W... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wunused-function... yes checking whether gcc supports -Wmissing-prototypes... no checking for getopt.h... yes checking for time.h... yes checking for winsock2.h... no checking for ws2tcpip.h... no checking whether gcc supports -Werror... yes checking whether gcc supports -Wall... (cached) yes checking whether gcc supports -std=c99... (cached) yes checking whether gcc supports -xc99... (cached) no checking for getopt.h... (cached) yes checking for time.h... (cached) yes checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_ALL_SOURCE as a flag for gcc... failed checking whether we need -std=c99 -D__EXTENSIONS__ -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE as a flag for gcc... failed checking whether we need -std=c99 as a flag for gcc... failed checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for gcc... failed checking whether we need -D_GNU_SOURCE as a flag for gcc... failed checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for gcc... failed checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for gcc... failed checking whether we need -D__EXTENSIONS__ as a flag for gcc... failed checking for inline... inline checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for doxygen... doxygen checking for library containing socket... none required checking for library containing inet_pton... none required checking for poll(2)... yes checking for python... /usr/bin/python3 checking for a version of Python >= '2.1.0'... yes checking for a version of Python >= '2.4.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python3.9 checking for Python library path... -L/usr/lib64 -lpython3.9 checking for Python site-packages path... /usr/lib64/python3.9/site-packages checking python extra libraries... -lcrypt -ldl -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking for swig2.0... no checking for swig... /usr/bin/swig checking SWIG version... 4.0.2 checking for SWIG library... /usr/share/swig/4.0.2 checking whether gcc supports -fno-strict-aliasing... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc supports -Wno-unused-variable... yes checking for ppc64le-redhat-linux-gnu-ar... no checking for ar... /usr/bin/ar checking for SSL... found in /usr checking for HMAC_Update in -lcrypto... yes checking for openssl/ssl.h... yes checking for openssl/err.h... yes checking for openssl/rand.h... yes checking for LibreSSL... no checking for EVP_sha256... yes checking for EVP_sha384... yes checking for EVP_sha512... yes checking for ENGINE_load_cryptodev... no checking for EVP_PKEY_keygen... yes checking for ECDSA_SIG_get0... yes checking for EVP_MD_CTX_new... yes checking for EVP_PKEY_base_id... no checking for DSA_SIG_set0... yes checking for DSA_SIG_get0... yes checking for EVP_dss1... no checking for DSA_get0_pqg... yes checking for DSA_get0_key... yes checking for OPENSSL_init_ssl... no checking for OPENSSL_init_crypto... yes checking for ERR_load_crypto_strings... no checking for SHA256 and SHA512... checking for SHA256_Init... yes checking for ECDSA_sign... yes checking for SHA384_Init... yes checking whether NID_X9_62_prime256v1 is declared... yes checking whether NID_secp384r1 is declared... yes checking for DSA_SIG_new... yes checking whether NID_ED25519 is declared... yes checking whether NID_ED448 is declared... yes checking for X509_check_ca... yes checking for SSL_get0_dane... yes checking whether byte ordering is bigendian... no checking for ANSI C header files... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for getopt.h... (cached) yes checking for stdarg.h... yes checking for openssl/ssl.h... (cached) yes checking for netinet/in.h... yes checking for time.h... (cached) yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for sys/param.h... yes checking for sys/mount.h... yes checking for sys/socket.h... yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking size of time_t... 8 checking for pcap.h... yes checking for pcap_open_offline in -lpcap... yes checking for netinet/in_systm.h... yes checking for net/if.h... yes checking for netinet/ip.h... yes checking for netinet/udp.h... yes checking for netinet/igmp.h... yes checking for netinet/if_ether.h... yes checking for netinet/ip6.h... yes checking for net/ethernet.h... yes checking for netinet/ip_compat.h... no checking for socklen_t... yes checking for size_t... yes checking for ssize_t... yes checking for intptr_t... yes checking for in_addr_t... yes checking for in_port_t... yes checking for struct sockaddr_storage.ss_family... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for b64_pton... no checking for b64_ntop... no checking for calloc... yes checking for timegm... yes checking for gmtime_r... yes checking for ctime_r... yes checking for localtime_r... yes checking for isblank... yes checking for isascii... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for strlcpy... no checking for memmove... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for endprotoent... yes checking for endservent... yes checking for sleep... yes checking for random... yes checking for fcntl... yes checking for strtoul... yes checking for bzero... yes checking for memset... yes checking for b32_ntop... no checking for b32_pton... no checking for getaddrinfo... yes checking for ioctlsocket... no checking whether the C compiler (gcc) accepts the "format" attribute... yes checking whether the C compiler (gcc) accepts the "unused" attribute... yes configure: Default trust anchor: /var/lib/unbound/root.key configure: Using CAfile: /etc/pki/tls/certs/ca-bundle.trust.crt configure: Using CApath: /etc/pki/tls/certs/ configure: creating ./config.status config.status: creating Makefile config.status: creating ldns/common.h config.status: creating ldns/net.h config.status: creating ldns/util.h config.status: creating packaging/libldns.pc config.status: creating packaging/ldns-config config.status: creating ldns/config.h config.status: executing libtool commands config.status: executing disable-rpath commands copying header files configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j16 V=1 VERBOSE=1 ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -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 ./dnssec_sign.c:420:26: note: each undeclared identifier is reported only once for each function it appears in ./dnssec_sign.c:423:9: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 423 | ec = EVP_PKEY_get1_EC_KEY(pkey); | ^~ In file included from /usr/include/openssl/x509.h:29, 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/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ./dnssec_sign.c:424:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 424 | g = EC_KEY_get0_group(ec); | ^ In file included from /usr/include/openssl/x509.h:33, 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/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ ./dnssec_sign.c:426:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 426 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, 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/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c:430:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 430 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, 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/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c:434:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 434 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, 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/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c:438:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 438 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, 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/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_sign.c: In function 'ldns_sign_public_evp': ./dnssec_sign.c:535:30: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'} 535 | if (EVP_PKEY_type(key->type) == EVP_PKEY_DSA) { | ^~ ./dnssec_sign.c:547:34: error: invalid use of incomplete typedef 'EVP_PKEY' {aka 'struct evp_pkey_st'} 547 | EVP_PKEY_type(key->type) | ^~ ./dnssec_sign.c: In function 'ldns_sign_public_rsasha1': ./dnssec_sign.c:591:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 591 | result = RSA_sign(NID_sha1, sha1_hash, SHA_DIGEST_LENGTH, | ^~~~~~ In file included from /usr/include/openssl/x509.h:36, 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/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ ./dnssec_sign.c: In function 'ldns_sign_public_rsamd5': ./dnssec_sign.c:618:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 618 | md5_hash = MD5((unsigned char*)ldns_buffer_begin(to_sign), | ^~~~~~~~ In file included from ./dnssec_sign.c:19: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ ./dnssec_sign.c:625:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 625 | RSA_sign(NID_md5, md5_hash, MD5_DIGEST_LENGTH, | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, 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/rsa.h:348:27: note: declared here 348 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ make: *** [Makefile:122: dnssec_sign.lo] Error 1 make: *** Waiting for unfinished jobs.... ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./error.c -o error.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./duration.c -o duration.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./buffer.c -o buffer.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./higher.c -o higher.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./dane.c -o dane.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./dname.c -o dname.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./parse.c -o parse.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./host2wire.c -o host2wire.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./net.c -o net.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./packet.c -o packet.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./dnssec_zone.c -o dnssec_zone.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./keys.c -o keys.lo ./keys.c: In function 'ldns_key_new_frm_engine': ./keys.c:118:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | k->_key.key = ENGINE_load_private_key(e, key_id, UI_OpenSSL(), NULL); | ^ In file included from ./keys.c:26: /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_EC_KEY_calc_public': ./keys.c:235:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 235 | group = EC_KEY_get0_group(ec); | ^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1032:39: note: declared here 1032 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ ./keys.c:242:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | if(!EC_POINT_mul(group, pub_key, EC_KEY_get0_private_key(ec), | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1046:37: note: declared here 1046 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ ./keys.c:247:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | if(EC_KEY_set_public_key(ec, pub_key) == 0) { | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1068:27: note: declared here 1068 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_new_frm_fp_ecdsa_l': ./keys.c:273:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 273 | ec = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./keys.c:275:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 275 | ec = EC_KEY_new_by_curve_name(NID_secp384r1); | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./keys.c:284:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 284 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c:287:9: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | EC_KEY_set_private_key(ec, bn); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1054:27: note: declared here 1054 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ ./keys.c:290:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c:296:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 296 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c:299:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 299 | if (!EVP_PKEY_assign_EC_KEY(evp_key, ec)) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./keys.c:301:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c: In function 'ldns_key_new_frm_fp_rsa_l': ./keys.c:772:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 772 | rsa = RSA_new(); | ^~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./keys.c:875:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 875 | if(!RSA_set0_key(rsa, n, e, d)) | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./keys.c:880:9: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 880 | if(!RSA_set0_factors(rsa, p, q)) | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:208:27: note: declared here 208 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ ./keys.c:884:9: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 884 | if(!RSA_set0_crt_params(rsa, dmp1, dmq1, iqmp)) | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:209:27: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ ./keys.c:893:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 893 | RSA_free(rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./keys.c: In function 'ldns_key_new_frm_fp_dsa_l': ./keys.c:924:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 924 | dsa = DSA_new(); | ^~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ ./keys.c:992:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 992 | if(!DSA_set0_pqg(dsa, p, q, g)) | ^~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ ./keys.c:997:9: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 997 | if(!DSA_set0_key(dsa, pub_key, priv_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 ./keys.c:15: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ ./keys.c:1009:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1009 | DSA_free(dsa); | ^~~~~~~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./keys.c: In function 'ldns_key_new_frm_algorithm': ./keys.c:1163:25: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1163 | if (! (d = DSA_new())) { | ^~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ ./keys.c:1167:25: warning: 'DSA_generate_parameters_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1167 | if (! DSA_generate_parameters_ex(d, (int)size, NULL, 0, NULL, NULL, NULL)) { | ^~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:167:27: note: declared here 167 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_parameters_ex(DSA *dsa, int bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./keys.c:1168:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1168 | DSA_free(d); | ^~~~~~~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./keys.c:1173:25: warning: 'DSA_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1173 | if (DSA_generate_key(d) != 1) { | ^~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:174:27: note: declared here 174 | OSSL_DEPRECATEDIN_3_0 int DSA_generate_key(DSA *a); | ^~~~~~~~~~~~~~~~ ./keys.c:1178:25: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1178 | DSA_free(d); | ^~~~~~~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./keys.c:1240:33: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1240 | ec = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./keys.c:1242:33: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1242 | ec = EC_KEY_new_by_curve_name(NID_secp384r1); | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./keys.c:1247:25: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1247 | if(!EC_KEY_generate_key(ec)) { | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1099:27: note: declared here 1099 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ ./keys.c:1249:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1249 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c:1256:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1256 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c:1259:25: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1259 | if (!EVP_PKEY_assign_EC_KEY(k->_key.key, ec)) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./keys.c:1261:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1261 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c: In function 'ldns_key_set_rsa_key': ./keys.c:1356:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1356 | EVP_PKEY_set1_RSA(key, r); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1344:5: note: declared here 1344 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_set_dsa_key': ./keys.c:1365:9: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1365 | EVP_PKEY_set1_DSA(key, d); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1353:5: note: declared here 1353 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_assign_rsa_key': ./keys.c:1376:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1376 | EVP_PKEY_assign_RSA(key, r); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_assign_dsa_key': ./keys.c:1385:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1385 | EVP_PKEY_assign_DSA(key, d); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_rsa_key': ./keys.c:1494:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1494 | return EVP_PKEY_get1_RSA(k->_key.key); | ^~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_dsa_key': ./keys.c:1505:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1505 | return EVP_PKEY_get1_DSA(k->_key.key); | ^~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ ./keys.c: In function 'ldns_key_rsa2bin': ./keys.c:1664:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1664 | RSA_get0_key(k, &n, &e, NULL); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./keys.c: In function 'ldns_key_dsa2bin': ./keys.c:1704:9: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1704 | DSA_get0_pqg(k, &p, &q, &g); | ^~~~~~~~~~~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ ./keys.c:1709:9: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1709 | DSA_get0_key(k, &pub_key, &priv_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 ./keys.c:15: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ ./keys.c: In function 'ldns_key2rr': ./keys.c:1874:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1874 | RSA_free(rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./keys.c:1897:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1897 | DSA_free(dsa); | ^~~~~~~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./keys.c:1920:33: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1920 | DSA_free(dsa); | ^~~~~~~~ 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 ./keys.c:15: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./keys.c:1955:25: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1955 | ec = EVP_PKEY_get1_EC_KEY(k->_key.key); | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ./keys.c:1957:25: warning: 'EC_KEY_set_conv_form' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1957 | EC_KEY_set_conv_form(ec, POINT_CONVERSION_UNCOMPRESSED); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1073:28: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_conv_form(EC_KEY *eckey, | ^~~~~~~~~~~~~~~~~~~~ ./keys.c:1958:25: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1958 | size = (uint16_t)i2o_ECPublicKey(ec, NULL); | ^~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1243:27: note: declared here 1243 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); | ^~~~~~~~~~~~~~~ ./keys.c:1959:25: warning: 'i2o_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1959 | if(!i2o_ECPublicKey(ec, &bin)) { | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1243:27: note: declared here 1243 | OSSL_DEPRECATEDIN_3_0 int i2o_ECPublicKey(const EC_KEY *key, unsigned char **out); | ^~~~~~~~~~~~~~~ ./keys.c:1960:33: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1960 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./keys.c:1975:25: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1975 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./keys.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./dnssec.c -o dnssec.lo ./dnssec.c: In function 'ldns_key_buf2dsa_raw': ./dnssec.c:376:9: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 376 | if(!Q || !P || !G || !Y || !(dsa = DSA_new())) { | ^~ 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.c:14: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ ./dnssec.c:391:9: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 391 | if (!DSA_set0_pqg(dsa, P, Q, G)) { | ^~ 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.c:14: /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ ./dnssec.c:397:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 397 | DSA_free(dsa); | ^~~~~~~~ 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.c:14: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./dnssec.c:401:9: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 401 | if (!DSA_set0_key(dsa, Y, NULL)) { | ^~ 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.c:14: /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ ./dnssec.c:403:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 403 | DSA_free(dsa); | ^~~~~~~~ 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.c:14: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ ./dnssec.c: In function 'ldns_key_buf2rsa_raw': ./dnssec.c:463:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 463 | rsa = RSA_new(); | ^~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ ./dnssec.c:475:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 475 | if (!RSA_set0_key(rsa, modulus, exponent, NULL)) { | ^~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/rsa.h:207:27: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ ./dnssec.c:478:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 478 | RSA_free(rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec.c:14: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./dnssec_verify.c -o dnssec_verify.lo ./dnssec_verify.c: In function 'ldns_ecdsa2pkey_raw': ./dnssec_verify.c:1944:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1944 | ec = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1); | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./dnssec_verify.c:1947:17: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1947 | ec = EC_KEY_new_by_curve_name(NID_secp384r1); | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:996:31: note: declared here 996 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./dnssec_verify.c:1956:9: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1956 | if(!o2i_ECPublicKey(&ec, &pp, (int)keylen+1)) { | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1234:31: note: declared here 1234 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ ./dnssec_verify.c:1957:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1957 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_verify.c:1962:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1962 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_verify.c:1965:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1965 | if (!EVP_PKEY_assign_EC_KEY(evp_key, ec)) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c:1967:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1967 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_dsa_raw': ./dnssec_verify.c:2673:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2673 | if (EVP_PKEY_assign_DSA(evp_key, ldns_key_buf2dsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha1_raw': ./dnssec_verify.c:2703:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2703 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha256_raw': ./dnssec_verify.c:2729:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2729 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsasha512_raw': ./dnssec_verify.c:2764:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2764 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./dnssec_verify.c: In function 'ldns_verify_rrsig_rsamd5_raw': ./dnssec_verify.c:2799:9: warning: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2799 | if (EVP_PKEY_assign_RSA(evp_key, ldns_key_buf2rsa_raw(key, keylen))) { | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./dnssec_verify.c:3: /usr/include/openssl/evp.h:1328:5: note: declared here 1328 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/var/lib/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c ./host2str.c -o host2str.lo ./host2str.c: In function 'ldns_key2buffer_str': ./host2str.c:2220:41: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2220 | RSA_get0_key(rsa, &n, &e, &d); | ^~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/rsa.h:217:28: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ ./host2str.c:2221:41: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2221 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/rsa.h:220:28: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ ./host2str.c:2222:41: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2222 | RSA_get0_crt_params(rsa, &dmp1, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ ./host2str.c:2244:33: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2244 | RSA_free(rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ ./host2str.c:2271:41: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2271 | DSA_get0_pqg(dsa, &p, &q, &g); | ^~~~~~~~~~~~ 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 ./host2str.c:15: /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ ./host2str.c:2272:41: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2272 | DSA_get0_key(dsa, &pub_key, &priv_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 ./host2str.c:15: /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ ./host2str.c:2311:41: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2311 | EC_KEY* ec = EVP_PKEY_get1_EC_KEY(k->_key.key); | ^~~~~~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ ./host2str.c:2312:41: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2312 | const BIGNUM* b = EC_KEY_get0_private_key(ec); | ^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/ec.h:1046:37: note: declared here 1046 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ ./host2str.c:2317:41: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2317 | EC_KEY_free(ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from ./ldns/dane.h:30, from ./ldns/ldns.h:98, from ./host2str.c:15: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.E84bsr (%build) Bad exit status from /var/tmp/rpm-tmp.E84bsr (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ldns.spec