Failed to build graphviz: command execution failed

Ryan Schmidt ryandesign at macports.org
Fri Sep 4 00:27:01 UTC 2020


On Sep 3, 2020, at 19:05, Michael Newman wrote:

> On Sep 4, 2020, at 05:51, Ryan Schmidt wrote:
> 
>>> Warning: cltversion: For a possible fix, please see: https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
>> 
>> Follow the instructions at that URL.
> 
> Thank you. Graphviz built after updating the command line tools.
> 
> I'm still not sure why this didn't work:
> 
> MrMuscle:~ mnewman$ xcode-select --install
> xcode-select: error: command line tools are already installed, use "Software Update" to install updates
> 
> But, after doing that, Software Update didn't find any updates available. 
> 
> My browser history shows that after graphviz failed to build I visited:
> 
>> https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt
> 
> But my bash history doesn't go back far enough to show me what went wrong the first time I tried that.
> 
> Thanks again for your help. As you may have discovered, I need primary school level instructions.

No worries, it's not all straightforward so you're right to ask here.

It's especially non-straightforward when Apple breaks things, like removing the receipt of the command line tools periodically, which is what that problem hotlist entry is about.

Maybe your command line tools were incomplete for some reason, or were too old or too new, and reinstalling them has gotten you the right version.

I haven't updated the graphviz ports substantially in about 3 years so it's possible they're no longer compatible with some more recent Xcodes or command line tools. I clearly need to update them but with 3 years of changes built up it'll take a bit to see what all I need to do.



More information about the macports-users mailing list