<div dir="auto"><div>Can't the dependency on cctools be conditionally imposed? <br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 20 Sep 2020, 07:38 MacPorts, <<a href="mailto:noreply@macports.org" target="_blank" rel="noreferrer">noreply@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">#61203: gtk3 @3.24.23_0: Can't update because of broken llvm<br>
------------------------------+--------------------<br>
Reporter: rubendibattista | Owner: (none)<br>
Type: defect | Status: closed<br>
Priority: Normal | Milestone:<br>
Component: ports | Version:<br>
Resolution: wontfix | Keywords:<br>
Port: gtk3 |<br>
------------------------------+--------------------<br>
Changes (by ryandesign):<br>
<br>
* keywords: gtk3, llvm, build =><br>
* status: new => closed<br>
* resolution: => wontfix<br>
<br>
<br>
Comment:<br>
<br>
Such problems exist from time to time, but I can't suggest a good way that<br>
we could prevent it.<br>
<br>
We offer newer versions of Apple's toolchain in the cctools port. If you<br>
have it installed, many ports will opportunistically use the programs it<br>
provides. If they're broken in some way, for example because one of their<br>
dependencies like libffi was updated and you haven't updated cctools yet,<br>
then that will cause those many other ports to fail to build. We do not<br>
want to "fix" it by adding a cctools dependency to those many ports,<br>
because that would normally be unnecessary; those ports would build fine<br>
with Xcode's copy of those tools.<br>
<br>
So when you encounter these kinds of problems you have to do a little<br>
investigation and fix it yourself. For example, when you see:<br>
{{{<br>
dyld: Library not loaded: /opt/local/lib/libffi.6.dylib<br>
Referenced from: /opt/local/libexec/llvm-8.0/lib/libLLVM.dylib<br>
Reason: image not found<br>
}}}<br>
use `port provides /opt/local/libexec/llvm-8.0/lib/libLLVM.dylib` to<br>
figure out what port provides it, check if it's outdated, and if so,<br>
upgrade it. Then try again.<br>
<br>
-- <br>
Ticket URL: <<a href="https://trac.macports.org/ticket/61203#comment:11" rel="noreferrer noreferrer noreferrer" target="_blank">https://trac.macports.org/ticket/61203#comment:11</a>><br>
MacPorts <<a href="https://www.macports.org/" rel="noreferrer noreferrer noreferrer" target="_blank">https://www.macports.org/</a>><br>
Ports system for macOS<br>
</blockquote></div></div></div>