[MacPorts] #62261: Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not build correctly.

MacPorts noreply at macports.org
Thu Feb 11 11:13:10 UTC 2021


#62261: Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
build correctly.
---------------------+--------------------
 Reporter:  erlisR   |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.4
 Keywords:  big sur  |       Port:
---------------------+--------------------
 Hello everyone, after upgrading to Big Sur I'm not able to re-install many
 ports used previously. One of them is clang-8.0. (see the error below). I
 already installed Xcode 12.4 and its CLT following the steps for the
 migration procedure. I also tried installing the CLT manually but the
 result is the same. Yet when I try to install clang-8.0 I get this


 {{{

 user at statpc90 ~ % ls -l /Library/Developer/CommandLineTools/SDKs
 total 0
 lrwxr-xr-x  1 root  wheel   14 Feb 11 11:27 MacOSX.sdk -> MacOSX11.1.sdk
 drwxr-xr-x  8 root  wheel  256 Jul  9  2020 MacOSX10.15.sdk
 drwxr-xr-x  7 root  wheel  224 Nov 30 13:33 MacOSX11.1.sdk
 }}}





 {{{
 user at statpc90 ~ % sudo port install clang-8.0
 Password:
 Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
 build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 --->  Computing dependencies for clang-8.0
 --->  Fetching archive for clang-8.0
 --->  Attempting to fetch
 clang-8.0-8.0.1_1+analyzer+libstdcxx.darwin_20.x86_64.tbz2 from
 http://fco.it.packages.macports.org/clang-8.0
 --->  Attempting to fetch
 clang-8.0-8.0.1_1+analyzer+libstdcxx.darwin_20.x86_64.tbz2 from
 https://lil.fr.packages.macports.org/clang-8.0
 --->  Attempting to fetch
 clang-8.0-8.0.1_1+analyzer+libstdcxx.darwin_20.x86_64.tbz2 from
 https://packages.macports.org/clang-8.0
 --->  Fetching distfiles for clang-8.0
 --->  Verifying checksums for clang-8.0
 --->  Extracting clang-8.0
 --->  Applying patches to clang-8.0
 Warning: reinplace s|/usr/bin/env python|/usr/bin/python2.7|g didn't
 change anything in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.1.src/tools/clang/tools
 /scan-build/bin/set-xcode-analyzer
 --->  Configuring clang-8.0
 --->  Building clang-8.0
 Error: Failed to build clang-8.0: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-8.0/clang-8.0/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port clang-8.0 failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62261>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list