[MacPorts] #69249: macports-libcxx: error: no member named 'max_align_t' in the global namespace

MacPorts noreply at macports.org
Sun Mar 9 21:49:57 UTC 2025


#69249: macports-libcxx: error: no member named 'max_align_t' in the global
namespace
--------------------------------------------+--------------------
  Reporter:  ryandesign                     |      Owner:  (none)
      Type:  defect                         |     Status:  new
  Priority:  Normal                         |  Milestone:
 Component:  ports                          |    Version:  2.9.0
Resolution:                                 |   Keywords:
      Port:  macports-libcxx, spice-server  |
--------------------------------------------+--------------------

Comment (by ar-an-ribe):

 Replying to [comment:1 ryandesign]:
 > I'm assuming it is a problem in macports-libcxx but it could also be a
 problem in spice-server.

 Grepping through the `spice-server` source shows that neither
 `max_align_t` nor `__is_overaligned_for_new` is used there; this is a
 problem in the `macports-libcxx` port. (The `__is_overaligned_for_new`
 symbol can be found in two headers, namely
 `/opt/local/include/libcxx/v1/{memory,new}`.)

 Could adding compiler variants to the `spice-server` port be a workaround
 for its dependence upon the `macports-libcxx` port on Mavericks and
 earlier?

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


More information about the macports-tickets mailing list