ROOT 6.24 on MacOS Ventura installation issue


ROOT Version: v6-24-00-patches
Platform: MacBook Air M2 with MacOs Ventura 13.3
Compiler: Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin


Hi, I am trying to install (again) this specific ROOT version that was recommended to me in this thread. I managed to install it in this computer weeks ago but my computer updated and I had to reinstall everything. Now it is giving some error I have never seen installing ROOT.

I generated the files using: cmake -DCMAKE_CXX_STANDARD=11 -Dall=ON -Dxrootd=OFF -DPYTHON_EXECUTABLE=/usr/local/bin/python2.7-Dall=ON -Dxrootd=OFF -DPYTHON_EXECUTABLE=/opt/homebrew/bin/python3.9 -DCMAKE_INSTALL_PREFIX=../install ../v6-24-00-patches with this output:

-- The C compiler identification is AppleClang 14.0.3.14030022
-- The CXX compiler identification is AppleClang 14.0.3.14030022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /opt/homebrew/bin/git (found version "2.39.2")
-- Detected ROOT_VERSION 6.24.99
-- Looking for Python
-- Found Python3: /opt/homebrew/bin/python3.9 (found version "3.9.16") found components: Interpreter Development NumPy Development.Module Development.Embed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found a macOS system 13.3
-- Found an AArch64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: macosx
-- ROOT Compiler: AppleClang 14.0.3.14030022
-- ROOT Processor: arm64
-- ROOT Architecture: macosxarm64
-- Build Type: 'Release' (flags = '-O2')
-- Compiler Flags:  -std=c++11 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O2
-- ROOT default compression algorithm: zlib
CMake Deprecation Warning at cmake/modules/RootBuildOptions.cmake:420 (message):
  >>> Option 'memstat' is deprecated and will be removed in the next release
  of ROOT.  Please contact root-dev@cern.ch should you still need it.
Call Stack (most recent call first):
  CMakeLists.txt:131 (include)


CMake Deprecation Warning at cmake/modules/RootBuildOptions.cmake:420 (message):
  >>> Option 'vmc' is deprecated and will be removed in the next release of
  ROOT.  Please contact root-dev@cern.ch should you still need it.
Call Stack (most recent call first):
  CMakeLists.txt:131 (include)


-- PyROOT will be built for version 3.9.16
-- Looking for ZLib
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Zlib not found. Switching on builtin_zlib option
-- Looking for Unuran
-- Could NOT find Unuran (missing: UNURAN_LIBRARY UNURAN_INCLUDE_DIR)
-- Unuran not found. Switching on builtin_unuran option
-- Building freetype version 2.12.1 included in ROOT itself
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
  cmake/modules/SearchInstalledSoftware.cmake:148 (ExternalProject_Add)
  CMakeLists.txt:219 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for PCRE
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY)
-- PCRE not found. Switching on builtin_pcre option
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
  builtins/pcre/CMakeLists.txt:37 (ExternalProject_Add)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for LZMA
-- Looking for lzma_auto_decoder in /opt/homebrew/lib/liblzma.dylib
-- Looking for lzma_auto_decoder in /opt/homebrew/lib/liblzma.dylib - found
-- Looking for lzma_easy_encoder in /opt/homebrew/lib/liblzma.dylib
-- Looking for lzma_easy_encoder in /opt/homebrew/lib/liblzma.dylib - found
-- Looking for lzma_lzma_preset in /opt/homebrew/lib/liblzma.dylib
-- Looking for lzma_lzma_preset in /opt/homebrew/lib/liblzma.dylib - found
-- Found LibLZMA: /opt/homebrew/lib/liblzma.dylib (found version "5.4.2")
-- Looking for ZSTD
-- Found ZSTD: /opt/homebrew/lib/libzstd.dylib
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for LZ4
-- Found LZ4: /opt/homebrew/lib/liblz4.dylib (found version "1.9.4")
-- Found GIF: /opt/homebrew/lib/libgif.dylib (found version "5.2.1")
-- Found TIFF: /opt/homebrew/lib/libtiff.dylib (found version "4.4.0")
-- Found PNG: /opt/homebrew/lib/libpng.dylib (found version "1.6.39")
-- Found JPEG: /opt/homebrew/lib/libjpeg.dylib (found version "80")
-- Looking for AfterImage
-- Could NOT find AfterImage (missing: AFTERIMAGE_INCLUDE_DIR AFTERIMAGE_LIBRARIES)
-- AfterImage not found. Switching on builtin_afterimage option
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Found GSL: /opt/homebrew/include (found suitable version "2.7.1", minimum required is "1.10")
-- Looking for OpenGL
-- Could NOT find OpenGL (missing: OPENGL_INCLUDE_DIR)
-- OpenGL (with GLU) not found. Switching off opengl option
-- Looking for Graphviz
-- Could NOT find Graphviz (missing: GRAPHVIZ_INCLUDE_DIR GRAPHVIZ_cdt_LIBRARY GRAPHVIZ_gvc_LIBRARY GRAPHVIZ_graph_LIBRARY GRAPHVIZ_pathplan_LIBRARY)
-- Graphviz not found. Switching off gviz option
-- Looking for LibXml2
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- LibXml2 not found. Switching off xml option
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
-- OpenSSL not found, switching ON 'builtin_openssl' option.
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
  builtins/openssl/CMakeLists.txt:40 (ExternalProject_Add)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenSSL: /Users/diiego/software/ROOT/ROOT_6.24/build/builtins/openssl/OPENSSL-prefix/include (found version "1.1.1g")
