* Package: net-libs/ldns-1.7.1-r4 * Repository: gentoo * Maintainer: mschiff@gentoo.org * USE: abi_x86_64 amd64 dane ecdsa elibc_glibc kernel_linux python_single_target_python3_8 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ldns-1.7.1.tar.gz to /var/tmp/portage/net-libs/ldns-1.7.1-r4/work >>> Source unpacked in /var/tmp/portage/net-libs/ldns-1.7.1-r4/work >>> Preparing source in /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 ... * Applying ldns-1.7.1-Makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating ldns-1.7.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ldns-1.7.1/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/ldns-1.7.1-r4 --htmldir=/usr/share/doc/ldns-1.7.1-r4/html --libdir=/usr/lib64 --disable-static --disable-gost --enable-ecdsa --disable-ed25519 --disable-ed448 --enable-dane --without-pyldns --without-pyldnsx --with-ssl=/usr --enable-sha2 --without-drill --without-examples --disable-rpath checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for gawk... gawk checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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 x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking x86_64-pc-linux-gnu-gcc dependency flag... -MM checking whether make sets $(MAKE)... yes checking whether x86_64-pc-linux-gnu-gcc supports -std=c99... yes checking whether x86_64-pc-linux-gnu-gcc supports -xc99... no checking for an ANSI C-conforming const... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wall... yes checking whether x86_64-pc-linux-gnu-gcc supports -W... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wwrite-strings... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wstrict-prototypes... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wunused-function... yes checking whether x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc supports -Werror... yes checking whether x86_64-pc-linux-gnu-gcc supports -Wall... (cached) yes checking whether x86_64-pc-linux-gnu-gcc supports -std=c99... (cached) yes checking whether x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc... failed checking whether we need -std=c99 as a flag for x86_64-pc-linux-gnu-gcc... failed checking whether we need -D_BSD_SOURCE -D_DEFAULT_SOURCE as a flag for x86_64-pc-linux-gnu-gcc... failed checking whether we need -D_GNU_SOURCE as a flag for x86_64-pc-linux-gnu-gcc... failed checking whether we need -D_GNU_SOURCE -D_FRSRESGID as a flag for x86_64-pc-linux-gnu-gcc... failed checking whether we need -D_POSIX_C_SOURCE=200112 as a flag for x86_64-pc-linux-gnu-gcc... failed checking whether we need -D__EXTENSIONS__ as a flag for x86_64-pc-linux-gnu-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... no checking for library containing socket... none required checking for library containing inet_pton... none required checking for poll(2)... yes checking for x86_64-pc-linux-gnu-ar... /usr/bin/x86_64-pc-linux-gnu-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 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 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 (x86_64-pc-linux-gnu-gcc) accepts the "format" attribute... yes checking whether the C compiler (x86_64-pc-linux-gnu-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 copying header files >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j2 ./libtool --tag=CC --quiet --mode=compile x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -march=x86-64-v2 -pipe -fomit-frame-pointer -c /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/buffer.c -o buffer.lo ./libtool --tag=CC --quiet --mode=compile x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -march=x86-64-v2 -pipe -fomit-frame-pointer -c /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dane.c -o dane.lo ./libtool --tag=CC --quiet --mode=compile x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -march=x86-64-v2 -pipe -fomit-frame-pointer -c /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dname.c -o dname.lo ./libtool --tag=CC --quiet --mode=compile x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -march=x86-64-v2 -pipe -fomit-frame-pointer -c /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c -o dnssec.lo ./libtool --tag=CC --quiet --mode=compile x86_64-pc-linux-gnu-gcc -I. -I/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1 -DHAVE_CONFIG_H -DLDNS_TRUST_ANCHOR_FILE="\"/etc/unbound/root.key\"" -Wunused-function -Wstrict-prototypes -Wwrite-strings -W -Wall -O2 -march=x86-64-v2 -pipe -fomit-frame-pointer -c /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c -o dnssec_sign.lo /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c: In function ‘ldns_key_buf2dsa_raw’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c:14: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c:14: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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, | ^~~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c:14: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c: In function ‘ldns_key_buf2rsa_raw’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c:14: /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec.c:14: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c: In function ‘ldns_sign_public_dsa’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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, | ^~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c: In function ‘ldns_pkey_is_ecdsa’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c:420:26: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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); | ^~~~~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c: In function ‘ldns_sign_public_evp’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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) { | ^~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c:547:34: error: invalid use of incomplete typedef ‘EVP_PKEY’ {aka ‘struct evp_pkey_st’} 547 | EVP_PKEY_type(key->type) | ^~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c: In function ‘ldns_sign_public_rsasha1’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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, | ^~~~~~~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c: In function ‘ldns_sign_public_rsamd5’: /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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, | ^~~ /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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 /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/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.... * ERROR: net-libs/ldns-1.7.1-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/ldns-1.7.1-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/ldns-1.7.1-r4::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-libs/ldns-1.7.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/ldns-1.7.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1-abi_x86_64.amd64' * S: '/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1'