[MacPorts] #69698: boost @1.76: error: no member named 'result_of' in namespace 'boost' (was: Boost181 provokes build errors in libtorrent-rasterbar and qBittorrent)

MacPorts noreply at macports.org
Tue Apr 9 17:34:08 UTC 2024


#69698: boost @1.76: error: no member named 'result_of' in namespace 'boost'
----------------------+-----------------------
  Reporter:  Gandoon  |      Owner:  michaelld
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.9.3
Resolution:           |   Keywords:
      Port:  boost    |
----------------------+-----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: mascguy (added)
 * port:  boost181 libtorrent-rasterbar qBittorrent => boost
 * owner:  (none) => michaelld


Comment:

 You are likely right that this is caused by you using a newer compiler
 that is capable of C++20. Note however that your error comes from the
 boost port @1.76, not the boost181 port. Everything using boost should be
 using the separate versioned boost ports, but for some reason we still
 have the unversioned boost port at an old version. It would be nice if we
 could get rid of that, since its mere presence can cause other port builds
 to fail.

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


More information about the macports-tickets mailing list