-- Looking for MySQL
-- Could NOT find MySQL (missing: MYSQL_INCLUDE_DIR MYSQL_LIBRARIES)
-- MySQL not found. Switching off mysql option
-- Looking for FastCGI
-- Could NOT find FastCGI (missing: FASTCGI_LIBRARY FASTCGI_INCLUDE_DIR)
-- FastCGI not found. Switching off fcgi option
-- Looking for Oracle
-- Oracle not found.
-- Oracle: You can specify includes: -DORACLE_PATH_INCLUDES=/usr/include/oracle/10.2.0.3/client
--    currently found includes:
-- Oracle: You can specify libs: -DORACLE_PATH_LIB=/usr/lib/oracle/10.2.0.3/client/lib
--    currently found libs: ORACLE_LIBRARY_OCCI-NOTFOUND;ORACLE_LIBRARY_CLNTSH-NOTFOUND;ORACLE_LIBRARY_LNNZ-NOTFOUND
-- Oracle not found. Switching off oracle option
-- Looking for ODBC
-- Could NOT find ODBC (missing: ODBC_LIBRARY ODBC_INCLUDE_DIR)
-- ODBC not found. Switching off odbc option
-- Looking for PostgreSQL
-- Could NOT find PostgreSQL (missing: PostgreSQL_LIBRARY PostgreSQL_INCLUDE_DIR)
-- PostgreSQL not found. Switching off pgsql option
-- Looking for SQLite
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
-- SQLite not found. Switching off sqlite option
-- Looking for Pythia6
-- Pythia6 not found. Switching off pythia6 option
-- Looking for Pythia8
-- Could NOT find Pythia8 (missing: PYTHIA8_INCLUDE_DIR PYTHIA8_LIBRARY)
-- Pythia8 not found. Switching off pythia8 option
-- Looking for FFTW3
-- FFTW3 not found. Set [environment] variable FFTW_DIR to point to your FFTW3 installation
--                  Alternatively, you can also enable the option 'builtin_fftw3' to build FFTW3 internally'
--                  For the time being switching OFF 'fftw3' option
-- Looking for CFITSIO
-- Could NOT find CFITSIO (missing: CFITSIO_LIBRARY CFITSIO_INCLUDE_DIR)
-- CFITSIO not found. You can enable the option 'builtin_cfitsio' to build the library internally'
--                    For the time being switching off 'fitsio' option
-- Support Shadow password not found. Switching off shadowpw option
-- Could NOT find Monalisa (missing: MONALISA_LIBRARY MONALISA_INCLUDE_DIR)
-- Monalisa not found. Set variable MONALISA_DIR to point to your Monalisa installation
-- For the time being switching OFF 'monalisa' option
--  Alien API not found. Set variable ALIEN_DIR to point to your Alien installation, or include the installation of Alien in the CMAKE_PREFIX_PATH. For the time being switching OFF 'alien' option
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (Arrow).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/FindPkgConfig.cmake:99 (find_package_handle_standard_args)
  cmake/modules/FindArrow.cmake:39 (include)
  cmake/modules/SearchInstalledSoftware.cmake:16 (_find_package)
  cmake/modules/SearchInstalledSoftware.cmake:1021 (find_package)
  CMakeLists.txt:219 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
