[MacPorts] #63038: clang12: please re-enable the +analyzer as a default variant

MacPorts noreply at macports.org
Mon Jun 14 15:43:14 UTC 2021


#63038: clang12: please re-enable the +analyzer as a default variant
-------------------------+----------------------
  Reporter:  mouse07410  |      Owner:  kencu
      Type:  request     |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  clang-12    |
-------------------------+----------------------

Comment (by kencu):

 You see the issue with adding the analyzer is that means you need a full
 perl installation. Which in and of itself is not so terrible, but that
 means you need to have the entire ports tree set up to build perl without
 using the current clang versions (as that makes a circular dependency).
 And so then you are forced to consider how you are going to safely build
 perl (on some systems) with all it's dependencies without relying on clang
 to build it, blah blah blah.

 Just adds to the mess of trying to keep this whole ship afloat.

 Likewise libxml2. clang actually has no need at all for our libxml2 port,
 other than it will opportunistically link to it if it is found, which
 causes no end of trouble. libxml2 pulls in -- get ready -- ICU! -- and ICU
 is a major PITA to build these days as it needs a modern compiler, with
 all its now circular deps. So -- the solution is to purge libxml2 out of
 the clang builds, and perl, and anything else that is not really needed
 for clang to function.

 ERGO this push to cut the cruft out of the clang builds, like python
 (where we can) and perl and what-have-you.

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


More information about the macports-tickets mailing list