D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/ldns-1.7.1-3.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.R5itXP + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf ldns-1.7.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/ldns-1.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ldns-1.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ge4ShB + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd ldns-1.7.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-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 --with-pyldns --with-examples --with-drill --disable-gost --disable-static configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-mageia-linux-gnu-gcc... no checking for 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... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-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 aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... 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 aarch64-mageia-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 aarch64-mageia-linux-gnu-gcc... 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 aarch64-mageia-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: 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 configure: WARNING: unrecognized options: --disable-dependency-tracking copying header files + /usr/bin/make -O -j4 V=1 VERBOSE=1 ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c ./buffer.c -o buffer.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c ./dane.c -o dane.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c ./dname.c -o dname.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c ./dnssec_zone.c -o dnssec_zone.lo ./libtool --tag=CC --quiet --mode=compile gcc -I. -I. -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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); | ^~~~~~~~~~~~~~~ error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ge4ShB (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ge4ShB (%build) I: [iurt_root_command] ERROR: chroot