=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for pkcs11-helper-1.27.0nb10
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0'
Making all in man
gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/man'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/man'
Making all in include
gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/include'
Making all in pkcs11-helper-1.0
gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/include/pkcs11-helper-1.0'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/include/pkcs11-helper-1.0'
gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/include'
gmake[3]: Nothing to be done for 'all-am'.
gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/include'
gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/include'
Making all in lib
gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/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
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/lib'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c -o pkcs11h-mem.lo pkcs11h-mem.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c -o pkcs11h-sys.lo pkcs11h-sys.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c pkcs11h-sys.c  -fPIC -DPIC -o .libs/pkcs11h-sys.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c pkcs11h-mem.c  -fPIC -DPIC -o .libs/pkcs11h-mem.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c pkcs11h-mem.c -o pkcs11h-mem.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c pkcs11h-sys.c -o pkcs11h-sys.o >/dev/null 2>&1
mv -f .deps/pkcs11h-mem.Tpo .deps/pkcs11h-mem.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c -o pkcs11h-crypto.lo pkcs11h-crypto.c
mv -f .deps/pkcs11h-sys.Tpo .deps/pkcs11h-sys.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT _pkcs11h-crypto-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c -o _pkcs11h-crypto-openssl.lo _pkcs11h-crypto-openssl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c pkcs11h-crypto.c  -fPIC -DPIC -o .libs/pkcs11h-crypto.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c _pkcs11h-crypto-openssl.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-openssl.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c pkcs11h-crypto.c -o pkcs11h-crypto.o >/dev/null 2>&1
mv -f .deps/pkcs11h-crypto.Tpo .deps/pkcs11h-crypto.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c -o _pkcs11h-crypto-nss.lo _pkcs11h-crypto-nss.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c _pkcs11h-crypto-nss.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-nss.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c _pkcs11h-crypto-openssl.c -o _pkcs11h-crypto-openssl.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c _pkcs11h-crypto-nss.c -o _pkcs11h-crypto-nss.o >/dev/null 2>&1
mv -f .deps/_pkcs11h-crypto-nss.Tpo .deps/_pkcs11h-crypto-nss.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c -o _pkcs11h-crypto-gnutls.lo _pkcs11h-crypto-gnutls.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c _pkcs11h-crypto-gnutls.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-gnutls.o
mv -f .deps/_pkcs11h-crypto-openssl.Tpo .deps/_pkcs11h-crypto-openssl.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT _pkcs11h-crypto-mbedtls.lo -MD -MP -MF .deps/_pkcs11h-crypto-mbedtls.Tpo -c -o _pkcs11h-crypto-mbedtls.lo _pkcs11h-crypto-mbedtls.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c _pkcs11h-crypto-gnutls.c -o _pkcs11h-crypto-gnutls.o >/dev/null 2>&1
mv -f .deps/_pkcs11h-crypto-gnutls.Tpo .deps/_pkcs11h-crypto-gnutls.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c -o _pkcs11h-crypto-cryptoapi.lo _pkcs11h-crypto-cryptoapi.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-mbedtls.lo -MD -MP -MF .deps/_pkcs11h-crypto-mbedtls.Tpo -c _pkcs11h-crypto-mbedtls.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-mbedtls.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c _pkcs11h-crypto-cryptoapi.c  -fPIC -DPIC -o .libs/_pkcs11h-crypto-cryptoapi.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-mbedtls.lo -MD -MP -MF .deps/_pkcs11h-crypto-mbedtls.Tpo -c _pkcs11h-crypto-mbedtls.c -o _pkcs11h-crypto-mbedtls.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c _pkcs11h-crypto-cryptoapi.c -o _pkcs11h-crypto-cryptoapi.o >/dev/null 2>&1
mv -f .deps/_pkcs11h-crypto-mbedtls.Tpo .deps/_pkcs11h-crypto-mbedtls.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c -o pkcs11h-threading.lo pkcs11h-threading.c
mv -f .deps/_pkcs11h-crypto-cryptoapi.Tpo .deps/_pkcs11h-crypto-cryptoapi.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c -o pkcs11h-util.lo pkcs11h-util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c pkcs11h-threading.c  -fPIC -DPIC -o .libs/pkcs11h-threading.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c pkcs11h-util.c  -fPIC -DPIC -o .libs/pkcs11h-util.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c pkcs11h-threading.c -o pkcs11h-threading.o >/dev/null 2>&1
pkcs11h-util.c: In function '_pkcs11h_util_escapeString':
pkcs11h-util.c:165:66: warning: array subscript has type 'char' [-Wchar-subscripts]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c pkcs11h-util.c -o pkcs11h-util.o >/dev/null 2>&1
mv -f .deps/pkcs11h-threading.Tpo .deps/pkcs11h-threading.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c -o pkcs11h-session.lo pkcs11h-session.c
mv -f .deps/pkcs11h-util.Tpo .deps/pkcs11h-util.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c -o pkcs11h-token.lo pkcs11h-token.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c pkcs11h-session.c  -fPIC -DPIC -o .libs/pkcs11h-session.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c pkcs11h-token.c  -fPIC -DPIC -o .libs/pkcs11h-token.o
pkcs11h-session.c: In function '_pkcs11h_session_getObjectById':
pkcs11h-session.c:790:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-session.c:790:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-session.c:791:13: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-session.c:791:25: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-session.c:791:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-session.c:801:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c pkcs11h-session.c -o pkcs11h-session.o >/dev/null 2>&1
mv -f .deps/pkcs11h-session.Tpo .deps/pkcs11h-session.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c -o pkcs11h-certificate.lo pkcs11h-certificate.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c pkcs11h-token.c -o pkcs11h-token.o >/dev/null 2>&1
mv -f .deps/pkcs11h-token.Tpo .deps/pkcs11h-token.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c -o pkcs11h-slotevent.lo pkcs11h-slotevent.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c  -fPIC -DPIC -o .libs/pkcs11h-certificate.o
pkcs11h-certificate.c: In function '_pkcs11h_certificate_isBetterCertificate':
pkcs11h-certificate.c:121:73: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:121:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function '__pkcs11h_certificate_loadCertificate':
pkcs11h-certificate.c:235:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:235:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c: In function '__pkcs11h_certificate_doPrivateOperation':
pkcs11h-certificate.c:790:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:798:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:798:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:799:13: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:799:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:800:13: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:800:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:804:12: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:804:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:819:73: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:819:73: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1045:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_sign':
pkcs11h-certificate.c:1317:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:1317:73: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1350:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_signRecover':
pkcs11h-certificate.c:1379:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:1379:73: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1412:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_decrypt':
pkcs11h-certificate.c:1441:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:1441:73: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1474:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_unwrap':
pkcs11h-certificate.c:1503:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:1503:73: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1536:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_signAny':
pkcs11h-certificate.c:1566:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:1566:73: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1651:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_decryptAny':
pkcs11h-certificate.c:1681:73: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'const long unsigned int'} [-Wformat=]
pkcs11h-certificate.c:1681:73: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c:1765:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-certificate.c: In function 'pkcs11h_certificate_getCertificateBlob':
pkcs11h-certificate.c:2004:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
pkcs11h-certificate.c: In function '_pkcs11h_certificate_enumSessionCertificates':
pkcs11h-certificate.c:2346:10: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-certificate.c:2346:4: warning: initializer element is not computable at load time [-Wpedantic]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c -o pkcs11h-certificate.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c pkcs11h-slotevent.c  -fPIC -DPIC -o .libs/pkcs11h-slotevent.o
mv -f .deps/pkcs11h-certificate.Tpo .deps/pkcs11h-certificate.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c -o pkcs11h-core.lo pkcs11h-core.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c pkcs11h-slotevent.c -o pkcs11h-slotevent.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c pkcs11h-core.c  -fPIC -DPIC -o .libs/pkcs11h-core.o
mv -f .deps/pkcs11h-slotevent.Tpo .deps/pkcs11h-slotevent.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c -o pkcs11h-data.lo pkcs11h-data.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c pkcs11h-core.c -o pkcs11h-core.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c pkcs11h-data.c  -fPIC -DPIC -o .libs/pkcs11h-data.o
mv -f .deps/pkcs11h-core.Tpo .deps/pkcs11h-core.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c -o pkcs11h-serialization.lo pkcs11h-serialization.c
pkcs11h-data.c: In function '_pkcs11h_data_getObject':
pkcs11h-data.c:69:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:69:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:70:12: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:70:33: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:70:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:71:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:71:24: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:71:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c: In function 'pkcs11h_data_get':
pkcs11h-data.c:167:73: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=]
pkcs11h-data.c:280:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-data.c: In function 'pkcs11h_data_put':
pkcs11h-data.c:307:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:307:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:308:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:308:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:309:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:309:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:310:12: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:310:33: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:310:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:311:9: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:311:24: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:311:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:312:12: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:312:18: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:312:3: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:333:73: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=]
pkcs11h-data.c: In function 'pkcs11h_data_enumDataObjects':
pkcs11h-data.c:643:10: warning: initializer element is not computable at load time [-Wpedantic]
pkcs11h-data.c:643:4: warning: initializer element is not computable at load time [-Wpedantic]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c pkcs11h-data.c -o pkcs11h-data.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c  -fPIC -DPIC -o .libs/pkcs11h-serialization.o
mv -f .deps/pkcs11h-data.Tpo .deps/pkcs11h-data.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include -I/usr/include  -O2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long  -MT pkcs11h-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c -o pkcs11h-openssl.lo pkcs11h-openssl.c
pkcs11h-serialization.c: In function 'pkcs11h_token_serializeTokenId':
pkcs11h-serialization.c:86:73: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
pkcs11h-serialization.c:140:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
pkcs11h-serialization.c: In function 'pkcs11h_certificate_serializeCertificateId':
pkcs11h-serialization.c:305:73: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
pkcs11h-serialization.c:350:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c -o pkcs11h-serialization.o >/dev/null 2>&1
mv -f .deps/pkcs11h-serialization.Tpo .deps/pkcs11h-serialization.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_DEFAULT_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -Wno-variadic-macros -Wno-long-long -MT pkcs11h-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c pkcs11h-openssl.c  -fPIC -DPIC -o .libs/pkcs11h-openssl.o
distcc[21651] ERROR: compile pkcs11h-openssl.c on 192.168.1.1:3748 failed
distcc[21651] (dcc_build_somewhere) Warning: remote compilation of 'pkcs11h-openssl.c' failed, retrying locally
distcc[21651] Warning: failed to distribute pkcs11h-openssl.c to 192.168.1.1:3748, running locally instead
pkcs11h-openssl.c: In function '__pkcs11h_openssl_rsa_get_pkcs11h_certificate':
pkcs11h-openssl.c:421:2: 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:35,
                 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:8: error: 'RSA_SSLV23_PADDING' undeclared (first use in this function); did you mean 'RSA_PKCS1_PADDING'?
  477 |   case RSA_SSLV23_PADDING:
      |        ^~~~~~~~~~~~~~~~~~
      |        RSA_PKCS1_PADDING
