migrating MacPorts to High Sierra: "All compilers are either blacklisted or unavailable..."
Murray Eisenberg
murrayeisenberg at gmail.com
Fri Nov 10 23:00:08 UTC 2017
On the other hand, I can manually restore at least some ports, e.g.:
apache-ant @1.10.1_0 (active)
bzip2 @1.0.6_0 (active)
cctools @895_4+llvm40 (active)
expat @2.2.5_0 (active)
gcc7 @7.2.0_0 (active)
gcc_select @0.1_8 (active)
gettext @0.19.8.1_0 (active)
gmp @6.1.2_1 (active)
isl @0.18_0 (active)
ld64 @3_0 (active)
ld64-latest @274.2_1+llvm40 (active)
libcxx @3.9.1_0+universal (active)
libedit @20170329-3.1_2 (active)
libffi @3.2.1_0 (active)
libgcc @7.2.0_1 (active)
libiconv @1.15_0 (active)
libmpc @1.0.3_0 (active)
libxml2 @2.9.7_0 (active)
llvm-4.0 @4.0.1_2 (active)
llvm_select @2_0 (active)
mpfr @3.1.6_0 (active)
ncurses @6.0-20170916_0 (active)
openssl @1.0.2m_0 (active)
xar @1.6.1_0 (active)
xz @5.2.3_0 (active)
zlib @1.2.11_0 (active)
Is something wrong with the restore_ports.tcl script? (I did newly download the version (0.1) that I used via:
curl --location --remote-name https://github.com/macports/macports-contrib/raw/master/restore_ports/restore_ports.tcl
> 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/71d232f5/attachment.html>
More information about the macports-users
mailing list