=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for pkcs11-helper-1.10nb12 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/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/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10' Making all in man gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/man' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/man' Making all in include gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/include' Making all in pkcs11-helper-1.0 gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/include/pkcs11-helper-1.0' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/include/pkcs11-helper-1.0' gmake[3]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/include' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/include' gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/include' Making all in lib gmake[2]: Entering directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/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/pkgbuild/security/pkcs11-helper/work.earmv6hf/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 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-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-mem.lo -MD -MP -MF .deps/pkcs11h-mem.Tpo -c pkcs11h-mem.c -fPIC -DPIC -o .libs/pkcs11h-mem.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-openssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-openssl.Tpo -c -o _pkcs11h-crypto-openssl.lo _pkcs11h-crypto-openssl.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-nss.lo -MD -MP -MF .deps/_pkcs11h-crypto-nss.Tpo -c -o _pkcs11h-crypto-nss.lo _pkcs11h-crypto-nss.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-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 -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 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-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-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-polarssl.lo -MD -MP -MF .deps/_pkcs11h-crypto-polarssl.Tpo -c -o _pkcs11h-crypto-polarssl.lo _pkcs11h-crypto-polarssl.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-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 -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-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-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-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-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-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-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-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 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-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-session.lo -MD -MP -MF .deps/pkcs11h-session.Tpo -c -o pkcs11h-session.lo pkcs11h-session.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-threading.lo -MD -MP -MF .deps/pkcs11h-threading.Tpo -c pkcs11h-threading.c -o pkcs11h-threading.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-util.lo -MD -MP -MF .deps/pkcs11h-util.Tpo -c pkcs11h-util.c -o pkcs11h-util.o >/dev/null 2>&1 In file included from _pkcs11h-token.h:56:0, from pkcs11h-session.c:58: pkcs11h-session.c: In function '_pkcs11h_session_getObjectById': pkcs11h-session.c:804:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: _pkcs11h_session_getObjectById entry session=%p, class=%ld, id=%p, id_size="P_Z", p_handle=%p", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-session.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx 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-token.lo -MD -MP -MF .deps/pkcs11h-token.Tpo -c -o pkcs11h-token.lo pkcs11h-token.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-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 -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-certificate.lo -MD -MP -MF .deps/pkcs11h-certificate.Tpo -c pkcs11h-certificate.c -fPIC -DPIC -o .libs/pkcs11h-certificate.o In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function '_pkcs11h_certificate_isBetterCertificate': pkcs11h-certificate.c:124:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: _pkcs11h_certificate_isBetterCertificate entry current=%p, current_size="P_Z", newone=%p, newone_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:124:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: _pkcs11h_certificate_isBetterCertificate entry current=%p, current_size="P_Z", newone=%p, newone_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function '__pkcs11h_certificate_doPrivateOperation': pkcs11h-certificate.c:822:3: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: __pkcs11h_certificate_doPrivateOperation entry certificate=%p, op=%d, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:822:3: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=] "PKCS#11: __pkcs11h_certificate_doPrivateOperation entry certificate=%p, op=%d, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:829:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1048:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: __pkcs11h_certificate_doPrivateOperation return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1051:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_sign': pkcs11h-certificate.c:1320:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_sign entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1320:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_sign entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1326:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1353:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_sign return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1356:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_signRecover': pkcs11h-certificate.c:1382:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_signRecover entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1382:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_signRecover entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1388:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1415:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_signRecover return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1418:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_decrypt': pkcs11h-certificate.c:1444:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_decrypt entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1444:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_decrypt entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1450:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1477:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_decrypt return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1480:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_unwrap': pkcs11h-certificate.c:1506:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_unwrap entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1506:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_unwrap entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1512:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1539:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_unwrap return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1542:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_signAny': pkcs11h-certificate.c:1569:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_signAny entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1569:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_signAny entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1575:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1654:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_signAny return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1657:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_decryptAny': pkcs11h-certificate.c:1684:3: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'size_t {aka const long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_decryptAny entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1684:3: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_decryptAny entry certificate=%p, mech_type=%ld, source=%p, source_size="P_Z", target=%p, *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1690:3: target != NULL ? *p_target_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c:1768:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_decryptAny return rv=%lu-'%s', *p_target_size="P_Z"", ^ pkcs11h-certificate.c:1771:3: *p_target_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-certificate.c:61: pkcs11h-certificate.c: In function 'pkcs11h_certificate_getCertificateBlob': pkcs11h-certificate.c:2007:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_getCertificateBlob entry certificate=%p, certificate_blob=%p, *p_certificate_blob_size="P_Z"", ^ pkcs11h-certificate.c:2010:3: certificate_blob != NULL ? *p_certificate_blob_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-certificate.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx 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 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 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-slotevent.lo -MD -MP -MF .deps/pkcs11h-slotevent.Tpo -c -o pkcs11h-slotevent.lo pkcs11h-slotevent.c 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-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 -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-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"; ^~~~ 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-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-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-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 -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 -fPIC -DPIC -o .libs/pkcs11h-data.o In file included from _pkcs11h-session.h:56:0, from pkcs11h-data.c:56: pkcs11h-data.c: In function 'pkcs11h_data_get': pkcs11h-data.c:170:3: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_data_get entry token_id=%p, application='%s', label='%s', user_data=%p, mask_prompt=%08x, blob=%p, *p_blob_size="P_Z"", ^ pkcs11h-data.c:177:3: blob != NULL ? *p_blob_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-data.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-data.c:56: pkcs11h-data.c:283:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_data_get return rv=%lu-'%s', *p_blob_size="P_Z"", ^ pkcs11h-data.c:286:3: *p_blob_size ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-data.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from _pkcs11h-session.h:56:0, from pkcs11h-data.c:56: pkcs11h-data.c: In function 'pkcs11h_data_put': pkcs11h-data.c:336:3: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_data_put entry token_id=%p, application='%s', label='%s', user_data=%p, mask_prompt=%08x, blob=%p, blob_size="P_Z"", ^ pkcs11h-data.c:343:3: blob != NULL ? blob_size : 0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-data.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx 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 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 -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-serialization.lo -MD -MP -MF .deps/pkcs11h-serialization.Tpo -c pkcs11h-serialization.c -fPIC -DPIC -o .libs/pkcs11h-serialization.o In file included from pkcs11h-serialization.c:54:0: pkcs11h-serialization.c: In function 'pkcs11h_token_serializeTokenId': pkcs11h-serialization.c:89:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_token_serializeTokenId entry sz=%p, *max="P_Z", token_id=%p", ^ pkcs11h-serialization.c:91:3: sz != NULL ? *max : 0, ~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-serialization.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from pkcs11h-serialization.c:54:0: pkcs11h-serialization.c:143:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_token_serializeTokenId return rv=%lu-'%s', *max="P_Z", sz='%s'", ^ pkcs11h-serialization.c:146:3: *max, ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-serialization.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from pkcs11h-serialization.c:54:0: pkcs11h-serialization.c: In function 'pkcs11h_certificate_serializeCertificateId': pkcs11h-serialization.c:308:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] "PKCS#11: pkcs11h_certificate_serializeCertificateId entry sz=%p, *max="P_Z", certificate_id=%p", ^ pkcs11h-serialization.c:310:3: sz != NULL ? *max : 0, ~~~~~~~~~~~~~~~~~~~~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-serialization.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx In file included from pkcs11h-serialization.c:54:0: pkcs11h-serialization.c:353:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] "PKCS#11: pkcs11h_certificate_serializeCertificateId return rv=%lu-'%s', *max="P_Z", sz='%s'", ^ pkcs11h-serialization.c:356:3: *max, ~~ _pkcs11h-core.h:82:102: note: in definition of macro '_PKCS11H_DEBUG' # define _PKCS11H_DEBUG(flags, ...) do { if (__PKCS11H_MSG_LEVEL_TEST(flags)) _pkcs11h_log((flags), __VA_ARGS__); } while (FALSE) ^~~~~~~~~~~ In file included from common.h:58:0, from pkcs11h-serialization.c:52: ../config.h:177:29: note: format string is defined here #define PRINTF_Z_FORMAT "%08x" ~~~^ %08lx 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 -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 mv -f .deps/pkcs11h-certificate.Tpo .deps/pkcs11h-certificate.Plo 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-openssl.lo -MD -MP -MF .deps/pkcs11h-openssl.Tpo -c pkcs11h-openssl.c -fPIC -DPIC -o .libs/pkcs11h-openssl.o 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; ^~ mv -f .deps/pkcs11h-serialization.Tpo .deps/pkcs11h-serialization.Plo 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]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/lib' gmake[2]: *** [Makefile:364: all] Error 2 gmake[2]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10/lib' gmake[1]: *** [Makefile:440: all-recursive] Error 1 gmake[1]: Leaving directory '/tmp/pkgbuild/security/pkcs11-helper/work.earmv6hf/pkcs11-helper-1.10' gmake: *** [Makefile:347: 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