<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Chris,</div><div><br></div><div>Many thanks for your help!</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Until then, you should isolate the port that is trying to use clang 3.9 <br>
or 4.0, and configure the build to use 8.0 by appending the option<br>
<br>
port install foo-baa configure.compiler=macports-clang-8.0<br></blockquote><div><br></div><div>I have now tried it with `gtk2` and it indeed stopped looking for the old clang. Sadly, it now fails without any hint at all:</div><div><br></div><div><div>~ sudo port install gtk2 configure.compiler=macports-clang-8.0</div><div>--->  Computing dependencies for gtk2</div><div>The following dependencies will be installed: </div><div> clang-8.0</div></div><div>...</div><div><div>Continue? [Y/n]: </div><div>Error: Follow <a href="https://guide.macports.org/#project.tickets">https://guide.macports.org/#project.tickets</a> to report a bug.</div><div>Error: Processing of port gtk2 failed</div><div>➜  ~</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
or, submit a ticket requesting the port adds macports-clang-3.9 and <br>
macports-clang-4.0 to the compiler blacklist.<br></blockquote><div><br></div><div>Where can I submit it?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Yes, the warning is mis-leading<br>
<br>
Error: clang-4.0 has been replaced by clang-8.0; please install that <br>
instead.<br>
<br>
this does not actually mean clang-8.0 is not already installed.... What <br>
it really should say is<br>
<br>
'please configure port <foo-bar> to use clang-8.0 instead'<br><br></blockquote><div><br></div><div>That would be less confusing indeed.</div><div>Can that be made the message?</div><div><br></div><div>Cheers, Dmitri.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
On 23/07/2019 11:58 am, Dmitri Zaitsev wrote:<br>
> <br>
> Hi everyone,<br>
> Any help is appreciated with this problem:<br>
> <br>
> <a href="https://stackoverflow.com/questions/57162325/macports-error-clang-4-0-has-been-replaced-by-clang-8-0-please-install-that" rel="noreferrer" target="_blank">https://stackoverflow.com/questions/57162325/macports-error-clang-4-0-has-been-replaced-by-clang-8-0-please-install-that</a><br>
> <br>
> I am new here, so apologies if this question is not appropriate.<br>
> <br>
> Thanks in advance!<br>
> Dmitri.<br>
</blockquote></div></div></div></div></div>