[MacPorts] #61650: webkit2-gtk @2.28.2_1+minibrowser+quartz fails to build on 10.15.7
MacPorts
noreply at macports.org
Wed Nov 25 22:54:27 UTC 2020
#61650: webkit2-gtk @2.28.2_1+minibrowser+quartz fails to build on 10.15.7
--------------------------+----------------------
Reporter: p-bro | Owner: dbevans
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: webkit2-gtk |
--------------------------+----------------------
Comment (by kencu):
Most likely this has been fixed upstream already to compile with the newer
compilers. It's been a while since I went at the port... it's a bit job.
FYI -- you can often find a simpler way to build things with older or
other versions of compilers by using the MacPorts-supplied line of
llvm/clang compilers.
For this port, either clang-9.0 or clang-10 probably would have worked.
Many people already have llvm-9.0 installed for one reason or another
anyway, so you can do this if you like, instead of changing your Xcode
around:
{{{
sudo port install clang-9.0
sudo port -v install webkit2-gtk configure.compiler=macports-clang-9.0
}}}
Now perhaps you don't mind moving your Xcode's around -- I find it very
hard to keep track of what I left where, and mismatched Xcodes and CLTs is
a terrible mess. So this is a (probably easier) alternative.
For really old and unmaintained ports, sometimes going back to clang-5.0
is effective; I forget just now how far back clangs can go on Catalina.
--
Ticket URL: <https://trac.macports.org/ticket/61650#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list