[MacPorts] #63856: tor @0.4.4.6_1 fails to build

MacPorts noreply at macports.org
Mon Nov 8 05:52:52 UTC 2021


#63856: tor @0.4.4.6_1 fails to build
----------------------+--------------------
 Reporter:  cculianu  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 I'm on Big Sur 11.6.1, latest Xcode 13.1.

 Latest Tor fails to build, the build log shows a compile error:


 {{{
 :info:build src/lib/tls/tortls_openssl.c:1198:3: warning: 'uint64_t' is
 not defined, evaluates to 0 [-Wundef]
 :info:build   SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION != 0
 :info:build   ^
 :info:build /opt/local/include/openssl/ssl.h:389:58: note: expanded from
 macro 'SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
 '
 :info:build # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
 SSL_OP_BIT(18)
 :info:build                                                          ^
 :info:build /opt/local/include/openssl/ssl.h:343:26: note: expanded from
 macro 'SSL_OP_BIT'
 :info:build #define SSL_OP_BIT(n)  ((uint64_t)1 << (uint64_t)n)
 :info:build                          ^
 :info:build src/lib/tls/tortls_openssl.c:1198:3: error: token is not a
 valid binary operator in a preprocessor subexpres
 sion
 :info:build   SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION != 0
 :info:build   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build /opt/local/include/openssl/ssl.h:389:58: note: expanded from
 macro 'SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
 '
 :info:build # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
 SSL_OP_BIT(18)
 :info:build
 ^~~~~~~~~~~~~~
 :info:build /opt/local/include/openssl/ssl.h:343:35: note: expanded from
 macro 'SSL_OP_BIT'
 :info:build #define SSL_OP_BIT(n)  ((uint64_t)1 << (uint64_t)n)
 :info:build                         ~~~~~~~~~~^

 }}}

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


More information about the macports-tickets mailing list