=> Bootstrap dependency curl-[0-9]*: found curl-7.30.0 => Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for pkcs11-helper-1.10nb2 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/pkgsrc/work/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 `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10' Making all in man gmake[2]: Entering directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/man' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/man' Making all in include gmake[2]: Entering directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/include' Making all in pkcs11-helper-1.0 gmake[3]: Entering directory `/usr/pkgsrc/work/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 `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/include/pkcs11-helper-1.0' gmake[3]: Entering directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/include' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/include' gmake[2]: Leaving directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/include' Making all in lib gmake[2]: Entering directory `/usr/pkgsrc/work/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 `/usr/pkgsrc/work/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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 pkcs11h-sys.c: In function '__mysleep': pkcs11h-sys.c:74: warning: implicit declaration of function 'usleep' pkcs11h-sys.c: In function '__mygettimeofday': pkcs11h-sys.c:82: warning: implicit declaration of function 'gettimeofday' 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 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/pkg/include -Wno-error -march=i586 -I/usr/pkg/include -I/usr/pkg/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 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/pkgsrc/work/security/pkcs11-helper/work/.buildlink/include -Wno-error -march=i586 -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 In file included from pkcs11h-threading.c:64: _pkcs11h-threading.h:62:21: error: pthread.h: no such file or directory In file included from pkcs11h-threading.c:64: _pkcs11h-threading.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_pkcs11h_mutex_t' _pkcs11h-threading.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_pkcs11h_thread_t' _pkcs11h-threading.h:78: error: expected specifier-qualifier-list before 'pthread_cond_t' _pkcs11h-threading.h:80: warning: struct has no members _pkcs11h-threading.h:92: error: expected ')' before '*' token _pkcs11h-threading.h:97: error: expected ')' before '*' token _pkcs11h-threading.h:102: error: expected ')' before '*' token _pkcs11h-threading.h:107: error: expected ')' before '*' token _pkcs11h-threading.h:133: error: expected ')' before '*' token _pkcs11h-threading.h:140: error: expected ')' before '*' token pkcs11h-threading.c:78: error: expected specifier-qualifier-list before '_pkcs11h_mutex_t' pkcs11h-threading.c:83: error: expected specifier-qualifier-list before '_pkcs11h_mutex_t' pkcs11h-threading.c:85: warning: struct has no members pkcs11h-threading.c:86: error: 'PTHREAD_MUTEX_INITIALIZER' undeclared here (not in a function) pkcs11h-threading.c:86: warning: excess elements in struct initializer pkcs11h-threading.c:86: warning: (near initialization for '__s_pkcs11h_threading_mutex_list') pkcs11h-threading.c:88: warning: excess elements in struct initializer pkcs11h-threading.c:88: warning: (near initialization for '__s_pkcs11h_threading_mutex_list') pkcs11h-threading.c:100: error: expected ')' before '*' token pkcs11h-threading.c:160: error: expected ')' before '*' token pkcs11h-threading.c:180: error: expected ')' before '*' token pkcs11h-threading.c:201: error: expected ')' before '*' token pkcs11h-threading.c: In function '_pkcs1h_threading_mutexLockAll': pkcs11h-threading.c:264: warning: implicit declaration of function '_pkcs11h_threading_mutexLock' pkcs11h-threading.c:264: error: 'struct ' has no member named 'mutex' pkcs11h-threading.c:270: error: 'struct ' has no member named 'head' pkcs11h-threading.c:274: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'locked' pkcs11h-threading.c:281: error: 'struct ' has no member named 'head' pkcs11h-threading.c:285: warning: implicit declaration of function 'pthread_mutex_trylock' pkcs11h-threading.c:285: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'p_mutex' pkcs11h-threading.c:286: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'locked' pkcs11h-threading.c:295: error: 'struct ' has no member named 'head' pkcs11h-threading.c:299: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'locked' pkcs11h-threading.c:300: warning: implicit declaration of function 'pthread_mutex_unlock' pkcs11h-threading.c:300: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'p_mutex' pkcs11h-threading.c:301: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'locked' pkcs11h-threading.c:305: warning: implicit declaration of function '_pkcs11h_threading_mutexRelease' pkcs11h-threading.c:305: error: 'struct ' has no member named 'mutex' pkcs11h-threading.c:307: error: 'struct ' has no member named 'mutex' pkcs11h-threading.c:317: error: 'struct ' has no member named 'mutex' pkcs11h-threading.c: In function '_pkcs1h_threading_mutexReleaseAll': pkcs11h-threading.c:327: error: 'struct ' has no member named 'mutex' pkcs11h-threading.c:333: error: 'struct ' has no member named 'head' pkcs11h-threading.c:337: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'p_mutex' pkcs11h-threading.c:338: error: 'struct __pkcs11h_threading_mutex_entry_s' has no member named 'locked' pkcs11h-threading.c:344: error: 'struct ' has no member named 'mutex' pkcs11h-threading.c: In function '_pkcs11h_threading_condSignal': pkcs11h-threading.c:364: warning: implicit declaration of function 'pthread_mutex_lock' pkcs11h-threading.c:364: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c:365: warning: implicit declaration of function 'pthread_cond_signal' pkcs11h-threading.c:365: error: '_pkcs11h_cond_t' has no member named 'cond' pkcs11h-threading.c:366: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c: In function '_pkcs11h_threading_condInit': pkcs11h-threading.c:391: warning: implicit declaration of function 'pthread_mutex_init' pkcs11h-threading.c:391: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c:392: warning: implicit declaration of function 'pthread_cond_init' pkcs11h-threading.c:392: error: '_pkcs11h_cond_t' has no member named 'cond' pkcs11h-threading.c:393: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c: In function '_pkcs11h_threading_condWait': pkcs11h-threading.c:428: warning: implicit declaration of function 'pthread_cond_wait' pkcs11h-threading.c:428: error: '_pkcs11h_cond_t' has no member named 'cond' pkcs11h-threading.c:428: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c:445: warning: implicit declaration of function 'pthread_cond_timedwait' pkcs11h-threading.c:445: error: '_pkcs11h_cond_t' has no member named 'cond' pkcs11h-threading.c:445: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c: In function '_pkcs11h_threading_condFree': pkcs11h-threading.c:464: error: '_pkcs11h_cond_t' has no member named 'mut' pkcs11h-threading.c: In function '___pkcs11h_thread_start': pkcs11h-threading.c:500: warning: implicit declaration of function 'pthread_sigmask' pkcs11h-threading.c: At top level: pkcs11h-threading.c:512: error: expected ')' before '*' token pkcs11h-threading.c:562: error: expected ')' before '*' token gmake[3]: *** [pkcs11h-threading.lo] Error 1 gmake[3]: Leaving directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/lib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/pkgsrc/work/security/pkcs11-helper/work/pkcs11-helper-1.10' gmake: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/security/pkcs11-helper *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/security/pkcs11-helper