Opened 5 years ago

Closed 5 years ago

#58984 closed defect (fixed)

yafic: Build fails due to openssl 1.1.1c

Reported by: mf2k (Frank Schima) Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: yafic

Description

:info:build 	/usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.   -I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -Wall -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -c `test -f 'crypto.c' || echo './'`crypto.c
:info:build crypto.c:103:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
:info:build   EVP_MD_CTX ctx;
:info:build              ^
:info:build /opt/local/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st'
:info:build typedef struct evp_md_ctx_st EVP_MD_CTX;
:info:build                ^
:info:build crypto.c:114:31: error: incomplete definition of type 'struct evp_pkey_st'
:info:build   mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
:info:build                           ~~~~^
:info:build /opt/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st'
:info:build typedef struct evp_pkey_st EVP_PKEY;
:info:build                ^
:info:build crypto.c:114:57: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration]
:info:build   mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
:info:build                                                         ^
:info:build crypto.c:173:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
:info:build   EVP_MD_CTX ctx;
:info:build              ^
:info:build /opt/local/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st'
:info:build typedef struct evp_md_ctx_st EVP_MD_CTX;
:info:build                ^
:info:build crypto.c:184:31: error: incomplete definition of type 'struct evp_pkey_st'
:info:build   mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
:info:build                           ~~~~^
:info:build /opt/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st'
:info:build typedef struct evp_pkey_st EVP_PKEY;
:info:build                ^
:info:build crypto.c:184:57: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration]
:info:build   mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () :
:info:build                                                         ^
:info:build crypto.c:268:35: error: incomplete definition of type 'struct evp_pkey_st'
:info:build     int type = EVP_PKEY_type (pkey->type);
:info:build                               ~~~~^
:info:build /opt/local/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st'
:info:build typedef struct evp_pkey_st EVP_PKEY;
:info:build                ^
:info:build 2 warnings and 5 errors generated.

Attachments (1)

main.log (30.0 KB) - added by mf2k (Frank Schima) 5 years ago.

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Owner: set to yan12125
Status: newassigned

comment:2 Changed 5 years ago by Chih-Hsuan Yen <yan12125@…>

Resolution: fixed
Status: assignedclosed

In 70fcc31cc1434b77f5e58ca086483e634eeef6fe/macports-ports (master):

yafic: fix building with OpenSSL

Closes: #58984

Note: See TracTickets for help on using tickets.