[MacPorts] #74204: webkit2-gtk, webkit2-gtk-devel @2.52.4: error: 'path' is unavailable: introduced in macOS 10.15

MacPorts noreply at macports.org
Fri Aug 7 12:25:32 UTC 2026


#74204: webkit2-gtk, webkit2-gtk-devel @2.52.4: error: 'path' is unavailable:
introduced in macOS 10.15
-------------------------------------+-------------------------------------
  Reporter:  ryandesign              |      Owner:  dbevans
      Type:  defect                  |     Status:  assigned
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:  2.12.5
Resolution:                          |   Keywords:  leopard snowleopard
                                     |  lion mountainlion mavericks
      Port:  webkit2-gtk, webkit2    |  yosemite elcapitan sierra
  -gtk-devel                         |  highsierra moajve
-------------------------------------+-------------------------------------

Comment (by drkp):

 Unfortunately, this will be pretty hard to fix. The latest webkit2-gtk
 uses C++23 extensively. We can blacklist compilers to force a newer
 version of clang, but the libc++ on 10.14 and earlier is too old for the
 stdlib features it uses. legacysupport.use_mp_libcxx will use the libc++
 from macports-libcxx, but that is based on clang-11 and is still too old.

 Ideally, we would update macports-libcxx to a newer version but I am not
 familiar enough with it to take that on.

 We could also bring back an older version of webkit2-gtk for legacy
 systems, but the previous version (2.28 IIRC) used libsoup2 instead of 3
 which would not link cleanly against dependents. There might be an
 intermediate version that would work -- I'm not sure -- but even if so it
 would require updating all the patches which is seriously non-trivial.

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


More information about the macports-tickets mailing list