=> 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 netpgp-20140220nb8 --- all-recursive --- Making all in include Making all in src --- all-recursive --- Making all in libmj --- libmj_la-mj.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../src/lib -I../../include -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libmj_la-mj.lo -MD -MP -MF .deps/libmj_la-mj.Tpo -c -o libmj_la-mj.lo `test -f 'mj.c' || echo './'`mj.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../src/lib -I../../include -Werror -Wall -Wpointer-arith -O2 -MT libmj_la-mj.lo -MD -MP -MF .deps/libmj_la-mj.Tpo -c mj.c -fPIC -DPIC -o .libs/libmj_la-mj.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../src/lib -I../../include -Werror -Wall -Wpointer-arith -O2 -MT libmj_la-mj.lo -MD -MP -MF .deps/libmj_la-mj.Tpo -c mj.c -o libmj_la-mj.o >/dev/null 2>&1 mv -f .deps/libmj_la-mj.Tpo .deps/libmj_la-mj.Plo --- libmj.la --- /bin/sh ../../libtool --tag=CC --mode=link clang -Werror -Wall -Wpointer-arith -O2 -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o libmj.la -rpath /usr/pkg/lib libmj_la-mj.lo -lcrypto -lbz2 -lz libtool: link: clang -shared -fPIC -DPIC .libs/libmj_la-mj.o -lcrypto -lbz2 -lz -O2 -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libmj.so.0 -o .libs/libmj.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmj.so.0" && ln -s "libmj.so.0.0.0" "libmj.so.0") libtool: link: (cd ".libs" && rm -f "libmj.so" && ln -s "libmj.so.0.0.0" "libmj.so") libtool: link: ar cru .libs/libmj.a libmj_la-mj.o libtool: link: ranlib .libs/libmj.a libtool: link: ( cd ".libs" && rm -f "libmj.la" && ln -s "../libmj.la" "libmj.la" ) Making all in lib --- all --- /usr/bin/make all-am --- libnetpgp_la-bufgap.lo --- --- libnetpgp_la-compress.lo --- --- libnetpgp_la-create.lo --- --- libnetpgp_la-crypto.lo --- --- libnetpgp_la-keyring.lo --- --- libnetpgp_la-misc.lo --- --- libnetpgp_la-netpgp.lo --- --- libnetpgp_la-openssl_crypto.lo --- --- libnetpgp_la-bufgap.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-bufgap.lo -MD -MP -MF .deps/libnetpgp_la-bufgap.Tpo -c -o libnetpgp_la-bufgap.lo `test -f 'bufgap.c' || echo './'`bufgap.c --- libnetpgp_la-compress.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-compress.lo -MD -MP -MF .deps/libnetpgp_la-compress.Tpo -c -o libnetpgp_la-compress.lo `test -f 'compress.c' || echo './'`compress.c --- libnetpgp_la-crypto.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-crypto.lo -MD -MP -MF .deps/libnetpgp_la-crypto.Tpo -c -o libnetpgp_la-crypto.lo `test -f 'crypto.c' || echo './'`crypto.c --- libnetpgp_la-netpgp.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-netpgp.lo -MD -MP -MF .deps/libnetpgp_la-netpgp.Tpo -c -o libnetpgp_la-netpgp.lo `test -f 'netpgp.c' || echo './'`netpgp.c --- libnetpgp_la-openssl_crypto.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-openssl_crypto.lo -MD -MP -MF .deps/libnetpgp_la-openssl_crypto.Tpo -c -o libnetpgp_la-openssl_crypto.lo `test -f 'openssl_crypto.c' || echo './'`openssl_crypto.c --- libnetpgp_la-misc.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-misc.lo -MD -MP -MF .deps/libnetpgp_la-misc.Tpo -c -o libnetpgp_la-misc.lo `test -f 'misc.c' || echo './'`misc.c --- libnetpgp_la-create.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-create.lo -MD -MP -MF .deps/libnetpgp_la-create.Tpo -c -o libnetpgp_la-create.lo `test -f 'create.c' || echo './'`create.c --- libnetpgp_la-keyring.lo --- /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -I/usr/include -Werror -Wall -Wpointer-arith -O2 -I/usr/include -MT libnetpgp_la-keyring.lo -MD -MP -MF .deps/libnetpgp_la-keyring.Tpo -c -o libnetpgp_la-keyring.lo `test -f 'keyring.c' || echo './'`keyring.c --- libnetpgp_la-bufgap.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-bufgap.lo -MD -MP -MF .deps/libnetpgp_la-bufgap.Tpo -c bufgap.c -fPIC -DPIC -o .libs/libnetpgp_la-bufgap.o --- libnetpgp_la-openssl_crypto.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-openssl_crypto.lo -MD -MP -MF .deps/libnetpgp_la-openssl_crypto.Tpo -c openssl_crypto.c -fPIC -DPIC -o .libs/libnetpgp_la-openssl_crypto.o --- libnetpgp_la-keyring.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-keyring.lo -MD -MP -MF .deps/libnetpgp_la-keyring.Tpo -c keyring.c -fPIC -DPIC -o .libs/libnetpgp_la-keyring.o --- libnetpgp_la-compress.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-compress.lo -MD -MP -MF .deps/libnetpgp_la-compress.Tpo -c compress.c -fPIC -DPIC -o .libs/libnetpgp_la-compress.o --- libnetpgp_la-misc.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-misc.lo -MD -MP -MF .deps/libnetpgp_la-misc.Tpo -c misc.c -fPIC -DPIC -o .libs/libnetpgp_la-misc.o --- libnetpgp_la-crypto.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-crypto.lo -MD -MP -MF .deps/libnetpgp_la-crypto.Tpo -c crypto.c -fPIC -DPIC -o .libs/libnetpgp_la-crypto.o --- libnetpgp_la-netpgp.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-netpgp.lo -MD -MP -MF .deps/libnetpgp_la-netpgp.Tpo -c netpgp.c -fPIC -DPIC -o .libs/libnetpgp_la-netpgp.o --- libnetpgp_la-create.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-create.lo -MD -MP -MF .deps/libnetpgp_la-create.Tpo -c create.c -fPIC -DPIC -o .libs/libnetpgp_la-create.o --- libnetpgp_la-compress.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-compress.lo -MD -MP -MF .deps/libnetpgp_la-compress.Tpo -c compress.c -o libnetpgp_la-compress.o >/dev/null 2>&1 --- libnetpgp_la-openssl_crypto.lo --- openssl_crypto.c:98:6: error: incomplete definition of type 'struct rsa_st' test->n = BN_dup(seckey->pubkey.key.rsa.n); ~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ openssl_crypto.c:99:6: error: incomplete definition of type 'struct rsa_st' test->e = BN_dup(seckey->pubkey.key.rsa.e); ~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ openssl_crypto.c:101:6: error: incomplete definition of type 'struct rsa_st' test->d = BN_dup(seckey->key.rsa.d); ~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ openssl_crypto.c:102:6: error: incomplete definition of type 'struct rsa_st' test->p = BN_dup(seckey->key.rsa.p); ~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ openssl_crypto.c:103:6: error: incomplete definition of type 'struct rsa_st' test->q = BN_dup(seckey->key.rsa.q); ~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ openssl_crypto.c:443:6: error: incomplete definition of type 'struct DSA_SIG_st' osig->r = sig->r; ~~~~^ /usr/include/openssl/dsa.h:65:16: note: forward declaration of 'struct DSA_SIG_st' typedef struct DSA_SIG_st DSA_SIG; ^ openssl_crypto.c:444:6: error: incomplete definition of type 'struct DSA_SIG_st' osig->s = sig->s; ~~~~^ /usr/include/openssl/dsa.h:65:16: note: forward declaration of 'struct DSA_SIG_st' typedef struct DSA_SIG_st DSA_SIG; ^ openssl_crypto.c:447:6: error: incomplete definition of type 'struct dsa_st' odsa->p = dsa->p; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:448:6: error: incomplete definition of type 'struct dsa_st' odsa->q = dsa->q; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:449:6: error: incomplete definition of type 'struct dsa_st' odsa->g = dsa->g; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:450:6: error: incomplete definition of type 'struct dsa_st' odsa->pub_key = dsa->y; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:454:53: error: incomplete definition of type 'struct dsa_st' (void) fprintf(stderr, "Q=%d\n", BN_num_bytes(odsa->q)); ~~~~^ /usr/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_bytes' # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:456:41: error: incomplete definition of type 'struct dsa_st' if ((qlen = (unsigned)BN_num_bytes(odsa->q)) < hash_length) { ~~~~^ /usr/include/openssl/bn.h:181:40: note: expanded from macro 'BN_num_bytes' # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:468:6: error: incomplete definition of type 'struct dsa_st' odsa->p = odsa->q = odsa->g = odsa->pub_key = NULL; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:468:16: error: incomplete definition of type 'struct dsa_st' odsa->p = odsa->q = odsa->g = odsa->pub_key = NULL; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:468:26: error: incomplete definition of type 'struct dsa_st' odsa->p = odsa->q = odsa->g = odsa->pub_key = NULL; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:468:36: error: incomplete definition of type 'struct dsa_st' odsa->p = odsa->q = odsa->g = odsa->pub_key = NULL; ~~~~^ /usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of 'struct dsa_st' typedef struct dsa_st DSA; ^ openssl_crypto.c:471:6: error: incomplete definition of type 'struct DSA_SIG_st' osig->r = osig->s = NULL; ~~~~^ /usr/include/openssl/dsa.h:65:16: note: forward declaration of 'struct DSA_SIG_st' typedef struct DSA_SIG_st DSA_SIG; ^ openssl_crypto.c:471:16: error: incomplete definition of type 'struct DSA_SIG_st' osig->r = osig->s = NULL; ~~~~^ /usr/include/openssl/dsa.h:65:16: note: forward declaration of 'struct DSA_SIG_st' typedef struct DSA_SIG_st DSA_SIG; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** [libnetpgp_la-openssl_crypto.lo] Error code 1 make[3]: stopped in /data/scratch/security/netpgp/work/netpgp-20140220/src/lib --- libnetpgp_la-crypto.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-crypto.lo -MD -MP -MF .deps/libnetpgp_la-crypto.Tpo -c crypto.c -o libnetpgp_la-crypto.o >/dev/null 2>&1 --- libnetpgp_la-compress.lo --- mv -f .deps/libnetpgp_la-compress.Tpo .deps/libnetpgp_la-compress.Plo --- libnetpgp_la-bufgap.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-bufgap.lo -MD -MP -MF .deps/libnetpgp_la-bufgap.Tpo -c bufgap.c -o libnetpgp_la-bufgap.o >/dev/null 2>&1 --- libnetpgp_la-keyring.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-keyring.lo -MD -MP -MF .deps/libnetpgp_la-keyring.Tpo -c keyring.c -o libnetpgp_la-keyring.o >/dev/null 2>&1 --- libnetpgp_la-create.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-create.lo -MD -MP -MF .deps/libnetpgp_la-create.Tpo -c create.c -o libnetpgp_la-create.o >/dev/null 2>&1 --- libnetpgp_la-misc.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-misc.lo -MD -MP -MF .deps/libnetpgp_la-misc.Tpo -c misc.c -o libnetpgp_la-misc.o >/dev/null 2>&1 --- libnetpgp_la-crypto.lo --- mv -f .deps/libnetpgp_la-crypto.Tpo .deps/libnetpgp_la-crypto.Plo --- libnetpgp_la-bufgap.lo --- mv -f .deps/libnetpgp_la-bufgap.Tpo .deps/libnetpgp_la-bufgap.Plo --- libnetpgp_la-create.lo --- mv -f .deps/libnetpgp_la-create.Tpo .deps/libnetpgp_la-create.Plo --- libnetpgp_la-keyring.lo --- mv -f .deps/libnetpgp_la-keyring.Tpo .deps/libnetpgp_la-keyring.Plo --- libnetpgp_la-misc.lo --- mv -f .deps/libnetpgp_la-misc.Tpo .deps/libnetpgp_la-misc.Plo --- libnetpgp_la-netpgp.lo --- libtool: compile: clang -DHAVE_CONFIG_H -I. -I../../include -I../libmj -Werror -Wall -Wpointer-arith -O2 -MT libnetpgp_la-netpgp.lo -MD -MP -MF .deps/libnetpgp_la-netpgp.Tpo -c netpgp.c -o libnetpgp_la-netpgp.o >/dev/null 2>&1 mv -f .deps/libnetpgp_la-netpgp.Tpo .deps/libnetpgp_la-netpgp.Plo 1 error make[3]: stopped in /data/scratch/security/netpgp/work/netpgp-20140220/src/lib *** [all] Error code 2 make[2]: stopped in /data/scratch/security/netpgp/work/netpgp-20140220/src/lib 1 error make[2]: stopped in /data/scratch/security/netpgp/work/netpgp-20140220/src/lib *** [all-recursive] Error code 1 make[1]: stopped in /data/scratch/security/netpgp/work/netpgp-20140220/src 1 error make[1]: stopped in /data/scratch/security/netpgp/work/netpgp-20140220/src *** [all-recursive] Error code 1 make: stopped in /data/scratch/security/netpgp/work/netpgp-20140220 1 error make: stopped in /data/scratch/security/netpgp/work/netpgp-20140220 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/netpgp *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/netpgp