-- Apache Arrow API not found. Set variable ARROW_HOME to point to your Arrow installation, or include the installation of Arrow in the CMAKE_PREFIX_PATH.
-- For the time being switching OFF 'arrow' option
-- Could NOT find GFAL (missing: GFAL_INCLUDE_DIR SRM_IFCE_INCLUDE_DIR GFAL_LIBRARY)
-- GFAL library not found. Set variable GFAL_DIR to point to your gfal installation
                      and the variable SRM_IFCE_DIR to the srm_ifce installation
-- For the time being switching OFF 'gfal' option
-- Could NOT find DCAP (missing: DCAP_INCLUDE_DIR DCAP_LIBRARY)
-- dCap library not found. Set variable DCAP_DIR to point to your dCache installation
-- For the time being switching OFF 'dcache' option
-- Looking for R
-- Could NOT find R (missing: R_EXECUTABLE R_INCLUDE_DIR R_LIBRARY Rcpp RInside)
-- R installation not found. Set variable R_DIR to point to your R installation
-- For the time being switching OFF 'r' option
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Looking for uuid_generate_random in uuid
-- Looking for uuid_generate_random in uuid - not found
-- Could NOT find libuuid (missing: UUID_INCLUDE_DIR)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Davix dependencies not found, switching OFF 'davix' option.
-- Looking for TBB
-- Could NOT find TBB (missing: TBB_ROOT_DIR TBB_INCLUDE_DIR TBB_LIBRARY) (Required is at least version "2018")
-- TBB not found, enabling 'builtin_tbb' option
-- Performing Test CXX_HAS_mno_rtm
-- Performing Test CXX_HAS_mno_rtm - Success
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
  cmake/modules/SearchInstalledSoftware.cmake:1253 (ExternalProject_Add)
  CMakeLists.txt:219 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Vc library not found, support for it disabled.
-- Please enable the option 'builtin_vc' to build Vc internally.
-- VecCore not found, switching on 'builtin_veccore' option.
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
  cmake/modules/SearchInstalledSoftware.cmake:1402 (ExternalProject_Add)
  CMakeLists.txt:219 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found VecCore: /Users/diiego/software/ROOT/ROOT_6.24/build/externals//Users/diiego/software/ROOT/ROOT_6.24/install/include (found version "0.7.0")
-- Looking for VDT
-- Could NOT find Vdt (missing: VDT_INCLUDE_DIR VDT_LIBRARY) (Required is at least version "0.4")
-- VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH
--                Switching ON 'builtin_vdt' option
CMake Warning (dev) at /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:3075 (message):
  The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
  not set.  The policy's OLD behavior will be used.  When using a URL
  download, the timestamps of extracted files should preferably be that of
  the time of extraction, otherwise code that depends on the extracted
  contents might not be rebuilt if the URL changes.  The OLD behavior
  preserves the timestamps from the archive instead, but this is usually not
  what you want.  Update your project to the NEW behavior or specify the
  DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
  robustness issue.
Call Stack (most recent call first):
  /Applications/CMake.app/Contents/share/cmake-3.25/Modules/ExternalProject.cmake:4185 (_ep_add_download_command)
  cmake/modules/SearchInstalledSoftware.cmake:1478 (ExternalProject_Add)
  CMakeLists.txt:219 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for VecGeom
CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:1516 (message):
  ROOT must be built against the VecCore installation that was used to build
  VecGeom; builtin_veccore cannot be used.  Option VecGeom will be disabled.
Call Stack (most recent call first):
  CMakeLists.txt:219 (include)


