=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for pkcs11-helper-1.10nb11 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/missing --run autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10' Making all in man gmake[2]: Entering directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/man' Making all in include gmake[2]: Entering directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/include' Making all in pkcs11-helper-1.0 gmake[3]: Entering directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/include/pkcs11-helper-1.0' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/include/pkcs11-helper-1.0' gmake[3]: Entering directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/include' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/include' gmake[2]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/include' Making all in lib gmake[2]: Entering directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/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/security/pkcs11-helper/work/pkcs11-helper-1.10/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c -o pkcs11h-sys.lo pkcs11h-sys.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c -o pkcs11h-crypto.lo pkcs11h-crypto.c /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 pkcs11h-sys.c: In function '__mysleep': pkcs11h-sys.c:74:2: warning: implicit declaration of function 'usleep'; did you mean 'sleep'? [-Wimplicit-function-declaration] usleep (usec); ^~~~~~ sleep pkcs11h-sys.c: In function '__mygettimeofday': pkcs11h-sys.c:82:9: warning: implicit declaration of function 'gettimeofday'; did you mean '__mygettimeofday'? [-Wimplicit-function-declaration] return gettimeofday (tv, NULL); ^~~~~~~~~~~~ __mygettimeofday libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-crypto.lo -MD -MP -MF .deps/pkcs11h-crypto.Tpo -c pkcs11h-crypto.c -o pkcs11h-crypto.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-sys.lo -MD -MP -MF .deps/pkcs11h-sys.Tpo -c pkcs11h-sys.c -o pkcs11h-sys.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c pkcs11h-mem.c -o pkcs11h-mem.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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT _pkcs11h-crypto-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c -o _pkcs11h-crypto-nss.lo _pkcs11h-crypto-nss.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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT _pkcs11h-crypto-gnutls.lo -MD -MP -MF .deps/_pkcs11h-crypto-gnutls.Tpo -c -o _pkcs11h-crypto-gnutls.lo _pkcs11h-crypto-gnutls.c 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT _pkcs11h-crypto-polarssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-polarssl.Tpo -c -o _pkcs11h-crypto-polarssl.lo _pkcs11h-crypto-polarssl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT _pkcs11h-crypto-polarssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-polarssl.Tpo -c _pkcs11h-crypto-polarssl.c -fPIC -DPIC -o .libs/_pkcs11h-crypto-polarssl.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT _pkcs11h-crypto-polarssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-polarssl.Tpo -c _pkcs11h-crypto-polarssl.c -o _pkcs11h-crypto-polarssl.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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-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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT _pkcs11h-crypto-cryptoapi.lo -MD -MP -MF .deps/_pkcs11h-crypto-cryptoapi.Tpo -c -o _pkcs11h-crypto-cryptoapi.lo _pkcs11h-crypto-cryptoapi.c mv -f .deps/_pkcs11h-crypto-polarssl.Tpo .deps/_pkcs11h-crypto-polarssl.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c -o pkcs11h-threading.lo pkcs11h-threading.c 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 pkcs11h-threading.c: In function '___pkcs11h_thread_start': pkcs11h-threading.c:500:2: warning: implicit declaration of function 'pthread_sigmask'; did you mean 'pthread_spin_lock'? [-Wimplicit-function-declaration] pthread_sigmask (SIG_SETMASK, &signal_mask, NULL); ^~~~~~~~~~~~~~~ pthread_spin_lock 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c -o pkcs11h-session.lo pkcs11h-session.c 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c pkcs11h-util.c -o pkcs11h-util.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c pkcs11h-token.c -fPIC -DPIC -o .libs/pkcs11h-token.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c pkcs11h-threading.c -o pkcs11h-threading.o >/dev/null 2>&1 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c -o pkcs11h-certificate.lo pkcs11h-certificate.c 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c pkcs11h-token.c -o pkcs11h-token.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c -fPIC -DPIC -o .libs/pkcs11h-certificate.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c pkcs11h-slotevent.c -fPIC -DPIC -o .libs/pkcs11h-slotevent.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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-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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-core.lo -MD -MP -MF .deps/pkcs11h-core.Tpo -c pkcs11h-core.c -fPIC -DPIC -o .libs/pkcs11h-core.o pkcs11h-core.c: In function 'pkcs11h_getMessage': pkcs11h-core.c:224:3: warning: case label is not an integer constant expression [-Wpedantic] case CKR_VENDOR_DEFINED: return "CKR_VENDOR_DEFINED"; ^~~~ 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c -o pkcs11h-data.lo pkcs11h-data.c 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 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c -o pkcs11h-serialization.lo pkcs11h-serialization.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-data.lo -MD -MP -MF .deps/pkcs11h-data.Tpo -c pkcs11h-data.c -fPIC -DPIC -o .libs/pkcs11h-data.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c -fPIC -DPIC -o .libs/pkcs11h-serialization.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c -o pkcs11h-serialization.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -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 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c -o pkcs11h-certificate.o >/dev/null 2>&1 mv -f .deps/pkcs11h-serialization.Tpo .deps/pkcs11h-serialization.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c -o pkcs11h-openssl.lo pkcs11h-openssl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -D_FORTIFY_SOURCE=2 -ansi -pedantic -D__STRICT_ANSI__ -D_ISOC99_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -Wall -Wextra -Wpointer-arith -Wsign-compare -Wno-unused-parameter -Wno-unused-function -MT pkcs11h-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c pkcs11h-openssl.c -fPIC -DPIC -o .libs/pkcs11h-openssl.o mv -f .deps/pkcs11h-data.Tpo .deps/pkcs11h-data.Plo mv -f .deps/pkcs11h-core.Tpo .deps/pkcs11h-core.Plo pkcs11h-openssl.c:76:13: error: field 'smart_rsa' has incomplete type RSA_METHOD smart_rsa; ^~~~~~~~~ In file included from /usr/include/string.h:127:0, from common.h:63, from pkcs11h-openssl.c:52: pkcs11h-openssl.c: In function 'pkcs11h_openssl_createSession': pkcs11h-openssl.c:509:52: error: invalid application of 'sizeof' to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}' memmove (&openssl_session->smart_rsa, def, sizeof(RSA_METHOD)); ^ pkcs11h-openssl.c:509:52: error: invalid application of 'sizeof' to incomplete type 'RSA_METHOD {aka struct rsa_meth_st}' memmove (&openssl_session->smart_rsa, def, sizeof(RSA_METHOD)); ^ pkcs11h-openssl.c:511:36: error: dereferencing pointer to incomplete type 'RSA_METHOD {aka const struct rsa_meth_st}' openssl_session->orig_finish = def->finish; ^~ pkcs11h-openssl.c: In function 'pkcs11h_openssl_session_getRSA': pkcs11h-openssl.c:628:12: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}' if (pubkey->type != EVP_PKEY_RSA) { ^~ pkcs11h-openssl.c:653:5: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' rsa->flags |= RSA_FLAG_SIGN_VER; ^~ pkcs11h-openssl.c:653:16: error: 'RSA_FLAG_SIGN_VER' undeclared (first use in this function); did you mean 'RSA_FLAG_EXT_PKEY'? rsa->flags |= RSA_FLAG_SIGN_VER; ^~~~~~~~~~~~~~~~~ RSA_FLAG_EXT_PKEY pkcs11h-openssl.c:653:16: note: each undeclared identifier is reported only once for each function it appears in gmake[3]: *** [Makefile:476: pkcs11h-openssl.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... mv -f .deps/pkcs11h-certificate.Tpo .deps/pkcs11h-certificate.Plo gmake[3]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/lib' gmake[2]: *** [Makefile:364: all] Error 2 gmake[2]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10/lib' gmake[1]: *** [Makefile:440: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/security/pkcs11-helper/work/pkcs11-helper-1.10' gmake: *** [Makefile:347: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/pkcs11-helper *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/security/pkcs11-helper