pkcs11h-openssl.c:477:8: 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:586:2: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  586 |  tlen = (size_t)RSA_size(rsa);
      |  ^~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:648:3: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  648 |   (rsa = EVP_PKEY_get1_RSA (evp)) == NULL
      |   ^
In file included 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/evp.h:1350:16: note: declared here
 1350 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:654:2: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  654 |  RSA_set_method (rsa, __openssl_methods.rsa);
      |  ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:655:2: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  655 |  RSA_set_ex_data (rsa, __openssl_methods.rsa_index, openssl_session);
      |  ^~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:674:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  674 |   RSA_free (rsa);
      |   ^~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:700:2: warning: 'DSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  700 |  session = (pkcs11h_openssl_session_t)DSA_get_ex_data (dsa, __openssl_methods.dsa_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/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:835:3: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  835 |   (dsa = EVP_PKEY_get1_DSA (evp)) == NULL
      |   ^
In file included 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/evp.h:1359:16: note: declared here
 1359 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:841:2: warning: 'DSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  841 |  DSA_set_method (dsa, __openssl_methods.dsa);
      |  ^~~~~~~~~~~~~~
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/dsa.h:122:27: note: declared here
  122 | OSSL_DEPRECATEDIN_3_0 int DSA_set_method(DSA *dsa, const DSA_METHOD *);
      |                           ^~~~~~~~~~~~~~
