=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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 libp11-0.2.8nb1 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/security/libp11/work/libp11-libp11-0.2.8' Making all in src gmake[2]: Entering directory '/data/scratch/security/libp11/work/libp11-libp11-0.2.8/src' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-libpkcs11.lo -MD -MP -MF .deps/libp11_la-libpkcs11.Tpo -c -o libp11_la-libpkcs11.lo `test -f 'libpkcs11.c' || echo './'`libpkcs11.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_attr.lo -MD -MP -MF .deps/libp11_la-p11_attr.Tpo -c -o libp11_la-p11_attr.lo `test -f 'p11_attr.c' || echo './'`p11_attr.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_cert.lo -MD -MP -MF .deps/libp11_la-p11_cert.Tpo -c -o libp11_la-p11_cert.lo `test -f 'p11_cert.c' || echo './'`p11_cert.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_err.lo -MD -MP -MF .deps/libp11_la-p11_err.Tpo -c -o libp11_la-p11_err.lo `test -f 'p11_err.c' || echo './'`p11_err.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_key.lo -MD -MP -MF .deps/libp11_la-p11_key.Tpo -c -o libp11_la-p11_key.lo `test -f 'p11_key.c' || echo './'`p11_key.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_load.lo -MD -MP -MF .deps/libp11_la-p11_load.Tpo -c -o libp11_la-p11_load.lo `test -f 'p11_load.c' || echo './'`p11_load.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_misc.lo -MD -MP -MF .deps/libp11_la-p11_misc.Tpo -c -o libp11_la-p11_misc.lo `test -f 'p11_misc.c' || echo './'`p11_misc.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_ops.lo -MD -MP -MF .deps/libp11_la-p11_ops.Tpo -c -o libp11_la-p11_ops.lo `test -f 'p11_ops.c' || echo './'`p11_ops.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_rsa.lo -MD -MP -MF .deps/libp11_la-p11_rsa.Tpo -c -o libp11_la-p11_rsa.lo `test -f 'p11_rsa.c' || echo './'`p11_rsa.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include -I/usr/include -O2 -I/usr/pkg/include -I/usr/include -MT libp11_la-p11_slot.lo -MD -MP -MF .deps/libp11_la-p11_slot.Tpo -c -o libp11_la-p11_slot.lo `test -f 'p11_slot.c' || echo './'`p11_slot.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_err.lo -MD -MP -MF .deps/libp11_la-p11_err.Tpo -c p11_err.c -fPIC -DPIC -o .libs/libp11_la-p11_err.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-libpkcs11.lo -MD -MP -MF .deps/libp11_la-libpkcs11.Tpo -c libpkcs11.c -fPIC -DPIC -o .libs/libp11_la-libpkcs11.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_rsa.lo -MD -MP -MF .deps/libp11_la-p11_rsa.Tpo -c p11_rsa.c -fPIC -DPIC -o .libs/libp11_la-p11_rsa.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_load.lo -MD -MP -MF .deps/libp11_la-p11_load.Tpo -c p11_load.c -fPIC -DPIC -o .libs/libp11_la-p11_load.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_misc.lo -MD -MP -MF .deps/libp11_la-p11_misc.Tpo -c p11_misc.c -fPIC -DPIC -o .libs/libp11_la-p11_misc.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_key.lo -MD -MP -MF .deps/libp11_la-p11_key.Tpo -c p11_key.c -fPIC -DPIC -o .libs/libp11_la-p11_key.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_cert.lo -MD -MP -MF .deps/libp11_la-p11_cert.Tpo -c p11_cert.c -fPIC -DPIC -o .libs/libp11_la-p11_cert.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_slot.lo -MD -MP -MF .deps/libp11_la-p11_slot.Tpo -c p11_slot.c -fPIC -DPIC -o .libs/libp11_la-p11_slot.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_attr.lo -MD -MP -MF .deps/libp11_la-p11_attr.Tpo -c p11_attr.c -fPIC -DPIC -o .libs/libp11_la-p11_attr.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_ops.lo -MD -MP -MF .deps/libp11_la-p11_ops.Tpo -c p11_ops.c -fPIC -DPIC -o .libs/libp11_la-p11_ops.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_err.lo -MD -MP -MF .deps/libp11_la-p11_err.Tpo -c p11_err.c -o libp11_la-p11_err.o >/dev/null 2>&1 p11_ops.c:49:12: error: variable has incomplete type 'X509_SIG' (aka 'struct X509_sig_st') X509_SIG digest_info = { &algor, &digest }; ^ /usr/include/openssl/x509.h:69:16: note: forward declaration of 'struct X509_sig_st' typedef struct X509_sig_st X509_SIG; ^ p11_ops.c:53:22: error: incomplete definition of type 'struct asn1_object_st' (algor.algorithm->length) && ~~~~~~~~~~~~~~~^ /usr/include/openssl/ossl_typ.h:60:16: note: forward declaration of 'struct asn1_object_st' typedef struct asn1_object_st ASN1_OBJECT; ^ 2 errors generated. gmake[2]: *** [Makefile:555: libp11_la-p11_ops.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... p11_key.c:131:8: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(bits, 0x10001, NULL, err); ^ /usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ /usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ p11_key.c:349:8: error: incomplete definition of type 'struct evp_pkey_st' if (pk->type == EVP_PKEY_RSA) { ~~^ /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st' typedef struct evp_pkey_st EVP_PKEY; ^ p11_key.c:362:50: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_MODULUS, rsa->n); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_key.c:363:58: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_PUBLIC_EXPONENT, rsa->e); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_key.c:364:59: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_PRIVATE_EXPONENT, rsa->d); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_key.c:365:50: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_PRIME_1, rsa->p); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_key.c:366:50: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_PRIME_2, rsa->q); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_key.c:412:8: error: incomplete definition of type 'struct evp_pkey_st' if (pk->type == EVP_PKEY_RSA) { ~~^ /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st' typedef struct evp_pkey_st EVP_PKEY; ^ p11_key.c:423:50: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_MODULUS, rsa->n); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_key.c:424:58: error: incomplete definition of type 'struct rsa_st' pkcs11_addattr_bn(attrs + n++, CKA_PUBLIC_EXPONENT, rsa->e); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ 1 warning and 9 errors generated. gmake[2]: *** [Makefile:534: libp11_la-p11_key.lo] Error 1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_attr.lo -MD -MP -MF .deps/libp11_la-p11_attr.Tpo -c p11_attr.c -o libp11_la-p11_attr.o >/dev/null 2>&1 p11_rsa.c:54:43: error: incomplete definition of type 'struct rsa_st' if (key_getattr_bn(key, CKA_MODULUS, &rsa->n) || ~~~^ ./libp11-int.h:144:68: note: expanded from macro 'key_getattr_bn' pkcs11_getattr_bn(KEY2TOKEN((key)), PRIVKEY((key))->object, (t), (bn)) ^~ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:55:51: error: incomplete definition of type 'struct rsa_st' key_getattr_bn(key, CKA_PUBLIC_EXPONENT, &rsa->e)) { ~~~^ ./libp11-int.h:144:68: note: expanded from macro 'key_getattr_bn' pkcs11_getattr_bn(KEY2TOKEN((key)), PRIVKEY((key))->object, (t), (bn)) ^~ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:64:6: error: incomplete definition of type 'struct rsa_st' rsa->flags |= RSA_FLAG_SIGN_VER; ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:64:17: error: use of undeclared identifier 'RSA_FLAG_SIGN_VER' rsa->flags |= RSA_FLAG_SIGN_VER; ^ p11_rsa.c:74:5: error: incomplete definition of type 'struct rsa_st' rsa->flags |= RSA_FLAG_SIGN_VER; ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:74:16: error: use of undeclared identifier 'RSA_FLAG_SIGN_VER' libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_misc.lo -MD -MP -MF .deps/libp11_la-p11_misc.Tpo -c p11_misc.c -o libp11_la-p11_misc.o >/dev/null 2>&1 rsa->flags |= RSA_FLAG_SIGN_VER; ^ p11_rsa.c:126:7: error: incomplete definition of type 'struct rsa_st' if (r->flags & RSA_FLAG_SIGN_VER) { ~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:126:17: error: use of undeclared identifier 'RSA_FLAG_SIGN_VER' if (r->flags & RSA_FLAG_SIGN_VER) { ^ p11_rsa.c:127:4: error: incomplete definition of type 'struct rsa_st' r->flags &= ~RSA_FLAG_SIGN_VER; ~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:127:16: error: use of undeclared identifier 'RSA_FLAG_SIGN_VER' r->flags &= ~RSA_FLAG_SIGN_VER; ^ p11_rsa.c:129:4: error: incomplete definition of type 'struct rsa_st' r->flags |= RSA_FLAG_SIGN_VER; ~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ p11_rsa.c:129:15: error: use of undeclared identifier 'RSA_FLAG_SIGN_VER' r->flags |= RSA_FLAG_SIGN_VER; ^ p11_rsa.c:142:20: error: variable has incomplete type 'RSA_METHOD' (aka 'struct rsa_meth_st') static RSA_METHOD ops; ^ /usr/include/openssl/ossl_typ.h:111:16: note: forward declaration of 'struct rsa_meth_st' typedef struct rsa_meth_st RSA_METHOD; ^ 13 errors generated. gmake[2]: *** [Makefile:562: libp11_la-p11_rsa.lo] Error 1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_load.lo -MD -MP -MF .deps/libp11_la-p11_load.Tpo -c p11_load.c -o libp11_la-p11_load.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-libpkcs11.lo -MD -MP -MF .deps/libp11_la-libpkcs11.Tpo -c libpkcs11.c -o libp11_la-libpkcs11.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_cert.lo -MD -MP -MF .deps/libp11_la-p11_cert.Tpo -c p11_cert.c -o libp11_la-p11_cert.o >/dev/null 2>&1 mv -f .deps/libp11_la-p11_err.Tpo .deps/libp11_la-p11_err.Plo libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/libp11/work/.buildlink/include -O2 -MT libp11_la-p11_slot.lo -MD -MP -MF .deps/libp11_la-p11_slot.Tpo -c p11_slot.c -o libp11_la-p11_slot.o >/dev/null 2>&1 mv -f .deps/libp11_la-p11_attr.Tpo .deps/libp11_la-p11_attr.Plo mv -f .deps/libp11_la-p11_misc.Tpo .deps/libp11_la-p11_misc.Plo mv -f .deps/libp11_la-libpkcs11.Tpo .deps/libp11_la-libpkcs11.Plo mv -f .deps/libp11_la-p11_load.Tpo .deps/libp11_la-p11_load.Plo mv -f .deps/libp11_la-p11_cert.Tpo .deps/libp11_la-p11_cert.Plo mv -f .deps/libp11_la-p11_slot.Tpo .deps/libp11_la-p11_slot.Plo gmake[2]: Leaving directory '/data/scratch/security/libp11/work/libp11-libp11-0.2.8/src' gmake[1]: *** [Makefile:439: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/security/libp11/work/libp11-libp11-0.2.8' gmake: *** [Makefile:371: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/libp11 *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/libp11