migrating MacPorts to High Sierra: "All compilers are either blacklisted or unavailable..."
Murray Eisenberg
murrayeisenberg at gmail.com
Fri Nov 10 22:19:37 UTC 2017
In case it helps:
[~]$ which gcc
/usr/bin/gcc
[~]$ gcc —version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin17.2.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
> On 10 Nov2017, at 4:53 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
> 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 murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
> 503 King Farm Blvd #101 Home (240)-246-7240
> Rockville, MD 20850-6667 Mobile (413)-427-5334
>
>
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20171110/bfc10db8/attachment.html>
More information about the macports-users
mailing list