pkcs11h-openssl.c:842:2: warning: 'DSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  842 |  DSA_set_ex_data (dsa, __openssl_methods.dsa_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/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:849:3: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  849 |   DSA_free (dsa);
      |   ^~~~~~~~
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/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:875:2: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  875 |  session = (pkcs11h_openssl_session_t)EC_KEY_get_ex_data (ec, __openssl_methods.eckey_index);
      |  ^~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1084:29: note: declared here
 1084 | 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:1022:3: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1022 |   (ec = EVP_PKEY_get1_EC_KEY (evp)) == NULL
      |   ^
In file included 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/evp.h:1376:19: note: declared here
 1376 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey);
      |                   ^~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1028:2: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1028 |  EC_KEY_set_method (ec, __openssl_methods.eckey);
      |  ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1283:27: note: declared here
 1283 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth);
      |                           ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1029:2: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1029 |  EC_KEY_set_ex_data (ec, __openssl_methods.eckey_index, openssl_session);
      |  ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1083:27: note: declared here
 1083 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg);
      |                           ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1036:3: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1036 |   EC_KEY_free (ec);
      |   ^~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
pkcs11h-openssl.c: In function '_pkcs11h_openssl_initialize':
pkcs11h-openssl.c:1062:3: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1062 |   RSA_meth_free (__openssl_methods.rsa);
      |   ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:1064:2: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1064 |  if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) {
      |  ^~
In file included from /usr/include/openssl/x509.h:35,
                 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:1064:2: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1064 |  if ((__openssl_methods.rsa = RSA_meth_dup (RSA_get_default_method ())) == NULL) {
      |  ^~
In file included from /usr/include/openssl/x509.h:35,
                 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:1067:2: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1067 |  RSA_meth_set1_name (__openssl_methods.rsa, "pkcs11h");
      |  ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:1068:2: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1068 |  RSA_meth_set_priv_dec (__openssl_methods.rsa, __pkcs11h_openssl_rsa_dec);
      |  ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:1069:2: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1069 |  RSA_meth_set_priv_enc (__openssl_methods.rsa, __pkcs11h_openssl_rsa_enc);
      |  ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:1070:2: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1070 |  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:35,
                 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:1075:3: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types]
 1075 |   __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:27,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/crypto.h:245: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 *)'}
  245 |                                    CRYPTO_EX_dup *dup_func,
      |                                    ~~~~~~~~~~~~~~~^~~~~~~~
