Lion - All compilers are either blacklisted or unavailable

Franco Vaccari vaccari at units.it
Tue Nov 28 16:27:39 UTC 2017


Hi,

I had a working MacPorts installation on a Xserve running Lion (10.7.5, latest OS supported on that machine). I wanted to add some new package and the step "Scanning binaries for linking errors” failed. I couldn’t find a way to pass that step, and in the end I decided to rm -r /opt/local and start a new MacPorts installation from scratch.

And I can’t install most of the packages, with many of them depending on cmake, and cmake failing to install:

[is02:/] % sudo port install cmake
Password:
--->  Computing dependencies for cmakeWarning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option

The following dependencies will be installed: 
 clang-3.9
 clang-4.0
 clang-5.0
 cmake
Continue? [Y/n]: Y
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port cmake failed
[is02:/] %

When I first tried the new installation, I had Xcode 4.2 installed. I then updated Xcode to 4.6.3 (apparently the latest for 10.7) and repeated, ending with the same problem.

Is the only option to recover /opt/local from a backup, and keep it frozen? I hope something else can be done to keep MacPorts alive on that machine…

Thanks

Franco


More information about the macports-users mailing list