andymans commented on issue #3046:
URL: https://github.com/apache/kvrocks/issues/3046#issuecomment-3048681526

   Wait - I discovered it *is* a Mac issue after all. 
   
   Here's the problem & solution for the benefit of other users:
   
   Apple has pushed an install of the MacOSX15.sdk as part of its recent 
'XCode' updates.
   
   This means that if you are still running e.g. Sonoma 14.6.1 (i.e have not 
migrated to Sequoia) you have a problem that, for certain builds, the 
MacOSX15.0.sdk is invoked and it will attempt to build for an incompatible OS 
version!
   
   For those of us facing this issue, a *working* solution is to kickstart the 
build with a flag appended:
   
   `./x.py build 
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX14.5.sdk`
   
   Another (better) solution may be to migrate the latest OS version (Sequoia) 
unless you have compelling reasons not to do so.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to