pkcs11h-openssl.c:1081:3: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1081 |   DSA_meth_free (__openssl_methods.dsa);
      |   ^~~~~~~~~~~~~
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/dsa.h:219:28: note: declared here
  219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam);
      |                            ^~~~~~~~~~~~~
pkcs11h-openssl.c:1083:2: warning: 'DSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1083 |  __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ());
      |  ^~~~~~~~~~~~~~~~~
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/dsa.h:220:35: note: declared here
  220 | OSSL_DEPRECATEDIN_3_0 DSA_METHOD *DSA_meth_dup(const DSA_METHOD *dsam);
      |                                   ^~~~~~~~~~~~
pkcs11h-openssl.c:1083:2: warning: 'DSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1083 |  __openssl_methods.dsa = DSA_meth_dup (DSA_get_default_method ());
      |  ^~~~~~~~~~~~~~~~~
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/dsa.h:121:41: note: declared here
  121 | OSSL_DEPRECATEDIN_3_0 const DSA_METHOD *DSA_get_default_method(void);
      |                                         ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1084:2: warning: 'DSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1084 |  DSA_meth_set1_name (__openssl_methods.dsa, "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/dsa.h:222:27: note: declared here
  222 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set1_name(DSA_METHOD *dsam,
      |                           ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1085:2: warning: 'DSA_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1085 |  DSA_meth_set_sign (__openssl_methods.dsa, __pkcs11h_openssl_dsa_do_sign);
      |  ^~~~~~~~~~~~~~~~~
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/dsa.h:231:27: note: declared here
  231 | OSSL_DEPRECATEDIN_3_0 int DSA_meth_set_sign(DSA_METHOD *dsam,
      |                           ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1090:3: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types]
 1090 |   __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:27,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/crypto.h:245: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 *)'}
  245 |                                    CRYPTO_EX_dup *dup_func,
      |                                    ~~~~~~~~~~~~~~~^~~~~~~~
