[MacPorts] #68536: libretroshare fails to build on Sonoma: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?

MacPorts noreply at macports.org
Tue Oct 24 06:34:59 UTC 2023


#68536: libretroshare fails to build on Sonoma: error: no template named
'binary_function' in namespace 'std'; did you mean '__binary_function'?
----------------------------+--------------------------
  Reporter:  barracuda156   |      Owner:  barracuda156
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.1
Resolution:                 |   Keywords:  sonoma
      Port:  libretroshare  |
----------------------------+--------------------------

Comment (by ryandesign):

 See the upstream issue. Their CMakeLists.txt requires a minimum of C++17,
 yet `std::binary_function` was removed in C++17. They must be using g++ or
 an older clang++ that had not yet removed it.

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


More information about the macports-tickets mailing list