[MacPorts] #58962: bacula @7.0.4: error: unknown type name 'IMPLEMENT_STACK_OF'
MacPorts
noreply at macports.org
Sat Sep 7 23:37:53 UTC 2019
#58962: bacula @7.0.4: error: unknown type name 'IMPLEMENT_STACK_OF'
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: bacula
------------------------+--------------------
[https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/93518/steps
/install-port/logs/stdio bacula doesn't build]:
{{{
crypto.c:195:1: error: unknown type name 'IMPLEMENT_STACK_OF'
IMPLEMENT_STACK_OF(SignerInfo)
^
crypto.c:195:31: error: expected ';' after top level declarator
IMPLEMENT_STACK_OF(SignerInfo)
^
;
crypto.c:273:15: error: field has incomplete type 'EVP_MD_CTX' (aka
'evp_md_ctx_st')
EVP_MD_CTX ctx;
^
/opt/local/include/openssl/ossl_typ.h:92:16: note: forward declaration of
'evp_md_ctx_st'
typedef struct evp_md_ctx_st EVP_MD_CTX;
^
crypto.c:291:19: error: field has incomplete type 'EVP_CIPHER_CTX' (aka
'evp_cipher_ctx_st')
EVP_CIPHER_CTX ctx;
^
/opt/local/include/openssl/ossl_typ.h:90:16: note: forward declaration of
'evp_cipher_ctx_st'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
^
crypto.c:332:24: error: member access into incomplete type
'X509_EXTENSION' (aka 'X509_extension_st')
ext_value_data = ext->value->data;
^
/opt/local/include/openssl/x509.h:81:16: note: forward declaration of
'X509_extension_st'
typedef struct X509_extension_st X509_EXTENSION;
^
crypto.c:339:77: error: member access into incomplete type
'X509_EXTENSION' (aka 'X509_extension_st')
keyid = (ASN1_OCTET_STRING *) ASN1_item_d2i(NULL, &ext_value_data,
ext->value->length,
^
/opt/local/include/openssl/x509.h:81:16: note: forward declaration of
'X509_extension_st'
typedef struct X509_extension_st X509_EXTENSION;
^
crypto.c:345:75: error: member access into incomplete type
'X509_EXTENSION' (aka 'X509_extension_st')
keyid = (ASN1_OCTET_STRING *) method->d2i(NULL, &ext_value_data,
ext->value->length);
^
/opt/local/include/openssl/x509.h:81:16: note: forward declaration of
'X509_extension_st'
typedef struct X509_extension_st X509_EXTENSION;
^
2 warnings generated.
crypto.c:365:37: error: invalid application of 'sizeof' to an incomplete
type 'X509_KEYPAIR' (aka 'X509_Keypair')
keypair = (X509_KEYPAIR *)malloc(sizeof(X509_KEYPAIR));
^ ~~~~~~~~~~~~~~
./smartall.h2 warnings generated.
:63:55: note: expanded from macro 'malloc'
#define malloc(x) sm_malloc(__FILE__, __LINE__, (x))
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:368:11: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
keypair->keyid = NULL;
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:369:11: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
keypair->pubkey = NULL;
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:370:11: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
keypair->privkey = NULL;
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:393:15: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
if (keypair->pubkey) {
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:394:27: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY);
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
Compiling daemon.c
2 warnings generated.
crypto.c:394:53: error: use of undeclared identifier
'CRYPTO_LOCK_EVP_PKEY'
CRYPTO_add(&(keypair->pubkey->references), 1, CRYPTO_LOCK_EVP_PKEY);
^
crypto.c:395:14: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
newpair->pubkey = keypair->pubkey;
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:399:15: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
if (keypair->privkey) {
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
crypto.c:400:27: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
CRYPTO_add(&(keypair->privkey->references), 1,
CRYPTO_LOCK_EVP_PKEY);
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
Compiling edit.c
Compiling fnmatch.c
Compiling guid_to_name.c
crypto.c:400:54: error: use of undeclared identifier
'CRYPTO_LOCK_EVP_PKEY'
CRYPTO_add(&(keypair->privkey->references), 1,
CRYPTO_LOCK_EVP_PKEY);
^
crypto.c:401:14: error: member access into incomplete type 'X509_KEYPAIR'
(aka 'X509_Keypair')
newpair->privkey = keypair->privkey;
^
./crypto.h:39:16: note: forward declaration of 'X509_Keypair'
typedef struct X509_Keypair X509_KEYPAIR;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58962>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list