Error in arrow@v11 while Building O2Physics

Dear experts,

I would like to build O2 on MacOS13.3 with M1 chip and Xcode v-14.3, but it stops at Building arrow@v11.
I followed all steps on the tutorial.
In the log, it says:

CMake Warning at cmake_modules/Findlz4Alt.cmake:29 (find_package):
By not providing “Findlz4.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “lz4”, but
CMake did not find one.

Could not find a package configuration file provided by “lz4” with any of
the following names:

lz4Config.cmake
lz4-config.cmake

Add the installation prefix of “lz4” to CMAKE_PREFIX_PATH or set “lz4_DIR”
to a directory containing one of the above files. If “lz4” provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
cmake_modules/ThirdpartyToolchain.cmake:280 (find_package)
cmake_modules/ThirdpartyToolchain.cmake:2385 (resolve_dependency)
CMakeLists.txt:498 (include)

The detailed log find is attached below. I don’t know how to solve it.

What is the best way to do that ?
log.txt (44.5 KB)

Hi @bhsahoo,

Could you try uninstalling llvm@14 through brew (you may have to use the appropriate switch to force it/ignore dependencies) and install llvm@15 instead, then retry?

We ran into this problem on an M2 machine, and the above fixed it. I’ll update the alisw/system-deps/o2-full-deps package, but I want to test it on an Intel machine first.

Hi @twilken ,

Thanks for your response.
Yes this problem is fixed with installing llvm@15. But I am getting an error in building O2@dev i.e in the development mode. The detail log file is attached below. Could you tell the possible solution ?
log.txt (53.0 KB)

Hi @bhsahoo, unfortunately, ROOT and O2 do not yet work with XCode 14.3. Please install the previous version, 14.2. You should be able to get this from the Apple developer website.