[MacPorts] #72615: orfeotoolbox: error: no member named 'swap' in namespace 'std' (was: Error in compiling orfeotoolbox)

MacPorts noreply at macports.org
Mon Jun 16 11:45:58 UTC 2025


#72615: orfeotoolbox: error: no member named 'swap' in namespace 'std'
------------------------------------+--------------------
  Reporter:  news24lor              |      Owner:  (none)
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.10.7
Resolution:                         |   Keywords:
      Port:  orfeotoolbox boost176  |
------------------------------------+--------------------
Changes (by ryandesign):

 * cc: michaelld, mascguy (added)
 * port:  orfeotoolbox => orfeotoolbox boost176


Comment:

 The error comes from a file installed by the boost176 port:

 {{{
 :info:build
 /opt/local/libexec/boost/1.76/include/boost/move/adl_move_swap.hpp:190:15:
 error: no member named 'swap' in namespace 'std'
 :info:build   190 |    using std::swap;
 :info:build       |          ~~~~~^
 }}}

 Maybe that's a bug in the boost176 port that needs to be fixed.

 Maybe orfeotoolbox can use a newer version of boost in which the bug is
 already fixed.

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


More information about the macports-tickets mailing list