[MacPorts] #63026: clang-12 does not build with analyzer
MacPorts
noreply at macports.org
Thu Jul 15 04:45:27 UTC 2021
#63026: clang-12 does not build with analyzer
-----------------------+-----------------------------------
Reporter: szhorvat | Owner: ken-cunningham-webuse
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: clang-12 |
-----------------------+-----------------------------------
Comment (by kencu):
there is no need to reopen this ticket, as the analyzer is the default
again (although I still hold to the idea that nearly nobody uses it). but
that ship sailed...everyone must install perl.
What is happening in your error is a parallel building issue that we have
noticed in clang-12 and I have reported upstream. It seems to affect a
small % of builds (it never happens to me, for example) but it does happen
occasionally. I believe I know the cause.
This time, the arm64 builder hit this issue. I have already forced another
build on it. We'll see if it builds next time (in a couple of hours).
After all, the arm64 builder built it fine last last time.
Of course, I know I could stop this by disabling parallel building (again
-- it was disabled briefly before). Then everyone would build clang-12
with only 1 processor, which would take probably 8 - 10 hours. I was not
prepared to tie up the whole buildbot farm for that insanity.
However, if the arm64 builder fails again, I will do that, so the buildbot
builds it.
Maybe upstream will fix the bug. I reported it on the llvm-mailing-list,
so feel free to go add your voice to the "Me Too!" list if you like. I
would open a bug report in their bug reported, but they are just about to
shut that bug reported down forever, so .... no point.
As always, we appreciate your support here. If you are in a terrible hurry
and don't care to wait, you can temporarily set your build.jobs to 1 in
macports.conf, build it, and then delete the line.
Would you say the better option would be to just stop parallel building
for everyone, now that it's built on most of the buildbots anyway? Maybe
so. I don't know. However, if/when I do that, the next ticket will then be
from someone who re-enabled parallel building and found clang-12 built
just fine, and in 1 hour instead of 8, and wants the parallel building re-
enabled.
--
Ticket URL: <https://trac.macports.org/ticket/63026#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list