=> 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 libguardtime-0.3.13nb15
Making all in src/base
gmake[1]: Entering directory '/data/scratch/security/libguardtime/work/libgt-0.3.13/src/base'
/usr/pkg/bin/gmake  all-am
gmake[2]: Entering directory '/data/scratch/security/libguardtime/work/libgt-0.3.13/src/base'
  CC     gt_asn1.lo
  CC     base32.lo
  CC     gt_base.lo
  CC     gt_crc32.lo
  CC     gt_datahash.lo
  CC     gt_fileio.lo
  CC     gt_info.lo
  CC     asn1_time_get.lo
  CC     gt_internal.lo
gt_datahash.c:33:13: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
        EVP_MD_CTX 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;
               ^
gt_datahash.c:128:37: error: invalid application of 'sizeof' to an incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
        tmp_data_hash->context = GT_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;
               ^
2 errors generated.
gmake[2]: *** [GNUmakefile:380: gt_datahash.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gt_base.c:251:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations]
        ERR_remove_state(0);
        ^
/usr/include/openssl/err.h:261:1: note: 'ERR_remove_state' has been explicitly marked deprecated here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
/usr/include/openssl/opensslconf.h:165:34: note: expanded from macro 'DEPRECATEDIN_1_0_0'
# define DEPRECATEDIN_1_0_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:122:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
1 warning generated.
gt_internal.c:423:19: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
        memcpy(buff + 1, ASN1_STRING_data(message_imprint->hashedMessage), len);
                         ^
/usr/include/openssl/asn1.h:554:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/usr/include/openssl/opensslconf.h:159:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:122:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
gt_internal.c:733:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
                                ASN1_STRING_data(time_signature->location),
                                ^
/usr/include/openssl/asn1.h:554:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/usr/include/openssl/opensslconf.h:159:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:122:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
gt_internal.c:741:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
                                ASN1_STRING_data(cert_token->history),
                                ^
/usr/include/openssl/asn1.h:554:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/usr/include/openssl/opensslconf.h:159:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:122:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
gt_internal.c:759:31: warning: implicit declaration of function 'SKM_sk_num' is invalid in C99 [-Wimplicit-function-declaration]
        if (pub_reference != NULL && sk_ASN1_OCTET_STRING_num(pub_reference) > 0) {
                                     ^
./gt_asn1.h:33:38: note: expanded from macro 'sk_ASN1_OCTET_STRING_num'
#define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st))
                                     ^
gt_internal.c:759:31: error: unexpected type name 'ASN1_OCTET_STRING': expected expression
./gt_asn1.h:33:49: note: expanded from macro 'sk_ASN1_OCTET_STRING_num'
#define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st))
                                                ^
gt_internal.c:760:47: warning: implicit declaration of function 'SKM_sk_new_null' is invalid in C99 [-Wimplicit-function-declaration]
                tmp_extended_time_signature->pubReference = sk_ASN1_OCTET_STRING_new_null();
                                                            ^
./gt_asn1.h:36:41: note: expanded from macro 'sk_ASN1_OCTET_STRING_new_null'
#define sk_ASN1_OCTET_STRING_new_null() SKM_sk_new_null(ASN1_OCTET_STRING)
                                        ^
gt_internal.c:760:47: error: unexpected type name 'ASN1_OCTET_STRING': expected expression
./gt_asn1.h:36:57: note: expanded from macro 'sk_ASN1_OCTET_STRING_new_null'
#define sk_ASN1_OCTET_STRING_new_null() SKM_sk_new_null(ASN1_OCTET_STRING)
                                                        ^
gt_internal.c:766:19: error: unexpected type name 'ASN1_OCTET_STRING': expected expression
                for (i = 0; i < sk_ASN1_OCTET_STRING_num(pub_reference); ++i) {
                                ^
./gt_asn1.h:33:49: note: expanded from macro 'sk_ASN1_OCTET_STRING_num'
#define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st))
                                                ^
gt_internal.c:768:27: warning: implicit declaration of function 'SKM_sk_value' is invalid in C99 [-Wimplicit-function-declaration]
                                        (ASN1_OCTET_STRING*) sk_ASN1_OCTET_STRING_value(pub_reference, i));
                                                             ^
./gt_asn1.h:34:43: note: expanded from macro 'sk_ASN1_OCTET_STRING_value'
#define sk_ASN1_OCTET_STRING_value(st, i) SKM_sk_value(ASN1_OCTET_STRING, (st), (i))
                                          ^
gt_internal.c:768:27: error: unexpected type name 'ASN1_OCTET_STRING': expected expression
./gt_asn1.h:34:56: note: expanded from macro 'sk_ASN1_OCTET_STRING_value'
#define sk_ASN1_OCTET_STRING_value(st, i) SKM_sk_value(ASN1_OCTET_STRING, (st), (i))
                                                       ^
gt_internal.c:774:8: warning: implicit declaration of function 'SKM_sk_push' is invalid in C99 [-Wimplicit-function-declaration]
                        if (sk_ASN1_OCTET_STRING_push(tmp_extended_time_signature->pubReference,
                            ^
./gt_asn1.h:35:44: note: expanded from macro 'sk_ASN1_OCTET_STRING_push'
#define sk_ASN1_OCTET_STRING_push(st, val) SKM_sk_push(ASN1_OCTET_STRING, (st), (val))
                                           ^
gt_internal.c:774:8: error: unexpected type name 'ASN1_OCTET_STRING': expected expression
./gt_asn1.h:35:56: note: expanded from macro 'sk_ASN1_OCTET_STRING_push'
#define sk_ASN1_OCTET_STRING_push(st, val) SKM_sk_push(ASN1_OCTET_STRING, (st), (val))
                                                       ^
gt_internal.c:941:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]
                        ASN1_STRING_data(published_data->publicationImprint),
                        ^
/usr/include/openssl/asn1.h:554:1: note: 'ASN1_STRING_data' has been explicitly marked deprecated here
DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
^
/usr/include/openssl/opensslconf.h:159:34: note: expanded from macro 'DEPRECATEDIN_1_1_0'
# define DEPRECATEDIN_1_1_0(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:122:55: note: expanded from macro 'DECLARE_DEPRECATED'
#   define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                      ^
8 warnings and 5 errors generated.
gmake[2]: *** [GNUmakefile:380: gt_internal.lo] Error 1
gmake[2]: Leaving directory '/data/scratch/security/libguardtime/work/libgt-0.3.13/src/base'
gmake[1]: *** [GNUmakefile:258: all] Error 2
gmake[1]: Leaving directory '/data/scratch/security/libguardtime/work/libgt-0.3.13/src/base'
gmake: *** [GNUmakefile:390: all-recursive] Error 1
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/security/libguardtime
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/security/libguardtime