[MacPorts] #65247: OpenVPN3 build fails on older OS versions (was: OpenVPN3 build fails under leopard)

MacPorts noreply at macports.org
Sun May 29 22:12:07 UTC 2022


#65247: OpenVPN3 build fails on older OS versions
----------------------------+------------------------
  Reporter:  iAmInActions   |      Owner:  i0ntempest
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.2
Resolution:                 |   Keywords:
      Port:  openvpn3 asio  |
----------------------------+------------------------
Changes (by jmroot):

 * keywords:  powerpc, leopard =>
 * cc: Lord-Kamina (added)
 * port:  openvpn3 => openvpn3 asio


Comment:

 Seems to be an incompatibility with the `require` macro on 10.12 and
 older.
 {{{
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/test/ovpncli/cli.cpp:63:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../client/ovpncli.cpp:30:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_net_openvpn3/openvpn3/work/openvpn3-3.7/cmake/../openvpn/io/io.hpp:28:
 In file included from /opt/local/include/asio.hpp:19:
 In file included from /opt/local/include/asio/associated_executor.hpp:24:
 In file included from /opt/local/include/asio/system_executor.hpp:20:
 In file included from /opt/local/include/asio/execution.hpp:19:
 In file included from
 /opt/local/include/asio/execution/any_executor.hpp:31:
 In file included from /opt/local/include/asio/execution/blocking.hpp:25:
 In file included from /opt/local/include/asio/prefer.hpp:23:
 /opt/local/include/asio/traits/require_free.hpp:59:14: error: expected
 expression
     decltype(require(declval<T>(), declval<Property>()))
              ^
 /usr/include/AssertMacros.h:1307:47: note: expanded from macro 'require'
                 #define require(assertion, exceptionLabel)
 __Require(assertion, exceptionLabel)
                                                             ^
 /usr/include/AssertMacros.h:669:5: note: expanded from macro '__Require'
                   do
 \
                   ^
 }}}
 https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/187683/steps
 /install-port/logs/stdio

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


More information about the macports-tickets mailing list