[MacPorts] #58958: litmus @0.13_2: error: incomplete definition of type 'struct ssl_session_st'

MacPorts noreply at macports.org
Sat Sep 7 22:51:38 UTC 2019


#58958: litmus @0.13_2: error: incomplete definition of type 'struct
ssl_session_st'
--------------------+--------------------
 Reporter:  iEFdev  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.5.4
 Keywords:          |       Port:  litmus
--------------------+--------------------
 After the big revbump today… `litmus` didn't want to upgrade.

 I don't if it's about that, or maybe caused by all recent upgrades of all
 my clang's.

 Part of log:

 {{{
 :info:build ne_socket.c:574:8: warning: implicit declaration of function
 'writev' is invalid in C99 [-Wimplicit-function-declaration]
 :info:build         ret = writev(sock->fd, vec, count);
 :info:build               ^
 :info:build ne_socket.c:1845:23: error: incomplete definition of type
 'struct ssl_session_st'
 :info:build         *buflen = sess->session_id_length;
 :info:build                   ~~~~^
 :info:build /opt/local/include/openssl/ssl.h:213:16: note: forward
 declaration of 'struct ssl_session_st'
 :info:build typedef struct ssl_session_st SSL_SESSION;
 :info:build                ^
 :info:build ne_socket.c:1849:23: error: incomplete definition of type
 'struct ssl_session_st'
 :info:build     if (*buflen < sess->session_id_length) {
 :info:build                   ~~~~^
 :info:build /opt/local/include/openssl/ssl.h:213:16: note: forward
 declaration of 'struct ssl_session_st'
 :info:build typedef struct ssl_session_st SSL_SESSION;
 :info:build                ^
 :info:build ne_socket.c:1853:19: error: incomplete definition of type
 'struct ssl_session_st'
 :info:build     *buflen = sess->session_id_length;
 :info:build               ~~~~^
 :info:build /opt/local/include/openssl/ssl.h:213:16: note: forward
 declaration of 'struct ssl_session_st'
 :info:build typedef struct ssl_session_st SSL_SESSION;
 :info:build                ^
 :info:build ne_socket.c:1854:21: error: incomplete definition of type
 'struct ssl_session_st'
 :info:build     memcpy(buf, sess->session_id, *buflen);
 :info:build                 ~~~~^
 :info:build /usr/include/secure/_string.h:55:36: note: expanded from macro
 'memcpy'
 :info:build    ? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0
 (dest))     \
 :info:build                                    ^~~
 :info:build /opt/local/include/openssl/ssl.h:213:16: note: forward
 declaration of 'struct ssl_session_st'
 :info:build typedef struct ssl_session_st SSL_SESSION;
 :info:build                ^
 :info:build ne_socket.c:1854:21: error: incomplete definition of type
 'struct ssl_session_st'
 :info:build     memcpy(buf, sess->session_id, *buflen);
 :info:build                 ~~~~^
 :info:build /usr/include/secure/_string.h:56:33: note: expanded from macro
 'memcpy'
 :info:build    : __inline_memcpy_chk (dest, src, len))
 :info:build                                 ^~~
 :info:build /opt/local/include/openssl/ssl.h:213:16: note: forward
 declaration of 'struct ssl_session_st'
 :info:build typedef struct ssl_session_st SSL_SESSION;
 :info:build                ^
 :info:build 1 warning and 5 errors generated.
 :info:build make[1]: *** [ne_socket.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58958>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list