[MacPorts] #59015: xchat-gnome @0.26.1_12 doesn't build against openssl 1.1.1 (was: xchat-gnome @0.26.1_12+universal: Failed to build xchat-gnome)

MacPorts noreply at macports.org
Wed Sep 11 03:46:06 UTC 2019


#59015: xchat-gnome @0.26.1_12 doesn't build against openssl 1.1.1
---------------------------+--------------------
  Reporter:  odysseus9672  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.4
Resolution:                |   Keywords:
      Port:  xchat-gnome   |
---------------------------+--------------------

Comment (by kencu):

 {{{
 6932    :info:build ssl.c:73:30: warning: implicit declaration of function
 'SSLv3_server_method' is invalid in C99 [-Wimplicit-function-declaration]
 6933    :info:build         ctx = SSL_CTX_new (server ?
 SSLv3_server_method() : SSLv3_client_method ());
 6934    :info:build                                     ^
 6935    :info:build ssl.c:73:54: warning: implicit declaration of function
 'SSLv3_client_method' is invalid in C99 [-Wimplicit-function-declaration]
 6936    :info:build         ctx = SSL_CTX_new (server ?
 SSLv3_server_method() : SSLv3_client_method ());
 6937    :info:build
 ^
 6938    :info:build ssl.c:73:21: warning: incompatible integer to pointer
 conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka
 'const struct ssl_method_st *') [-Wint-conversion]
 6939    :info:build         ctx = SSL_CTX_new (server ?
 SSLv3_server_method() : SSLv3_client_method ());
 6940    :info:build
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 6941    :info:build /opt/local/include/openssl/ssl.h:1503:47: note:
 passing argument to parameter 'meth' here
 6942    :info:build __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
 6943    :info:build                                               ^
 6944    :info:build ssl.c:158:30: error: incomplete definition of type
 'struct x509_st'
 6945    :info:build         alg = OBJ_obj2nid
 (peer_cert->cert_info->key->algor->algorithm);
 6946    :info:build                            ~~~~~~~~~^
 6947    :info:build /opt/local/include/openssl/ossl_typ.h:120:16: note:
 forward declaration of 'struct x509_st'
 6948    :info:build typedef struct x509_st X509;
 6949    :info:build                ^
 6950    :info:build ssl.c:159:35: error: incomplete definition of type
 'struct x509_st'
 6951    :info:build         sign_alg = OBJ_obj2nid
 (peer_cert->sig_alg->algorithm);
 6952    :info:build                                 ~~~~~~~~~^
 6953    :info:build /opt/local/include/openssl/ossl_typ.h:120:16: note:
 forward declaration of 'struct x509_st'
 6954    :info:build typedef struct x509_st X509;
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59015#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list