[MacPorts] #61805: gd2: clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.1' (was: gd2 fails to install properly)
MacPorts
noreply at macports.org
Tue May 4 21:54:01 UTC 2021
#61805: gd2: clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.1'
----------------------+------------------------
Reporter: k6wx | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: invalid | Keywords: bigsur
Port: gd2 |
----------------------+------------------------
Changes (by ryandesign):
* keywords: => bigsur
* status: assigned => closed
* resolution: => invalid
* cc: dmopalmer (added)
Comment:
Replying to [comment:3 michaelld]:
> The error in `config.log` is `clang: error: invalid version number in
'MACOSX_DEPLOYMENT_TARGET=11.1'`, which leads me to believe that your
Xcode install isn't the correct one
This error means that the clang in your Xcode ''or'' in your Xcode command
line tools—whichever one this port is using—is not compatible with macOS
11. In this case, this port is using the Xcode command line tools, so it
is the version of the Xcode command line tools that you have installed
that is not compatible with your OS.
Please make sure you are using [wiki:XcodeVersionInfo a version of Xcode
that is compatible with your OS version]. Xcode 12.2 and later are
compatible with macOS 11 Big Sur, but the latest Xcode 12.x is
recommended. That's currently Xcode 12.5.
You ''must also make sure'' that if you install the Xcode command line
tools, its version matches your Xcode version. Due to [wiki:ProblemHotlist
#reinstall-clt a bug in macOS], Software Update may not offer to upgrade
the Xcode command line tools for you, so do it manually by following the
instructions in the wiki page or by
[http://developer.apple.com/download/more/?=Command%20Line%20Tools
downloading it from Apple].
--
Ticket URL: <https://trac.macports.org/ticket/61805#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list