=> 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 libguardtime-0.3.13nb7 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 base32.lo CC gt_asn1.lo CC gt_base.lo CC gt_crc32.lo CC gt_datahash.lo CC gt_fileio.lo CC gt_internal.lo CC asn1_time_get.lo CC gt_timestamp.lo CC gt_truststore.lo CC gt_publicationsfile.lo CC hashchain.lo CC gt_info.lo hashchain.c:105: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; ^ hashchain.c:1248:6: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] p = ASN1_STRING_data((ASN1_OCTET_STRING*) history_shape) + S.len; ^ /usr/include/openssl/asn1.h:553: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: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)); ^ hashchain.c:1331:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data((ASN1_OCTET_STRING*) hash_chain), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ hashchain.c:1370:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data((ASN1_OCTET_STRING*) hash_chain), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ 3 warnings and 1 error generated. GNUmakefile:380: recipe for target 'hashchain.lo' failed gmake[2]: *** [hashchain.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... 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. GNUmakefile:380: recipe for target 'gt_datahash.lo' failed gmake[2]: *** [gt_datahash.lo] Error 1 gt_truststore.c:236:24: warning: incompatible pointer types passing 'const char **' to parameter of type 'const unsigned char **' [-Wincompatible-pointer-types] cert = d2i_X509(NULL, &der, der_len); ^~~~ /usr/include/openssl/x509.h:540:1: note: passing argument to parameter 'in' here DECLARE_ASN1_FUNCTIONS(X509) ^ /usr/include/openssl/asn1.h:216:39: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' # define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) ^ /usr/include/openssl/asn1.h:223:9: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) ^ /usr/include/openssl/asn1.h:230:58: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' type *d2i_##name(type **a, const unsigned char **in, long len); \ ^ gt_timestamp.c:136:9: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] d2ip = ASN1_STRING_data(encoded_tst_info->value.octet_string); ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:200:9: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] d2ip = ASN1_STRING_data(timestamp->signer_info->enc_digest); ^ /usr/include/openssl/asn1.h:553: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:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:gt_internal.c102::53:423 :note: 19expanded from macro 'DECLARE_DEPRECATED' : warning: # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated));'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ^ memcpy(buff + 1, ASN1_STRING_data(message_imprint->hashedMessage), len); ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_internal.c:733:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(time_signature->location), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_internal.c:741:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(cert_token->history), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ 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_timestamp.c:866:3: warning: passing 'GTDataHash **' (aka 'struct GTMessageDigest_st **') to parameter of type 'const GTDataHash **' (aka 'const struct GTMessageDigest_st **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] data_hash); ^~~~~~~~~ ./gt_base.h:1256:22: note: passing argument to parameter 'data_hash' here const GTDataHash **data_hash); ^ gt_internal.c:941:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(published_data->publicationImprint), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ 8 warnings and 5 errors generated. gt_timestamp.c:1296:43: error: incomplete definition of type 'struct x509_st' key_der_len = i2d_X509_PUBKEY(certificate->cert_info->key, &key_der); ~~~~~~~~~~~^ /usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ gt_timestamp.c:1312:15: error: incomplete definition of type 'struct x509_st' certificate->cert_info->validity->notBefore, &key_pub_time); ~~~~~~~~~~~^ /usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ gt_timestamp.c:1385:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data( ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1480:29: error: incomplete definition of type 'struct x509_attributes_st' tmp_res = oidToString(attr->object, &tmp_list[i].attr_type); ~~~~^ /usr/include/openssl/x509.h:85:16: note: forward declaration of 'struct x509_attributes_st' typedef struct x509_attributes_st X509_ATTRIBUTE; ^ gt_timestamp.c:1489:11: error: incomplete definition of type 'struct x509_attributes_st' if (attr->single) { ~~~~^ /usr/include/openssl/x509.h:85:16: note: forward declaration of 'struct x509_attributes_st' typedef struct x509_attributes_st X509_ATTRIBUTE; ^ gt_timestamp.c:1492:36: error: incomplete definition of type 'struct x509_attributes_st' tmp_der_len = i2d_ASN1_TYPE(attr->value.single, &tmp_der); ~~~~^ /usr/include/openssl/x509.h:85:16: note: forward declaration of 'struct x509_attributes_st' typedef struct x509_attributes_st X509_ATTRIBUTE; ^ gt_timestamp.c:1497:18: warning: implicit declaration of function 'i2d_ASN1_SET_OF_ASN1_TYPE' is invalid in C99 [-Wimplicit-function-declaration] tmp_der_len = i2d_ASN1_SET_OF_ASN1_TYPE( ^ gt_timestamp.c:1498:10: error: incomplete definition of type 'struct x509_attributes_st' attr->value.set, NULL, i2d_ASN1_TYPE, ~~~~^ /usr/include/openssl/x509.h:85:16: note: forward declaration of 'struct x509_attributes_st' typedef struct x509_attributes_st X509_ATTRIBUTE; ^ gt_timestamp.c:1499:36: error: use of undeclared identifier 'IS_SET' V_ASN1_SET, V_ASN1_UNIVERSAL, IS_SET); ^ gt_timestamp.c:1508:11: error: incomplete definition of type 'struct x509_attributes_st' attr->value.set, &p, i2d_ASN1_TYPE, ~~~~^ /usr/include/openssl/x509.h:85:16: note: forward declaration of 'struct x509_attributes_st' typedef struct x509_attributes_st X509_ATTRIBUTE; ^ gt_timestamp.c:1509:37: error: use of undeclared identifier 'IS_SET' V_ASN1_SET, V_ASN1_UNIVERSAL, IS_SET); ^ gt_timestamp.c:1558:28: warning: implicit declaration of function 'SKM_sk_num' is invalid in C99 [-Wimplicit-function-declaration] if (references == NULL || sk_ASN1_OCTET_STRING_num(references) == 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_timestamp.c:1558:28: 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_timestamp.c:1565:39: error: unexpected type name 'ASN1_OCTET_STRING': expected expression tmp_list = GT_malloc(sizeof(char*) * sk_ASN1_OCTET_STRING_num(references)); ^ ./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_timestamp.c:1570:14: error: unexpected type name 'ASN1_OCTET_STRING': expected expression tmp_count = sk_ASN1_OCTET_STRING_num(references); ^ ./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_timestamp.c:1577:9: warning: implicit declaration of function 'SKM_sk_value' is invalid in C99 [-Wimplicit-function-declaration] ref = sk_ASN1_OCTET_STRING_value(references, 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_timestamp.c:1577:9: 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_timestamp.c:1580:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref)[0] != 0 || ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1581:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref)[1] != 1) { ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1584:6: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref), ASN1_STRING_length(ref), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1598:6: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref) + 2, ASN1_STRING_length(ref) - 2); ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1899:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(published_data->publicationImprint)[0]; ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1902:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(published_data->publicationImprint) + 1, ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:1995:4: error: unexpected type name 'ASN1_OCTET_STRING': expected expression sk_ASN1_OCTET_STRING_num(timestamp->time_signature->pubReference) > 0) { ^ ./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_timestamp.c:2180:15: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] alg_server = ASN1_STRING_data(timestamp->time_signature-> ^ /usr/include/openssl/asn1.h:553: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: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)); ^ 1 warning generated. gt_timestamp.c:2226:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(attribute_value->value.octet_string), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2227:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(tmp_imprint) + 1, ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2254:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(timestamp->time_signature->location), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2256:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(input), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2267:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(timestamp->time_signature->history), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2316: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_timestamp.c:2376:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data((ASN1_OCTET_STRING*) signature), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2393:2GNUmakefile:380: recipe for target 'gt_internal.lo' failed :gmake[2]: *** [gt_internal.lo] Error 1 warning: implicit declaration of function 'EVP_MD_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&md_ctx); ^ gt_timestamp.c:2524:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(message_imprint->hashedMessage), ^ /usr/include/openssl/asn1.h:553: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: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)); ^ gt_timestamp.c:2614:43: error: incomplete definition of type 'struct x509_st' key_der_len = i2d_X509_PUBKEY(certificate->cert_info->key, &key_der); ~~~~~~~~~~~^ /usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct x509_st' typedef struct x509_st X509; ^ 22 warnings and 16 errors generated. GNUmakefile:380: recipe for target 'gt_timestamp.lo' failed gmake[2]: *** [gt_timestamp.lo] Error 1 gt_base.c:251:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations] ERR_remove_state(0); ^ /usr/include/openssl/err.h:248: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:133:34: note: expanded from macro 'DEPRECATEDIN_1_0_0' # define DEPRECATEDIN_1_0_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)); ^ 1 warning generated. gmake[2]: Leaving directory '/data/scratch/security/libguardtime/work/libgt-0.3.13/src/base' GNUmakefile:258: recipe for target 'all' failed gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory '/data/scratch/security/libguardtime/work/libgt-0.3.13/src/base' GNUmakefile:390: recipe for target 'all-recursive' failed gmake: *** [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