=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> 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 uftp-4.1.2nb2 gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c uftp_common.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c encrypt_openssl.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_announce.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_transfer.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_send.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_phase.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_common.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_config.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_init.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c server_main.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_loop.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_announce.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_fileinfo.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_transfer.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_common.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_config.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_init.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c client_main.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c heartbeat_send.c gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c proxy_loop.c encrypt_openssl.c:352:20: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') EVP_CIPHER_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'struct evp_cipher_ctx_st' typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^ encrypt_openssl.c:456:20: error: variable has incomplete type 'EVP_CIPHER_CTX' (aka 'struct evp_cipher_ctx_st') EVP_CIPHER_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'struct evp_cipher_ctx_st' typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^ encrypt_openssl.c:572:16: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') EVP_MD_CTX hashctx; ^ /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; ^ encrypt_openssl.c:582:9: warning: implicit declaration of function 'EVP_MD_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&hashctx); ^ encrypt_openssl.c:587:9: warning: implicit declaration of function 'EVP_MD_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&hashctx); ^ encrypt_openssl.c:592:9: warning: implicit declaration of function 'EVP_MD_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&hashctx); ^ encrypt_openssl.c:595:5: warning: implicit declaration of function 'EVP_MD_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&hashctx); ^ encrypt_openssl.c:793:36: error: incomplete definition of type 'struct ECDSA_SIG_st' sval = rval + BN_num_bytes(_sig->r); ~~~~^ /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/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:797:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *rlen = htons(BN_num_bytes(_sig->r)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:797:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *rlen = htons(BN_num_bytes(_sig->r)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:797:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *rlen = htons(BN_num_bytes(_sig->r)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:797:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *rlen = htons(BN_num_bytes(_sig->r)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:798:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *slen = htons(BN_num_bytes(_sig->s)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:72:41: note: expanded from macro 'bswap16' __CAST(uint16_t, __builtin_constant_p((x)) ? \ ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:798:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *slen = htons(BN_num_bytes(_sig->s)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:60:6: note: expanded from macro '__byte_swap_u16_constant' ((((x) & 0xff00) >> 8) | \ ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:798:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *slen = htons(BN_num_bytes(_sig->s)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /usr/include/sys/bswap.h:61:6: note: expanded from macro '__byte_swap_u16_constant' (((x) & 0x00ff) << 8)))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:798:36: error: incomplete definition of type 'struct ECDSA_SIG_st' *slen = htons(BN_num_bytes(_sig->s)); ~~~~^ /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/sys/endian.h:128:44: note: expanded from macro 'htons' #define htons(x) bswap16(__CAST(uint16_t, (x))) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/sys/bswap.h:73:58: note: expanded from macro 'bswap16' __byte_swap_u16_constant(x) : __BYTE_SWAP_U16_VARIABLE(x)) ^ /usr/include/sys/cdefs.h:619:36: note: expanded from macro '__CAST' #define __CAST(__dt, __st) ((__dt)(__st)) ^~~~ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:799:19: error: incomplete definition of type 'struct ECDSA_SIG_st' BN_bn2bin(_sig->r, rval); ~~~~^ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:800:19: error: incomplete definition of type 'struct ECDSA_SIG_st' BN_bn2bin(_sig->s, sval); ~~~~^ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:844:43: error: incomplete definition of type 'struct ECDSA_SIG_st' if (BN_bin2bn(rval, ntohs(*rlen), _sig->r) == NULL) { ~~~~^ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:849:43: error: incomplete definition of type 'struct ECDSA_SIG_st' if (BN_bin2bn(sval, ntohs(*slen), _sig->s) == NULL) { ~~~~^ /usr/include/openssl/ec.h:1120:16: note: forward declaration of 'struct ECDSA_SIG_st' typedef struct ECDSA_SIG_st ECDSA_SIG; ^ encrypt_openssl.c:876:42: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'unsigned int *' [-Wincompatible-pointer-types] if (!hash(HASH_SHA1, in, inlen, out, outlen)) { ^~~~~~ encrypt_openssl.c:570:45: note: passing argument to parameter 'destlen' here unsigned char *dest, unsigned int *destlen) ^ encrypt_openssl.c:923:16: error: incomplete definition of type 'struct rsa_st' if (((*rsa)->e = BN_bin2bn((const unsigned char *)&rsablob->exponent, ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ encrypt_openssl.c:928:16: error: incomplete definition of type 'struct rsa_st' if (((*rsa)->n = BN_bin2bn(modulus, ntohs(rsablob->modlen),NULL)) == NULL) { ~~~~~~^ /usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ encrypt_openssl.c:951:25: error: incomplete definition of type 'struct rsa_st' if (BN_num_bytes(rsa->e) > sizeof(bin_exponent)) { ~~~^ /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:110:16: note: forward declaration of 'struct rsa_st' typedef struct rsa_st RSA; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 5 warnings and 20 errors generated. gcc -g -Wall -DHAS_GETIFADDRS -DNO_DUAL -DNO_MCAST_JOIN -DNOSIOCGIFINDEX -c proxy_upstream.c gmake: *** [makefile:202: encrypt_openssl.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/uftp *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/uftp