-- VecGeom not found. Ensure that the installation of VecGeom is in the CMAKE_PREFIX_PATH
--               example: CMAKE_PREFIX_PATH=<VecGeom_install_path>/lib/cmake/VecGeom
--               For the time being switching OFF 'vecgeom' option
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
-- Looking for BLAS for optional parts of TMVA
-- Looking for sgemm_
-- Looking for sgemm_ - not found
-- Looking for dgemm_
-- Looking for dgemm_ - found
-- Found BLAS: /System/Library/Frameworks/Accelerate.framework
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Looking for PySpark
-- Looking for PySpark dependency: Java
-- Java version check failed: /usr/bin/java -version returned an error: "The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java."
-- Could NOT find Java (missing: Java_JAVA_EXECUTABLE Runtime) (Required is at least version "1.8")
-- Switching OFF 'test_distrdf_pyspark' option
-- Building LLVM in 'Release' mode.
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Could NOT find Z3: Found unsuitable version "0.0.0", but required is at least "4.7.1" (found Z3_LIBRARIES-NOTFOUND)
-- Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Could NOT find Backtrace (missing: Backtrace_INCLUDE_DIR)
-- Native target ARM is not selected; lli will not JIT code
-- Threads disabled.
-- Doxygen disabled.
-- Go bindings disabled.
-- Found ld64 - /Library/Developer/CommandLineTools/usr/bin/ld
-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH)
-- OCaml bindings disabled.
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
-- LLVM host triple: arm-apple-darwin22.4.0
-- LLVM default target triple: arm-apple-darwin22.4.0
-- Building with -fPIC
-- Found PythonInterp: /opt/homebrew/bin/python3.9 (found version "3.9.16")
-- Constructing LLVMBuild project information
-- Linker detection: ld64
-- Targeting AArch64
-- Targeting NVPTX
-- Clang version: 9.0.1
-- Cling version (from VERSION file): ROOT_0.9~dev
-- Cling will look for C++ headers in '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1' at runtime.
-- And then fallback to: 'c++'
-- Performing Test CXX_HAS_fno_rtti
-- Performing Test CXX_HAS_fno_rtti - Success
-- Performing Test C_HAS_Wno_strict_overflow
-- Performing Test C_HAS_Wno_strict_overflow - Success
-- Performing Test C_HAS_Wno_maybe_uninitialized
-- Performing Test C_HAS_Wno_maybe_uninitialized - Failed
-- Performing Test C_HAS_Wno_parentheses_equality
-- Performing Test C_HAS_Wno_parentheses_equality - Success
-- Looking for m
-- Looking for m - not found
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG
-- Performing Test GCC_HAS_BIDI_CHARS_FLAG - Failed
-- Performing Test CXX_HAS_Wno_deprecated_declarations
-- Performing Test CXX_HAS_Wno_deprecated_declarations - Success
-- Performing Test found_setresuid
-- Performing Test found_setresuid - Failed
-- Performing Test found_stdstringview
-- Performing Test found_stdstringview - Success
-- Performing Test found_stod_stringview
-- Performing Test found_stod_stringview - Failed
-- Performing Test found_opplusequal_stringview
-- Performing Test found_opplusequal_stringview - Success
-- Performing Test found_stdapply
-- Performing Test found_stdapply - Failed
-- Performing Test found_stdinvoke
-- Performing Test found_stdinvoke - Failed
-- Performing Test found_stdindexsequence
-- Performing Test found_stdindexsequence - Failed
-- Performing Test found_attribute_always_inline
-- Performing Test found_attribute_always_inline - Success
-- Performing Test has_found_attribute_noinline
-- Performing Test has_found_attribute_noinline - Success
-- Performing Test found_hardware_interference_size
-- Performing Test found_hardware_interference_size - Failed
Running /Users/diiego/software/ROOT/ROOT_6.24/v6-24-00-patches/build/unix/compiledata.sh
Making /Users/diiego/software/ROOT/ROOT_6.24/build/ginclude/compiledata.h
-- ROOT Configuration

System          Darwin-22.4.0
Processor       8 core Apple M2 (arm64)
Build type      Release
Install path    /Users/diiego/software/ROOT/ROOT_6.24/install
Compiler        AppleClang 14.0.3.14030022
Compiler flags:
C                -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O2 -DNDEBUG
C++              -std=c++11 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -stdlib=libc++ -O2 -DNDEBUG
Linker flags:
Executable       -mmacosx-version-min=13.3
Module
Shared

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_pcre builtin_tbb builtin_unuran builtin_vdt builtin_veccore builtin_xxhash builtin_zlib cefweb clad cocoa cuda cudnn dataframe exceptions fortran gdml http imt libcxx mathmore memstat mlp minuit2 pyroot qt5web roofit runtime_cxxmodules shared ssl tmva tmva-cpu tmva-pymva spectrum unuran vmc vdt veccore
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/diiego/software/ROOT/ROOT_6.24/build

