=> 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 libssh-0.73nb2 Scanning dependencies of target ssh_shared [ 1%] Building C object src/CMakeFiles/ssh_shared.dir/connect.c.o [ 2%] Building C object src/CMakeFiles/ssh_shared.dir/buffer.c.o [ 3%] Building C object src/CMakeFiles/ssh_shared.dir/base64.c.o [ 4%] Building C object src/CMakeFiles/ssh_shared.dir/curve25519.c.o [ 5%] Building C object src/CMakeFiles/ssh_shared.dir/init.c.o [ 6%] Building C object src/CMakeFiles/ssh_shared.dir/agent.c.o [ 8%] Building C object src/CMakeFiles/ssh_shared.dir/callbacks.c.o [ 8%] Building C object src/CMakeFiles/ssh_shared.dir/client.c.o [ 9%] Building C object src/CMakeFiles/ssh_shared.dir/error.c.o [ 10%] Building C object src/CMakeFiles/ssh_shared.dir/ecdh.c.o [ 11%] Building C object src/CMakeFiles/ssh_shared.dir/bignum.c.o [ 12%] Building C object src/CMakeFiles/ssh_shared.dir/getpass.c.o [ 13%] Building C object src/CMakeFiles/ssh_shared.dir/channels.c.o [ 14%] Building C object src/CMakeFiles/ssh_shared.dir/dh.c.o [ 15%] Building C object src/CMakeFiles/ssh_shared.dir/config.c.o [ 16%] Building C object src/CMakeFiles/ssh_shared.dir/auth.c.o /data/scratch/security/libssh/work/libssh-0.7.3/src/dh.c:137:12: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] return RAND_pseudo_bytes(where,len); ^ /usr/include/openssl/rand.h:47:1: note: 'RAND_pseudo_bytes' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/config.c:97:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (! isblank(*c)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:71:44: note: expanded from macro 'isblank' #define isblank(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_BL)) ^~~~ /data/scratch/security/libssh/work/libssh-0.7.3/src/config.c:131:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isblank(*c) || *c == '=') { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:71:44: note: expanded from macro 'isblank' #define isblank(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_BL)) ^~~~ /data/scratch/security/libssh/work/libssh-0.7.3/src/config.c:205:11: warning: array subscript is of type 'char' [-Wchar-subscripts] if (! isspace(s[len])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ [ 17%] Building C object src/CMakeFiles/ssh_shared.dir/known_hosts.c.o [ 18%] Building C object src/CMakeFiles/ssh_shared.dir/legacy.c.o [ 19%] Building C object src/CMakeFiles/ssh_shared.dir/libcrypto.c.o [ 20%] Building C object src/CMakeFiles/ssh_shared.dir/kex.c.o 1 warning generated. [ 22%] Building C object src/CMakeFiles/ssh_shared.dir/log.c.o [ 21%] Building C object src/CMakeFiles/ssh_shared.dir/match.c.o [ 23%] Building C object src/CMakeFiles/ssh_shared.dir/messages.c.o [ 24%] Building C object src/CMakeFiles/ssh_shared.dir/options.c.o [ 25%] Building C object src/CMakeFiles/ssh_shared.dir/packet.c.o [ 26%] Building C object src/CMakeFiles/ssh_shared.dir/packet_cb.c.o [ 27%] Building C object src/CMakeFiles/ssh_shared.dir/misc.c.o [ 28%] Building C object src/CMakeFiles/ssh_shared.dir/packet_crypt.c.o [ 29%] Building C object src/CMakeFiles/ssh_shared.dir/pcap.c.o /data/scratch/security/libssh/work/libssh-0.7.3/src/known_hosts.c:63:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*s)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 3 warnings generated. /data/scratch/security/libssh/work/libssh-0.7.3/src/match.c:144:30: warning: array subscript is of type 'char' [-Wchar-subscripts] sub[subi] = dolower && isupper(pattern[i]) ? ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:57:44: note: expanded from macro 'isupper' #define isupper(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_U)) ^~~~ /data/scratch/security/libssh/work/libssh-0.7.3/src/match.c:145:15: warning: array subscript is of type 'char' [-Wchar-subscripts] (char)tolower(pattern[i]) : pattern[i]; ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ [ 30%] Building C object src/CMakeFiles/ssh_shared.dir/pki.c.o 2 warnings generated. [ 31%] Building C object src/CMakeFiles/ssh_shared.dir/pki_container_openssh.c.o /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:136:16: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') EVP_MD_CTX md; ^ /usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st' typedef struct evp_md_ctx_st EVP_MD_CTX; ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:147:25: error: invalid application of 'sizeof' to an incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') EVPCTX ctx = malloc(sizeof(EVP_MD_CTX)); ^ ~~~~~~~~~~~~ /usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st' typedef struct evp_md_ctx_st EVP_MD_CTX; ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:325:22: error: invalid application of 'sizeof' to an incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') ctx = malloc(sizeof(*ctx)); ^~~~~~ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:331:3: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_init(ctx); // openssl 0.9.7 requires it. ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:336:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(ctx, key, len, EVP_sha1()); ^ /usr/include/openssl/hmac.h:28:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:339:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(ctx, key, len, EVP_sha256()); ^ /usr/include/openssl/hmac.h:28:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:342:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(ctx, key, len, EVP_sha384()); ^ /usr/include/openssl/hmac.h:28:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:345:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(ctx, key, len, EVP_sha512()); ^ /usr/include/openssl/hmac.h:28:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:348:7: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(ctx, key, len, EVP_md5()); ^ /usr/include/openssl/hmac.h:28:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:366:3: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_CTX_cleanup(ctx); ^ /data/scratch/security/libssh/work/libssh-0.7.3/src/libcrypto.c:458:3: warning: implicit declaration of function 'AES_ctr128_encrypt' is invalid in C99 [-Wimplicit-function-declaration] AES_ctr128_encrypt(in, out, len, cipher->key, cipher->IV, tmp_buffer, &num); ^ 8 warnings and 3 errors generated. [ 32%] Building C object src/CMakeFiles/ssh_shared.dir/pki_ed25519.c.o --- src/CMakeFiles/ssh_shared.dir/libcrypto.c.o --- *** [src/CMakeFiles/ssh_shared.dir/libcrypto.c.o] Error code 1 make[2]: stopped in /data/scratch/security/libssh/work/libssh-0.7.3 1 warning generated. /data/scratch/security/libssh/work/libssh-0.7.3/src/misc.c:323:10: warning: array subscript is of type 'char' [-Wchar-subscripts] *p = tolower(*p); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ 1 warning generated. 1 error make[2]: stopped in /data/scratch/security/libssh/work/libssh-0.7.3 --- src/CMakeFiles/ssh_shared.dir/all --- *** [src/CMakeFiles/ssh_shared.dir/all] Error code 2 make[1]: stopped in /data/scratch/security/libssh/work/libssh-0.7.3 1 error make[1]: stopped in /data/scratch/security/libssh/work/libssh-0.7.3 *** [all] Error code 2 make: stopped in /data/scratch/security/libssh/work/libssh-0.7.3 1 error make: stopped in /data/scratch/security/libssh/work/libssh-0.7.3 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/libssh *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/libssh