* Package: dev-libs/pkcs11-helper-1.25.1-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pkcs11-helper-1.25.1.tar.bz2 to /var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work >>> Source unpacked in /var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work >>> Preparing source in /var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1 ... * Applying pkcs11-helper-1.25.1-build.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1 ... * econf: updating pkcs11-helper-1.25.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pkcs11-helper-1.25.1/config.sub with /usr/share/gnuconfig/config.sub ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/pkcs11-helper-1.25.1-r1 --htmldir=/usr/share/doc/pkcs11-helper-1.25.1-r1/html --with-sysroot=/ --libdir=/usr/lib64 --disable-crypto-engine-polarssl --disable-crypto-engine-mbedtls --disable-doc --disable-crypto-engine-gnutls --disable-crypto-engine-nss --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for m4... m4 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 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... / 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... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 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-windres... no checking for windres... no checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for snprintf... yes checking for dlopen in -ldl... yes checking for pthread_create in -lpthread... yes checking for OPENSSL... yes checking for RSA_meth_dup... yes checking for RSA_meth_free... yes checking for RSA_meth_set_priv_enc... yes checking for RSA_meth_set_priv_dec... yes checking for RSA_meth_set1_name... yes checking for RSA_meth_set_flags... yes checking for DSA_meth_dup... yes checking for DSA_meth_free... yes checking for DSA_meth_set_sign... yes checking for DSA_meth_set1_name... yes checking for DSA_SIG_set0... yes checking for ECDSA_SIG_set0... yes checking for EC_KEY_METHOD_get_sign... yes checking for EC_KEY_METHOD_set_sign... yes checking for X509_get0_notBefore... yes checking for X509_get0_notAfter... yes checking for EC_KEY_METHOD_new... yes checking for OpenSSL ec support... yes checking for GNUTLS... yes checking for NSS... yes checking for mbedtls_x509_crt_init in -lmbedtls... yes checking mbedtls/x509_crt.h usability... yes checking mbedtls/x509_crt.h presence... yes checking for mbedtls/x509_crt.h... yes checking for ANSI C header files... (cached) yes checking for ISO C 1999 vararg macro support... yes checking for GNU GCC vararg macro support... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working volatile... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for size_t... (cached) yes checking size of size_t... 8 checking size_t printf format... %016lx checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking stdargs.h usability... no checking stdargs.h presence... no checking for stdargs.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for string.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for dlfcn.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking OpenSSL interface... yes checking Win32 crypto engine... no checking OpenSSL crypto engine... yes checking GnuTLS crypto engine... no checking NSS crypto engine... no checking mbed TLS crypto engine... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config-w32-vc.h config.status: creating include/Makefile config.status: creating include/pkcs11-helper-1.0/Makefile config.status: creating include/pkcs11-helper-1.0/pkcs11h-version.h config.status: creating man/Makefile config.status: creating doc/Makefile config.status: creating doc/api/Makefile config.status: creating doc/api/Doxyfile config.status: creating lib/Makefile config.status: creating lib/libpkcs11-helper-1.pc config.status: creating lib/versioninfo.rc config.status: creating m4dir/Makefile config.status: creating distro/Makefile config.status: creating distro/rpm/Makefile config.status: creating distro/rpm/pkcs11-helper.spec config.status: creating distro/debian/Makefile config.status: creating tests/Makefile config.status: creating tests/test-basic/Makefile config.status: creating tests/test-certificate/Makefile config.status: creating tests/test-openssl/Makefile config.status: creating tests/test-slotevent/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1 ... make -j3 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1' Making all in man make[2]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/man' Making all in include make[2]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/include' Making all in pkcs11-helper-1.0 make[3]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/include/pkcs11-helper-1.0' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/include/pkcs11-helper-1.0' make[3]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/include' make[2]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/include' Making all in lib make[2]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/lib' cat "./core.exports" > pkcs11-helper.exports cat "./certificate.exports" >> pkcs11-helper.exports cat "./data.exports" >> pkcs11-helper.exports cat "./openssl.exports" >> pkcs11-helper.exports cat "./slotevent.exports" >> pkcs11-helper.exports cat "./token.exports" >> pkcs11-helper.exports make all-am make[3]: Entering directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-mem.lo pkcs11h-mem.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-sys.lo pkcs11h-sys.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-crypto.lo pkcs11h-crypto.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-mem.c -fPIC -DPIC -o .libs/pkcs11h-mem.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-sys.c -fPIC -DPIC -o .libs/pkcs11h-sys.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-crypto.c -fPIC -DPIC -o .libs/pkcs11h-crypto.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o _pkcs11h-crypto-openssl.lo _pkcs11h-crypto-openssl.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o _pkcs11h-crypto-nss.lo _pkcs11h-crypto-nss.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o _pkcs11h-crypto-gnutls.lo _pkcs11h-crypto-gnutls.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c _pkcs11h-crypto-openssl.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-openssl.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c _pkcs11h-crypto-gnutls.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-gnutls.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c _pkcs11h-crypto-nss.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-nss.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o _pkcs11h-crypto-mbedtls.lo _pkcs11h-crypto-mbedtls.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o _pkcs11h-crypto-cryptoapi.lo _pkcs11h-crypto-cryptoapi.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c _pkcs11h-crypto-mbedtls.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-mbedtls.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c _pkcs11h-crypto-cryptoapi.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-cryptoapi.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-threading.lo pkcs11h-threading.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-util.lo pkcs11h-util.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-session.lo pkcs11h-session.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-threading.c -fPIC -DPIC -o .libs/pkcs11h-threading.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-session.c -fPIC -DPIC -o .libs/pkcs11h-session.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-util.c -fPIC -DPIC -o .libs/pkcs11h-util.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-token.lo pkcs11h-token.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-token.c -fPIC -DPIC -o .libs/pkcs11h-token.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-certificate.lo pkcs11h-certificate.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-certificate.c -fPIC -DPIC -o .libs/pkcs11h-certificate.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-slotevent.lo pkcs11h-slotevent.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-slotevent.c -fPIC -DPIC -o .libs/pkcs11h-slotevent.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-core.lo pkcs11h-core.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-core.c -fPIC -DPIC -o .libs/pkcs11h-core.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-data.lo pkcs11h-data.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-data.c -fPIC -DPIC -o .libs/pkcs11h-data.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-serialization.lo pkcs11h-serialization.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c -o pkcs11h-openssl.lo pkcs11h-openssl.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-serialization.c -fPIC -DPIC -o .libs/pkcs11h-serialization.o libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -pipe -march=native -fno-diagnostics-color -O2 -c pkcs11h-openssl.c -fPIC -DPIC -o .libs/pkcs11h-openssl.o pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_get_pkcs11h_certificate': pkcs11h-openssl.c:421:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 421 | session = (pkcs11h_openssl_session_t)RSA_get_ex_data (rsa, __openssl_methods.rsa_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:446:29: note: declared here 446 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_dec': pkcs11h-openssl.c:477:22: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_X931_PADDING'? 477 | case RSA_SSLV23_PADDING: | ^~~~~~~~~~~~~~~~~~ | RSA_X931_PADDING pkcs11h-openssl.c:477:22: note: each undeclared identifier is reported only once for each function it appears in pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_enc': pkcs11h-openssl.c:575:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 575 | tlen = (size_t)RSA_size(rsa); | ^~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:204:27: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setRSA': pkcs11h-openssl.c:637:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 637 | (rsa = EVP_PKEY_get1_RSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:643:9: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 643 | RSA_set_method (rsa, __openssl_methods.rsa); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:302:27: note: declared here 302 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ pkcs11h-openssl.c:644:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 644 | RSA_set_ex_data (rsa, __openssl_methods.rsa_index, openssl_session); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:445:27: note: declared here 445 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c:663:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 663 | RSA_free (rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_dsa_get_pkcs11h_certificate': pkcs11h-openssl.c:689:9: warning: 'DSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 689 | session = (pkcs11h_openssl_session_t)DSA_get_ex_data (dsa, __openssl_methods.dsa_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:146:29: note: declared here 146 | OSSL_DEPRECATEDIN_3_0 void *DSA_get_ex_data(const DSA *d, int idx); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setDSA': pkcs11h-openssl.c:824:17: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 824 | (dsa = EVP_PKEY_get1_DSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1357:16: note: declared here 1357 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:830:9: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 830 | DSA_set_method (dsa, __openssl_methods.dsa); | ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:122:27: note: declared here 122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *); | ^~~~~~~~~~~~~~ pkcs11h-openssl.c:831:9: warning: 'DSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 831 | DSA_set_ex_data (dsa, __openssl_methods.dsa_index, openssl_session); | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:145:27: note: declared here 145 | OSSL_DEPRECATEDIN_3_0 int DSA_set_ex_data(DSA *d, int idx, void *arg); | ^~~~~~~~~~~~~~~ pkcs11h-openssl.c:838:17: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 838 | DSA_free (dsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_eckey_get_pkcs11h_certificate': pkcs11h-openssl.c:864:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 864 | session = (pkcs11h_openssl_session_t)EC_KEY_get_ex_data (ec, __openssl_methods.eckey_index); | ^~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1082:29: note: declared here 1082 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function '__pkcs11h_openssl_session_setECDSA': pkcs11h-openssl.c:1011:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1011 | (ec = EVP_PKEY_get1_EC_KEY (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1374:19: note: declared here 1374 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1017:9: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1017 | EC_KEY_set_method (ec, __openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1281:27: note: declared here 1281 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1018:9: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1018 | EC_KEY_set_ex_data (ec, __openssl_methods.eckey_index, openssl_session); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1081:27: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1025:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1025 | EC_KEY_free (ec); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1001:28: note: declared here 1001 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ pkcs11h-openssl.c: In function '_pkcs11h_openssl_initialize': pkcs11h-openssl.c:1051:17: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1051 | RSA_meth_free (__openssl_methods.rsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:474:28: note: declared here 474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1053:9: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) { | ^~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:475:35: note: declared here 475 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ pkcs11h-openssl.c:1053:9: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1053 | if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) { | ^~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:299:41: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1056:9: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | RSA_meth_set1_name (__openssl_methods.rsa, "pkcs11h"); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:477:27: note: declared here 477 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1057:9: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1057 | RSA_meth_set_priv_dec (__openssl_methods.rsa, __pkcs11h_openssl_rsa_dec); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:520:5: note: declared here 520 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1058:9: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1058 | RSA_meth_set_priv_enc (__openssl_methods.rsa, __pkcs11h_openssl_rsa_enc); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:510:5: note: declared here 510 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1059:9: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1059 | RSA_meth_set_flags (__openssl_methods.rsa, RSA_METHOD_FLAG_NO_CHECK | RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:480:27: note: declared here 480 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1064:17: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1064 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:244:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 244 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c:1070:17: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1070 | DSA_meth_free (__openssl_methods.dsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:219:28: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1072:9: warning: 'DSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1072 | __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:220:35: note: declared here 220 | OSSL_DEPRECATEDIN_3_0 DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam); | ^~~~~~~~~~~~ pkcs11h-openssl.c:1072:9: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1072 | __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:121:41: note: declared here 121 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1073:9: warning: 'DSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1073 | DSA_meth_set1_name (__openssl_methods.dsa, "pkcs11h"); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:222:27: note: declared here 222 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set1_name(DSA_METHOD *dsam, | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1074:9: warning: 'DSA_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1074 | DSA_meth_set_sign (__openssl_methods.dsa, __pkcs11h_openssl_dsa_do_sign); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:231:27: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set_sign(DSA_METHOD *dsam, | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1079:17: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1079 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:244:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 244 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c:1085:17: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1085 | EC_KEY_METHOD_free(__openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1460:28: note: declared here 1460 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1087:9: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1087 | __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1459:38: note: declared here 1459 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1087:9: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1087 | __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ()); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1278:44: note: declared here 1278 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1100:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1100 | EC_KEY_METHOD_get_sign(__openssl_methods.eckey, &sig, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1522:28: note: declared here 1522 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1101:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1101 | EC_KEY_METHOD_set_sign(__openssl_methods.eckey, sig, NULL, __pkcs11h_openssl_eckey_do_sign); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1478:28: note: declared here 1478 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1107:17: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 1107 | __pkcs11h_openssl_ex_data_dup, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from /usr/include/openssl/buffer.h:21, from /usr/include/openssl/x509.h:28, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/crypto.h:244:51: note: expected 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void **, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void **, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 244 | CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ pkcs11h-openssl.c: In function '_pkcs11h_openssl_terminate': pkcs11h-openssl.c:1130:17: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1130 | RSA_meth_free (__openssl_methods.rsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:474:28: note: declared here 474 | OSSL_DEPRECATEDIN_3_0 void RSA_meth_free(RSA_METHOD *meth); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1136:17: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1136 | DSA_meth_free (__openssl_methods.dsa); | ^~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:37, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/dsa.h:219:28: note: declared here 219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam); | ^~~~~~~~~~~~~ pkcs11h-openssl.c:1142:17: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1142 | EC_KEY_METHOD_free(__openssl_methods.eckey); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/ec.h:1460:28: note: declared here 1460 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ pkcs11h-openssl.c: In function 'pkcs11h_openssl_session_getRSA': pkcs11h-openssl.c:1384:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1384 | (rsa = EVP_PKEY_get1_RSA (evp)) == NULL | ^ In file included from /usr/include/openssl/x509.h:29, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/evp.h:1348:16: note: declared here 1348 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ pkcs11h-openssl.c:1400:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1400 | RSA_free (rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69, from pkcs11h-openssl.c:55: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ make[3]: *** [Makefile:597: pkcs11h-openssl.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/lib' make[2]: *** [Makefile:477: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1/lib' make[1]: *** [Makefile:546: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1' make: *** [Makefile:455: all] Error 2 * ERROR: dev-libs/pkcs11-helper-1.25.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/pkcs11-helper-1.25.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/pkcs11-helper-1.25.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:pkcs11-helper-1.25.1-r1:20210729-170228.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1' * S: '/var/tmp/portage/dev-libs/pkcs11-helper-1.25.1-r1/work/pkcs11-helper-1.25.1'