clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.3'
Joshua Root
jmr at macports.org
Sat May 1 10:21:56 UTC 2021
> I’ve got a brand new MBP 16’’ from my employer and tried to use MacPorts on that.
>
> Since it is so new it sports macOS Big Sur 11.3 and Xcode 12.5
>
> I know both are very recent and came out just a couple of days ago, so I am not expecting the impossible.
>
> Installing MacPorts itself went flawlessly but when I tried to install some ports (git, ImageMagick, … I gave up after those failed) I got the same error repeatedly:
>
> clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=11.3‘
>
> is this error already known and is it even a MacPorts error, e.g. should I file a bug report?
This usually indicates that your Command Line Tools are outdated. If
Software Update won't update them, you are affected by an Apple bug, and
will need to follow the instructions here:
<https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt>
- Josh
More information about the macports-users
mailing list