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

MacPorts noreply at macports.org
Mon Jun 7 00:53:59 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):

 Replying to [comment:8 mouse07410]:

 > > I believe this occurs due to a race condition in some build attempts
 for clang. .  .  .
 >
 > Unlike your experience, where the failure is observed 1/100 times or so,
 in my case (I tried four times) it is consistent. :-(

 Unfortunate

 > > I'll look at adding a default for +analyzer again in 12.1.x which is
 coming out pretty soon, if it seems that there is enough interest.
 >
 > Yes please!! I'm really looking to the pre-built clang-12.1 binaries
 that I won't need to rebuild locally from sources.

 Just stay with clang-11 for now then, until 12.1.x rolls out. You're no
 worse off than you were three days ago.

 > Build fails on {{{libeling_rt.builtins_arm64_osx.a}}}''

 add:
 {{{use_parallel_build no}}}

 to the Portfile and report back please.

 You will notice every buildbot system (and every system of mine) had no
 trouble building this as it is. It takes several hours with parallel
 building enabled. With only one processor, you can guess it might take
 four times that long, or more, not sure.

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


More information about the macports-tickets mailing list