In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/_types/_fd_def.h:32,
from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/sys/types.h:187,
from curl_setup.h:64,
from altsvc.c:28:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/unistd.h:744:1: error: 'deprecated' undeclared here (not in a function)
744 | __OS_AVAILABILITY_MSG(ios,deprecated=10.0,"syscall(2) is unsupported; "
| ^~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/unistd.h:744:1: error: 'message' undeclared here (not in a function)
744 | __OS_AVAILABILITY_MSG(ios,deprecated=10.0,"syscall(2) is unsupported; "
| ^~~~~~~~~~~~~~~~~~~~~
make[3]: *** [libcurl_la-altsvc.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
I'm not sure if this is a curl issue, a macOS issue... But my machine did update to xcodebuild 16.1:
❯ xcodebuild -version
Xcode 16.1
Build version 16B40
and I think that was today.
I will note that the SDKROOT does still need to be set.
Recently on Alderaan, I tried to build Baselibs with gcc 14 using the @scivision
SDKROOT
fix (see https://gist.github.com/scivision/d69faebbc56da9714798087b56de925a).However, curl failed with:
I'm not sure if this is a curl issue, a macOS issue... But my machine did update to xcodebuild 16.1:
and I think that was today.
I will note that the
SDKROOT
does still need to be set.