[MacPorts] #65666: Need TCP_CONNECTION_INFO for <10.11
MacPorts
noreply at macports.org
Sun Aug 14 07:30:12 UTC 2022
#65666: Need TCP_CONNECTION_INFO for <10.11
--------------------------+---------------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: folly, wangle
--------------------------+---------------------------
Is there a way to add this for older systems? Need that for `folly` and
`wangle`, likely other ports too.
For example, `wangle` fails with:
{{{
In file included from
/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_wangle/wangle/work/wangle-v2022.08.08.00/wangle/../wangle/acceptor/AcceptorHandshakeManager.h:26,
from
/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_wangle/wangle/work/wangle-v2022.08.08.00/wangle/../wangle/acceptor/EvbHandshakeHelper.h:24,
from
/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_wangle/wangle/work/wangle-v2022.08.08.00/wangle/acceptor/EvbHandshakeHelper.cpp:17:
/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_wangle/wangle/work/wangle-v2022.08.08.00/wangle/../wangle/acceptor/TransportInfo.h:118:11:
error: 'tcp_connection_info' does not name a type
118 | typedef tcp_connection_info tcp_info;
| ^~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_wangle/wangle/work/wangle-v2022.08.08.00/wangle/../wangle/acceptor/TransportInfo.h:125:3:
error: 'tcp_info' does not name a type
125 | tcp_info tcpinfo{};
| ^~~~~~~~
/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_wangle/wangle/work/wangle-v2022.08.08.00/wangle/../wangle/acceptor/TransportInfo.h:359:27:
error: 'tcp_info' has not been declared
359 | static bool readTcpInfo(tcp_info* tcpinfo, const
folly::AsyncSocket* sock);
| ^~~~~~~~
}}}
`folly` errors: https://github.com/facebook/folly/issues/1835
This is perhaps the one thing remaining to fix, and then the whole set of
FB-developed ports build on <10.11.
See also: https://github.com/macports/macports-ports/pull/15689
--
Ticket URL: <https://trac.macports.org/ticket/65666>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list