[MacPorts] #61541: gd2 2.3.0_0 +x11.darwin on Intel/BigSur: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'

MacPorts noreply at macports.org
Wed Nov 18 00:58:54 UTC 2020


#61541: gd2 2.3.0_0 +x11.darwin on Intel/BigSur: clang: error: invalid version
number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
------------------------+--------------------
  Reporter:  shibukawa  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by shibukawa):

 I could resolve by myself. I tried the following command and it fix this
 issue.

 https://stackoverflow.com/questions/63972113/big-sur-clang-invalid-
 version-error-due-to-macosx-deployment-target

 {{{
 sudo rm -rf /Library/Developer/CommandLineTools
 sudo xcode-select --install
 }}}

 But before/after, the clang says completely same version. I don't know
 what is the reason to fix.

 {{{
 % clang --version
 Apple clang version 12.0.0 (clang-1200.0.32.27)
 Target: x86_64-apple-darwin20.1.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61541#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list