After upgrading macOS from Sierra (10.12.6) to High Sierra (10.13.1), I updated Xcode to 9.1 and executed
xcode-select -p which gave: /Applications/Xcode.app/Contents/Developer and then: xcode-select —install which installed (via App Store > Updates) "Command Line Tools (macOS High Sierra version 10.13) for Xcode” Version 9.0. If I try xcode-select —install again, I see: xcode-select: error: command line tools are already installed, use "Software Update" to install updates I went through the procedure at https://trac.macports.org/wiki/Migration <https://trac.macports.org/wiki/Migration> to migrate MacPorts. In step 3, after saving installed ports (substep a) and saving the list of requested ports (substep b), I uninstalled all installed ports (substep c) and cleaned partially-completed builds (substep d). 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) I wondered about the fact that Xcode itself is 9.1, whereas the Command Line tools are 9.0, yet. Is that the cause of the problem? I don’t see how to install any later version of the Xcode Command Line Tools. --- Murray Eisenberg [email protected] 503 King Farm Blvd #101 Home (240)-246-7240 Rockville, MD 20850-6667 Mobile (413)-427-5334
