[MacPorts] #61603: p5-crypt-ssleay @0.72: error: implicit declaration of function 'SSLv3_client_method' is invalid in C99
MacPorts
noreply at macports.org
Sun Nov 22 07:06:43 UTC 2020
#61603: p5-crypt-ssleay @0.72: error: implicit declaration of function
'SSLv3_client_method' is invalid in C99
-----------------------------+-----------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: bigsur catalina | Port: p5-crypt-ssleay
-----------------------------+-----------------------------
https://build.macports.org/builders/ports-
11_arm64-builder/builds/856/steps/install-port/logs/stdio
{{{
/usr/bin/clang -c -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16
-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk
-fno-strict-aliasing -fstack-protector-strong -I/opt/local/include
-DPERL_USE_SAFE_PUTENV -arch arm64
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3
-DVERSION=\"0.72\" -DXS_VERSION=\"0.72\" "-I/opt/local/lib/perl5/5.26
/darwin-thread-multi-2level/CORE" SSLeay.c
SSLeay.xs:152:31: error: implicit declaration of function
'SSLv3_client_method' is invalid in C99 [-Werror,-Wimplicit-function-
declaration]
ctx = SSL_CTX_new(SSLv3_client_method());
^
SSLeay.xs:152:31: warning: incompatible integer to pointer conversion
passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct
ssl_method_st *') [-Wint-conversion]
ctx = SSL_CTX_new(SSLv3_client_method());
^~~~~~~~~~~~~~~~~~~~~
/opt/local/include/openssl/ssl.h:1503:47: note: passing argument to
parameter 'meth' here
__owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
^
SSLeay.xs:157:31: error: implicit declaration of function
'SSLv2_client_method' is invalid in C99 [-Werror,-Wimplicit-function-
declaration]
ctx = SSL_CTX_new(SSLv2_client_method());
^
SSLeay.xs:157:31: warning: incompatible integer to pointer conversion
passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct
ssl_method_st *') [-Wint-conversion]
ctx = SSL_CTX_new(SSLv2_client_method());
^~~~~~~~~~~~~~~~~~~~~
/opt/local/include/openssl/ssl.h:1503:47: note: passing argument to
parameter 'meth' here
__owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
^
2 warnings and 2 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61603>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list