Re: help needed: “Error: clang-4.0 has been replaced by clang-8.0; please install that instead”

Dmitri Zaitsev zaitsev at maths.tcd.ie
Wed Jul 24 04:08:15 UTC 2019


Hi Chris,

Many thanks for your help!

>
> Until then, you should isolate the port that is trying to use clang 3.9
> or 4.0, and configure the build to use 8.0 by appending the option
>
> port install foo-baa configure.compiler=macports-clang-8.0
>

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:

~ sudo port install gtk2 configure.compiler=macports-clang-8.0
--->  Computing dependencies for gtk2
The following dependencies will be installed:
 clang-8.0
...
Continue? [Y/n]:
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gtk2 failed
➜  ~


>
> or, submit a ticket requesting the port adds macports-clang-3.9 and
> macports-clang-4.0 to the compiler blacklist.
>

Where can I submit it?


>
> Yes, the warning is mis-leading
>
> Error: clang-4.0 has been replaced by clang-8.0; please install that
> instead.
>
> this does not actually mean clang-8.0 is not already installed.... What
> it really should say is
>
> 'please configure port <foo-bar> to use clang-8.0 instead'
>
>
That would be less confusing indeed.
Can that be made the message?

Cheers, Dmitri.


>
>
> On 23/07/2019 11:58 am, Dmitri Zaitsev wrote:
> >
> > Hi everyone,
> > Any help is appreciated with this problem:
> >
> >
> https://stackoverflow.com/questions/57162325/macports-error-clang-4-0-has-been-replaced-by-clang-8-0-please-install-that
> >
> > I am new here, so apologies if this question is not appropriate.
> >
> > Thanks in advance!
> > Dmitri.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190724/e01ec041/attachment.html>


More information about the macports-users mailing list