And then make -j4, however, it gives this error output:

[  0%] Creating directories for 'TBB'
[  0%] Creating directories for 'VDT'
[  0%] Creating directories for 'VECCORE'
[  0%] Creating directories for 'FREETYPE'
[  0%] Performing download step (download, verify and extract) for 'TBB'
[  0%] Performing download step (download, verify and extract) for 'VECCORE'
[  0%] Performing download step (verify and extract) for 'FREETYPE'
[  0%] Performing download step (download, verify and extract) for 'VDT'
-- FREETYPE download command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-download-*.log
[  0%] No update step for 'FREETYPE'
[  0%] No patch step for 'FREETYPE'
[  0%] Performing configure step for 'FREETYPE'
-- VDT download command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VDT-prefix/src/VDT-stamp/VDT-download-*.log
[  0%] No update step for 'VDT'
[  0%] No patch step for 'VDT'
[  0%] Performing configure step for 'VDT'
-- VECCORE download command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VECCORE-prefix/src/VECCORE-stamp/VECCORE-download-*.log
[  0%] No update step for 'VECCORE'
[  0%] No patch step for 'VECCORE'
[  0%] Performing configure step for 'VECCORE'
-- TBB download command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/TBB-prefix/src/TBB-stamp/TBB-download-*.log
[  0%] No update step for 'TBB'
[  0%] Performing patch step for 'TBB'
patching file 'build/macos.inc'
[  0%] No configure step for 'TBB'
[  0%] Performing build step for 'TBB'
-- VECCORE configure command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VECCORE-prefix/src/VECCORE-stamp/VECCORE-configure-*.log
[  0%] Performing build step for 'VECCORE'
-- VECCORE build command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VECCORE-prefix/src/VECCORE-stamp/VECCORE-build-*.log
[  0%] Performing install step for 'VECCORE'
-- VECCORE install command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VECCORE-prefix/src/VECCORE-stamp/VECCORE-install-*.log
[  0%] Completed 'VECCORE'
make[1]: *** read jobs pipe: Resource temporarily unavailable.  Stop.
make[1]: *** Waiting for unfinished jobs....
[  0%] Built target VECCORE
CMake Error at /Users/diiego/software/ROOT/ROOT_6.24/build/TBB-prefix/src/TBB-stamp/TBB-build-Release.cmake:49 (message):
  Command failed: 2

   'make' 'compiler=clang' 'cpp0x=1' 'CXXFLAGS= -mno-rtm' 'CPLUS=/usr/bin/c++' 'CONLY=/usr/bin/cc' 'LDFLAGS='

  See also

    /Users/diiego/software/ROOT/ROOT_6.24/build/TBB-prefix/src/TBB-stamp/TBB-build-*.log


make[2]: *** [TBB-prefix/src/TBB-stamp/TBB-build] Error 1
make[1]: *** [CMakeFiles/TBB.dir/all] Error 2
-- VDT configure command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VDT-prefix/src/VDT-stamp/VDT-configure-*.log
[  0%] Performing build step for 'VDT'
-- VDT build command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VDT-prefix/src/VDT-stamp/VDT-build-*.log
[  0%] Performing install step for 'VDT'
-- VDT install command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/VDT-prefix/src/VDT-stamp/VDT-install-*.log
[  0%] Performing copy2externals step for 'VDT'
[  0%] Completed 'VDT'
[  0%] Built target VDT
-- FREETYPE configure command succeeded.  See also /Users/diiego/software/ROOT/ROOT_6.24/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-*.log
[  0%] Performing build step for 'FREETYPE'
CMake Error at /Users/diiego/software/ROOT/ROOT_6.24/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-Release.cmake:49 (message):
  Command failed: 2

   '/Library/Developer/CommandLineTools/usr/bin/make'

  See also

    /Users/diiego/software/ROOT/ROOT_6.24/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-*.log


make[2]: *** [FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build] Error 1
make[1]: *** [CMakeFiles/FREETYPE.dir/all] Error 2
make: *** [all] Error 2

Some help would be very appreciated, thanks in advance, Diego

I am not sure that will help but what about trying : -Dbuiltin_freetype=ON
Alos make sure you reinstall from scratch. Empty the build folder before doing cmake.

Thanks, but I already solved it myself. I don’t know why but uninstalling and reinstalling the Xcode command line tools worked.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.