pkcs11h-openssl.c:1096:3: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1096 |   EC_KEY_METHOD_free(__openssl_methods.eckey);
      |   ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1462:28: note: declared here
 1462 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_free(EC_KEY_METHOD *meth);
      |                            ^~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1098:2: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1098 |  __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ());
      |  ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1461:38: note: declared here
 1461 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
      |                                      ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1098:2: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1098 |  __openssl_methods.eckey = EC_KEY_METHOD_new (EC_KEY_get_default_method ());
      |  ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1280:44: note: declared here
 1280 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1111:3: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1111 |   EC_KEY_METHOD_get_sign(__openssl_methods.eckey, &sig, NULL, NULL);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1524:28: note: declared here
 1524 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1112:3: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1112 |   EC_KEY_METHOD_set_sign(__openssl_methods.eckey, sig, NULL, __pkcs11h_openssl_eckey_do_sign);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1480:28: note: declared here
 1480 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign
      |                            ^~~~~~~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1118:3: warning: passing argument 5 of 'CRYPTO_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types]
 1118 |   __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:27,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/crypto.h:245: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 *)'}
  245 |                                    CRYPTO_EX_dup *dup_func,
      |                                    ~~~~~~~~~~~~~~~^~~~~~~~
pkcs11h-openssl.c: In function '_pkcs11h_openssl_terminate':
pkcs11h-openssl.c:1141:3: warning: 'RSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1141 |   RSA_meth_free (__openssl_methods.rsa);
      |   ^~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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:1147:3: warning: 'DSA_meth_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1147 |   DSA_meth_free (__openssl_methods.dsa);
      |   ^~~~~~~~~~~~~
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/dsa.h:219:28: note: declared here
  219 | OSSL_DEPRECATEDIN_3_0 void DSA_meth_free(DSA_METHOD *dsam);
      |                            ^~~~~~~~~~~~~
pkcs11h-openssl.c:1153:3: warning: 'EC_KEY_METHOD_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1153 |   EC_KEY_METHOD_free(__openssl_methods.eckey);
      |   ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/x509.h:32,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:69,
                 from pkcs11h-openssl.c:55:
/usr/include/openssl/ec.h:1462:28: note: declared here
 1462 | 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:1395:3: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1395 |   (rsa = EVP_PKEY_get1_RSA (evp)) == NULL
      |   ^
In file included 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/evp.h:1350:16: note: declared here
 1350 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey);
      |                ^~~~~~~~~~~~~~~~~
pkcs11h-openssl.c:1411:3: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1411 |   RSA_free (rsa);
      |   ^~~~~~~~
In file included from /usr/include/openssl/x509.h:35,
                 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);
      |                            ^~~~~~~~
distcc[21651] ERROR: compile pkcs11h-openssl.c on localhost failed
gmake[3]: *** [Makefile:613: pkcs11h-openssl.lo] Error 1
gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/lib'
gmake[2]: *** [Makefile:491: all] Error 2
gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0/lib'
gmake[1]: *** [Makefile:546: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.sparc/pkcs11-helper-1.27.0'
gmake: *** [Makefile:455: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/security/pkcs11-helper
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/pkcs11-helper