migrating MacPorts to High Sierra: "All compilers are either blacklisted or unavailable..."
Chris Jones
jonesc at hep.phy.cam.ac.uk
Tue Nov 14 09:26:21 UTC 2017
>> Now in doing substep e, ending with...
>>
>> sudo ./restore_ports.tcl myports.txt
>>
>> I get warning messages:
>>
>> 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
>> Warning: All compilers are either blacklisted or unavailable;
>> defaulting to first fallback option
>> Error: we appear to be stuck, exiting...
>> infinite loop
>> while executing
>> "sort_ports $portList"
>> invoked from within
>> "set operationList [sort_ports $portList]"
>> (file "./restore_ports.tcl" line 285)
>>
You should post your myports.txt.
It is possible that that file has for some points variants that are no
longer the default, or cannot be used with the newer OS. For example gcc
compiler variants. It might be some ports in that list can be installed,
but with a different set of variants (or just allow the defaults to be
used).
Personally, I never use the ./restore_ports.tcl, for reasons like this.
I think it better to go through the list you saved and install by hand
the ones you know you want. As you do this you can check to see if the
variants list above are outdated and you need to update them. This
procedure also acts to weed out stuff I no longer need, so also acts as
a spot of spring cleaning..
Chris
More information about the macports-users
mailing list