[MacPorts] #69698: boost @1.76: error: no member named 'result_of' in namespace 'boost'

MacPorts noreply at macports.org
Wed Apr 10 09:43:51 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    |
----------------------+-----------------------

Comment (by ryandesign):

 Replying to [comment:2 Gandoon]:
 > That is somewhat odd though as both `libtorrent-rasterbar` and
 `qBittorrent` depend on `boost181`:

 I am aware.

 Back before we had versioned boost ports (boost176, boost181, etc.) that
 install their headers and libraries into nonstandard directories, we had
 the boost port which installed its headers and libraries into the standard
 directories. Gradually ports were migrated from the unversioned boost port
 to the versioned ones. However, because the boost port installs into
 standard directories, its headers and libraries might be found by build
 systems even though we were intending them to use a different versioned
 boost port's headers and libraries. The problem can be worked around by
 using trace mode (unless you use macOS 13 or newer on Apple Silicon) or by
 deactivating the boost port before building. The problem would go away if
 the boost port were deleted.

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


More information about the macports-tickets mailing list