=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for libguardtime-0.3.13nb12 Making all in src/base gmake[1]: Entering directory '/tmp/pkgbuild/security/libguardtime/work.x86_64/libgt-0.3.13/src/base' /usr/pkg/bin/gmake all-am gmake[2]: Entering directory '/tmp/pkgbuild/security/libguardtime/work.x86_64/libgt-0.3.13/src/base' CC asn1_time_get.lo CC gt_publicationsfile.lo CC base32.lo CC gt_timestamp.lo CC gt_crc32.lo CC gt_asn1.lo CC gt_base.lo CC gt_fileio.lo CC gt_info.lo CC gt_datahash.lo CC gt_internal.lo CC hashchain.lo CC gt_truststore.lo gt_truststore.c: In function 'GTTruststore_addCertDer': gt_truststore.c:236:24: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type [-Wincompatible-pointer-types] cert = d2i_X509(NULL, &der, der_len); ^ In file included from /usr/include/openssl/pkcs7.h:13:0, from gt_truststore.c:21: /usr/include/openssl/x509.h:551:1: note: expected 'const unsigned char **' but argument is of type 'const char **' DECLARE_ASN1_FUNCTIONS(X509) ^ gt_timestamp.c: In function 'GTTimestamp_updateTSTInfo': gt_timestamp.c:136:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] d2ip = ASN1_STRING_data(encoded_tst_info->value.octet_string); ^~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'GTTimestamp_updateTimeSignature': gt_timestamp.c:200:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] d2ip = ASN1_STRING_data(timestamp->signer_info->enc_digest); ^~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'GTTimestamp_getDataHash': gt_timestamp.c:866:3: warning: passing argument 4 of 'GTDataHash_fromAlgorithmAndValue' from incompatible pointer type [-Wincompatible-pointer-types] data_hash); ^~~~~~~~~ In file included from gt_timestamp.c:19:0: gt_base.h:1254:5: note: expected 'const GTDataHash ** {aka const struct GTMessageDigest_st **}' but argument is of type 'GTDataHash ** {aka struct GTMessageDigest_st **}' int GTDataHash_fromAlgorithmAndValue(int algorithm, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_internal.c: In function 'GT_messageImprintToDataImprint': gt_internal.c:423:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(buff + 1, ASN1_STRING_data(message_imprint->hashedMessage), len); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_internal.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_internal.c:423:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(buff + 1, ASN1_STRING_data(message_imprint->hashedMessage), len); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_internal.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_internal.c: In function 'GT_extendTimeSignature': gt_internal.c:733:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(time_signature->location), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_internal.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_internal.c:741:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(cert_token->history), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_internal.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'setVerifiedPKISignatureInfo': gt_timestamp.c:1296:43: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}' key_der_len = i2d_X509_PUBKEY(certificate->cert_info->key, &key_der); ^~ gt_timestamp.c:1385:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data( ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'GTSignedAttributeList_set': gt_timestamp.c:1480:29: error: dereferencing pointer to incomplete type 'X509_ATTRIBUTE {aka const struct x509_attributes_st}' tmp_res = oidToString(attr->object, &tmp_list[i].attr_type); ^~ hashchain.c: In function 'GT_calculateDigest': hashchain.c:105:13: error: storage size of 'md_ctx' isn't known EVP_MD_CTX md_ctx; ^~~~~~ In file included from gt_internal.h:23:0, from gt_internal.c:19: gt_asn1.h:33:38: warning: implicit declaration of function 'SKM_sk_num'; did you mean 'sk_num'? [-Wimplicit-function-declaration] #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_internal.c:759:31: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' if (pub_reference != NULL && sk_ASN1_OCTET_STRING_num(pub_reference) > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:33:49: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_internal.c:759:31: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' if (pub_reference != NULL && sk_ASN1_OCTET_STRING_num(pub_reference) > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ gt_base.c: In function 'GT_finalize': gt_base.c:251:2: warning: 'ERR_remove_state' is deprecated [-Wdeprecated-declarations] ERR_remove_state(0); ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/evp.h:13:0, from gt_base.c:27: /usr/include/openssl/err.h:261:1: note: declared here DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) ^ gt_datahash.c: In function 'GTDataHash_create': gt_datahash.c:33:13: error: storage size of 'md_ctx' isn't known EVP_MD_CTX md_ctx; ^~~~~~ gt_datahash.c: In function 'GTDataHash_open': gt_datahash.c:128:44: error: invalid application of 'sizeof' to incomplete type 'EVP_MD_CTX {aka struct evp_md_ctx_st}' tmp_data_hash->context = GT_malloc(sizeof(EVP_MD_CTX)); ^~~~~~~~~~ hashchain.c: In function 'GT_findHistoryIdentifier': hashchain.c:1248:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] p = ASN1_STRING_data((ASN1_OCTET_STRING*) history_shape) + S.len; ^ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from hashchain.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ hashchain.c: In function 'GTHashEntryList_set': hashchain.c:1331:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data((ASN1_OCTET_STRING*) hash_chain), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from hashchain.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ hashchain.c:1370:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data((ASN1_OCTET_STRING*) hash_chain), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from hashchain.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_asn1.h:36:41: warning: implicit declaration of function 'SKM_sk_new_null'; did you mean 'sk_new_null'? [-Wimplicit-function-declaration] #define sk_ASN1_OCTET_STRING_new_null() SKM_sk_new_null(ASN1_OCTET_STRING) ^ gt_internal.c:760:47: note: in expansion of macro 'sk_ASN1_OCTET_STRING_new_null' tmp_extended_time_signature->pubReference = sk_ASN1_OCTET_STRING_new_null(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:36:57: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_new_null() SKM_sk_new_null(ASN1_OCTET_STRING) ^ gt_internal.c:760:47: note: in expansion of macro 'sk_ASN1_OCTET_STRING_new_null' tmp_extended_time_signature->pubReference = sk_ASN1_OCTET_STRING_new_null(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:33:49: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_internal.c:766:19: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' for (i = 0; i < sk_ASN1_OCTET_STRING_num(pub_reference); ++i) { ^~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:34:43: warning: implicit declaration of function 'SKM_sk_value'; did you mean 'sk_value'? [-Wimplicit-function-declaration] #define sk_ASN1_OCTET_STRING_value(st, i) SKM_sk_value(ASN1_OCTET_STRING, (st), (i)) ^ gt_internal.c:768:27: note: in expansion of macro 'sk_ASN1_OCTET_STRING_value' (ASN1_OCTET_STRING*) sk_ASN1_OCTET_STRING_value(pub_reference, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:34:56: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_value(st, i) SKM_sk_value(ASN1_OCTET_STRING, (st), (i)) ^ gt_internal.c:768:27: note: in expansion of macro 'sk_ASN1_OCTET_STRING_value' (ASN1_OCTET_STRING*) sk_ASN1_OCTET_STRING_value(pub_reference, i)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [GNUmakefile:380: gt_datahash.lo] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gt_asn1.h:35:44: warning: implicit declaration of function 'SKM_sk_push'; did you mean 'sk_push'? [-Wimplicit-function-declaration] #define sk_ASN1_OCTET_STRING_push(st, val) SKM_sk_push(ASN1_OCTET_STRING, (st), (val)) ^ gt_internal.c:774:8: note: in expansion of macro 'sk_ASN1_OCTET_STRING_push' if (sk_ASN1_OCTET_STRING_push(tmp_extended_time_signature->pubReference, ^~~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:35:56: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_push(st, val) SKM_sk_push(ASN1_OCTET_STRING, (st), (val)) ^ gt_internal.c:774:8: note: in expansion of macro 'sk_ASN1_OCTET_STRING_push' if (sk_ASN1_OCTET_STRING_push(tmp_extended_time_signature->pubReference, ^~~~~~~~~~~~~~~~~~~~~~~~~ gt_internal.c: In function 'GT_publishedDataToBase32': gt_internal.c:940:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(binary_publication + 8, ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_internal.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_internal.c:940:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(binary_publication + 8, ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_internal.c:19: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gmake[2]: *** [GNUmakefile:380: hashchain.lo] Error 1 gt_timestamp.c:1497:18: warning: implicit declaration of function 'i2d_ASN1_SET_OF_ASN1_TYPE'; did you mean 'i2d_ASN1_SET_ANY'? [-Wimplicit-function-declaration] tmp_der_len = i2d_ASN1_SET_OF_ASN1_TYPE( ^~~~~~~~~~~~~~~~~~~~~~~~~ i2d_ASN1_SET_ANY gt_timestamp.c:1499:36: error: 'IS_SET' undeclared (first use in this function); did you mean 'FD_SET'? V_ASN1_SET, V_ASN1_UNIVERSAL, IS_SET); ^~~~~~ FD_SET gt_timestamp.c:1499:36: note: each undeclared identifier is reported only once for each function it appears in In file included from gt_internal.h:23:0, from gt_publicationsfile.h:25, from gt_timestamp.c:24: gt_timestamp.c: In function 'GTReferenceList_set': gt_asn1.h:33:38: warning: implicit declaration of function 'SKM_sk_num'; did you mean 'sk_num'? [-Wimplicit-function-declaration] #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_timestamp.c:1558:28: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' if (references == NULL || sk_ASN1_OCTET_STRING_num(references) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:33:49: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_timestamp.c:1558:28: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' if (references == NULL || sk_ASN1_OCTET_STRING_num(references) == 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:33:49: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_timestamp.c:1565:39: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' tmp_list = GT_malloc(sizeof(char*) * sk_ASN1_OCTET_STRING_num(references)); ^~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:33:49: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_timestamp.c:1570:14: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' tmp_count = sk_ASN1_OCTET_STRING_num(references); ^~~~~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [GNUmakefile:380: gt_internal.lo] Error 1 gt_asn1.h:34:43: warning: implicit declaration of function 'SKM_sk_value'; did you mean 'sk_value'? [-Wimplicit-function-declaration] #define sk_ASN1_OCTET_STRING_value(st, i) SKM_sk_value(ASN1_OCTET_STRING, (st), (i)) ^ gt_timestamp.c:1577:9: note: in expansion of macro 'sk_ASN1_OCTET_STRING_value' ref = sk_ASN1_OCTET_STRING_value(references, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gt_asn1.h:34:56: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_value(st, i) SKM_sk_value(ASN1_OCTET_STRING, (st), (i)) ^ gt_timestamp.c:1577:9: note: in expansion of macro 'sk_ASN1_OCTET_STRING_value' ref = sk_ASN1_OCTET_STRING_value(references, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gt_timestamp.c:1580:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref)[0] != 0 || ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:1581:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref)[1] != 1) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:1584:6: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(ref), ASN1_STRING_length(ref), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:1597:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(tmp_list[i], ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:1597:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] memcpy(tmp_list[i], ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'addExplicitVerificationInfo': gt_timestamp.c:1899:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(published_data->publicationImprint)[0]; ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:1902:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(published_data->publicationImprint) + 1, ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ In file included from gt_internal.h:23:0, from gt_publicationsfile.h:25, from gt_timestamp.c:24: gt_timestamp.c: In function 'createVerificationInfo': gt_asn1.h:33:49: error: expected expression before 'ASN1_OCTET_STRING' #define sk_ASN1_OCTET_STRING_num(st) SKM_sk_num(ASN1_OCTET_STRING, (st)) ^ gt_timestamp.c:1995:4: note: in expansion of macro 'sk_ASN1_OCTET_STRING_num' sk_ASN1_OCTET_STRING_num(timestamp->time_signature->pubReference) > 0) { ^~~~~~~~~~~~~~~~~~~~~~~~ gt_timestamp.c: In function 'checkHashChain': gt_timestamp.c:2180:2: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] alg_server = ASN1_STRING_data(timestamp->time_signature-> ^~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:2226:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(attribute_value->value.octet_string), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:2227:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(tmp_imprint) + 1, ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:2254:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(timestamp->time_signature->location), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:2256:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(input), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:2267:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(timestamp->time_signature->history), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'checkPublicKeySignature': gt_timestamp.c:2316:13: error: storage size of 'md_ctx' isn't known EVP_MD_CTX md_ctx; ^~~~~~ gt_timestamp.c:2376:4: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data((ASN1_OCTET_STRING*) signature), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c:2393:2: warning: implicit declaration of function 'EVP_MD_CTX_cleanup'; did you mean 'EVP_MD_CTX_create'? [-Wimplicit-function-declaration] EVP_MD_CTX_cleanup(&md_ctx); ^~~~~~~~~~~~~~~~~~ EVP_MD_CTX_create gt_timestamp.c: In function 'GTTimestamp_checkDocumentHash': gt_timestamp.c:2524:5: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations] ASN1_STRING_data(message_imprint->hashedMessage), ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/asn1.h:14, from gt_asn1.h:24, from gt_internal.h:23, from gt_publicationsfile.h:25, from gt_timestamp.c:24: /usr/include/openssl/asn1.h:554:1: note: declared here DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x)) ^ gt_timestamp.c: In function 'GTTimestamp_checkPublicKey': gt_timestamp.c:2614:43: error: dereferencing pointer to incomplete type 'X509 {aka const struct x509_st}' key_der_len = i2d_X509_PUBKEY(certificate->cert_info->key, &key_der); ^~ gmake[2]: *** [GNUmakefile:380: gt_timestamp.lo] Error 1 gmake[2]: Leaving directory '/tmp/pkgbuild/security/libguardtime/work.x86_64/libgt-0.3.13/src/base' gmake[1]: *** [GNUmakefile:258: all] Error 2 gmake[1]: Leaving directory '/tmp/pkgbuild/security/libguardtime/work.x86_64/libgt-0.3.13/src/base' gmake: *** [GNUmakefile:390: all-recursive] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/security/libguardtime *** Error code 1 Stop. make: stopped in /usr/pkgsrc/security/libguardtime