[MacPorts] #61474: gmp @6.2.0_1: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0' (was: Macports failures with BigSur)

MacPorts noreply at macports.org
Sun Nov 15 14:57:02 UTC 2020


#61474: gmp @6.2.0_1: clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.0'
-----------------------+--------------------
  Reporter:  pavibhai  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:  bigsur
      Port:            |
-----------------------+--------------------
Changes (by ryandesign):

 * keywords:  BigSur clang => bigsur


Comment:

 Replying to [ticket:61474 pavibhai]:
 > {{{
 > Warning: The macOS 11.0 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'.
 > }}}

 This is a harmless consequence of what the gmp port does. You can ignore
 it. Ideally the gmp port would be fixed so that it does not emit this
 message.

 > {{{
 > configure:5847: /usr/bin/clang
 -isysroot/Library/Developer/CommandLineTools/SDKs
 > /MacOSX.sdk -c conftest.c >&5
 > clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.0'
 > }}}

 What version of clang do you have? Run `/usr/bin/clang --version` to find
 out. I assume it is too old, and that you should upgrade it by installing
 both Xcode 12.2 and the Xcode 12.2 version of the command line tools.

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


More information about the macports-tickets mailing list