=> 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 megatools-1.9.95nb7 GEN mega/mega-enum-types.c GEN mega/mega-enum-types.h GEN mega/mega-marshal.list GEN mega/mega-marshal.c GEN mega/mega-marshal.h INFO: Reading mega/mega-marshal.list... INFO: Reading mega/mega-marshal.list... CC libtools/http.o CC libtools/oldmega.o CC libtools/tools.o CC tools/dl.o CC tools/get.o CC tools/ls.o CC tools/put.o CC tools/mkdir.o CC tools/rm.o CC tools/copy.o CC tools/reg.o CC libtools/sjson.gen.o CC tests/test-rsa.o CC tests/test-aes.o libtools/oldmega.c:775:9: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] key = RSA_generate_key(2048, RSA_3, NULL, NULL); ^ /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)); ^ libtools/oldmega.c:786:20: error: incomplete definition of type 'struct rsa_st' k->p = BN_dup(key->q); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ libtools/oldmega.c:787:20: error: incomplete definition of type 'struct rsa_st' k->q = BN_dup(key->p); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ libtools/oldmega.c:788:20: error: incomplete definition of type 'struct rsa_st' k->d = BN_dup(key->d); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ libtools/oldmega.c:789:20: error: incomplete definition of type 'struct rsa_st' k->u = BN_dup(key->iqmp); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ libtools/oldmega.c:792:20: error: incomplete definition of type 'struct rsa_st' k->m = BN_dup(key->n); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ libtools/oldmega.c:793:20: error: incomplete definition of type 'struct rsa_st' k->e = BN_dup(key->e); ~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ libtools/oldmega.c:2940:5: warning: implicit declaration of function 'AES_ctr128_encrypt' is invalid in C99 [-Wimplicit-function-declaration] AES_ctr128_encrypt(data->buffer->data, buffer, bytes_read, &data->k, data->iv, data->ecount, &data->num); ^ 2 warnings and 6 errors generated. Makefile:954: recipe for target 'libtools/oldmega.o' failed gmake[1]: *** [libtools/oldmega.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... Makefile:625: recipe for target 'all' failed gmake: *** [all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/megatools *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/megatools