[MacPorts] #58968: aimage: error: field has incomplete type 'EVP_MD_CTX' (aka 'evp_md_ctx_st')
MacPorts
noreply at macports.org
Sat Sep 7 23:54:08 UTC 2019
#58968: aimage: error: field has incomplete type 'EVP_MD_CTX' (aka 'evp_md_ctx_st')
------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: aimage
------------------------+--------------------
[https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/98155/steps
/install-port/logs/stdio aimage does not build]:
{{{
In file included from imager.cpp:4:
In file included from ./imager.h:2:
./hash_t.h:163:16: error: field has incomplete type 'EVP_MD_CTX' (aka
'evp_md_ctx_st')
EVP_MD_CTX mdctx; /* the context for computing the value */
^
/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;
^
In file included from ident.cpp:3:
In file included from ./imager.h:2:
./hash_t.h:163:16: error: field has incomplete type 'EVP_MD_CTX' (aka
'evp_md_ctx_st')
EVP_MD_CTX mdctx; /* the context for computing the value */
^
/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;
^
In file included from gui.cpp:50:
In file included from ./imager.h:2:
./hash_t.h:163:16: error: field has incomplete type 'EVP_MD_CTX' (aka
'evp_md_ctx_st')
EVP_MD_CTX mdctx; /* the context for computing the value */
^
/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;
^
imager.cpp:320:25: warning: 'memset' call operates on objects of type
'unsigned char' while the size is based on a different type 'unsigned char
*' [-Wsizeof-pointer-memaccess]
memset(buf,0,sizeof(buf));
~~~ ^~~
imager.cpp:320:25: note: did you mean to provide an explicit length?
memset(buf,0,sizeof(buf));
^~~
In file included from aimage_os.cpp:3:
In file included from ./imager.h:2:
./hash_t.h:163:16: error: field has incomplete type 'EVP_MD_CTX' (aka
'evp_md_ctx_st')
EVP_MD_CTX mdctx; /* the context for computing the value */
^
/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;
^
1 warning and 1 error generated.
1 error generated.
1 error generated.
1 error generated.
make[2]: *** [aimage_os.o] Error 1
make[2]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58968>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list