[MacPorts] #63958: haproxy @2.4.8_1: build error with OpenSSL 3

MacPorts noreply at macports.org
Mon Nov 15 14:55:22 UTC 2021


#63958: haproxy @2.4.8_1: build error with OpenSSL 3
--------------------+----------------------
 Reporter:  l2dy    |      Owner:  aphor
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  haproxy
--------------------+----------------------
 {{{
 src/ssl_sock.c:2273:5: error: token is not a valid binary operator in a
 preprocessor subexpression
 #if SSL_OP_NO_TLSv1_3
     ^~~~~~~~~~~~~~~~~
 /opt/local/include/openssl/ssl.h:422:58: note: expanded from macro
 'SSL_OP_NO_TLSv1_3'
 # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
                                                          ^~~~~~~~~~~~~~
 /opt/local/include/openssl/ssl.h:343:35: note: expanded from macro
 'SSL_OP_BIT'
 #define SSL_OP_BIT(n)  ((uint64_t)1 << (uint64_t)n)
                         ~~~~~~~~~~^
 src/ssl_sock.c:2279:5: error: token is not a valid binary operator in a
 preprocessor subexpression
 #if SSL_OP_NO_TLSv1_3
     ^~~~~~~~~~~~~~~~~
 /opt/local/include/openssl/ssl.h:422:58: note: expanded from macro
 'SSL_OP_NO_TLSv1_3'
 # define SSL_OP_NO_TLSv1_3                               SSL_OP_BIT(29)
                                                          ^~~~~~~~~~~~~~
 /opt/local/include/openssl/ssl.h:343:35: note: expanded from macro
 'SSL_OP_BIT'
 #define SSL_OP_BIT(n)  ((uint64_t)1 << (uint64_t)n)
                         ~~~~~~~~~~^
 }}}

 https://github.com/haproxy/haproxy/issues/1276

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


More information about the macports-tickets mailing list