[R-SIG-Mac] R does not build out of the box on Ventura
Prof Brian Ripley
r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Wed Oct 26 12:38:07 CEST 2022
On 25/10/2022 10:13, Prof Brian Ripley wrote:
> The problem being that devQuartz.c uses a deprecated and now removed
> interface (ATS).
> Building with --without-aqua will work.
> I am sure that Simon will fix this, but not in time for 4.2.2 which is
> in code freeze.
> Note this only affects building: as the CRAN binary distributions are
> built on much older versions of macOS they should continue to build.
> This is purely a heads up for those building from source that they may
> want to delay upgrading to Ventura (but someone needed to to find the
> For the first time for quite a while, upgrading to Ventura removes the
> Command Line Tools which need reinstalling.
Having found the relevant release note:
I can add a bit more info.
1) The build failure is only seen if you are using the macOS 13 SDK. It
has been possible to build with the 12.3 SDK. But if you don't yet have
the macOS 13 SDK you are likely to get upgraded to it soon. Look at
ls -l `xcrun -show-sdk-path`
to see what you have (it is a symlink, to MacOSX13.0.sdk on my system).
2) If you are, a workaround is to add something like
Brian D. Ripley, ripley using stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford
More information about the R-SIG-Mac