Home | News | Documentation | Download

Problem opening Displays using root on Macbook Air


Please read tips for efficient and successful posting and posting code

_ROOT Version:_6.24/06 (installed via homebrew)
Platform: Macbook Air M1
Compiler: Apple clang version 13.0.0 (clang-1300.0.29.30)


Installed root using homebrew and now I can’t open any windows/displays from root.

Here is a simple test and its result:

root
root [0] TH1F h;
root [1] h.Draw();
Warning in TCanvas::ResizePad: gPad has at least one zero dimension.
Info in TCanvas::MakeDefCanvas: created default TCanvas with name c1

No window opens. Also, just typing “TBrowser a” yields:

root [0] TBrowser a
(TBrowser &) Name: Browser Title: ROOT Object Browser

but nothing happens.

Similarly, when I try to display a detector geometry I get:
Info in TGeoManager::TGeoManager: Geometry world, simulation world created

Warning in : Changing system of units to ROOT units (cm, s, GeV).

Info in TGeoManager::SetTopVolume: Top volume is ExpHall. Master volume is ExpHall

Info in TGeoNavigator::BuildCache: — Maximum geometry depth set to 100

Error in TGeoManager::GetGeomPainter: not found plugin root for geo_painter

*** Break *** segmentation violation

Note this file works fine on other Mac OSX systems.

Any ideas?

Thanks,
Wolfgang

Maybe @couet knows what could be the problem…

I tried this on my Mac. It works: It displays an empty plot with axis. I am running ROOT 6.26 with a “Macbook Intel” running OSX 12.1. I installed ROOT from sources.

Hi @couet,
Yes, I agree, on “Macbook Intel” running OSX 12.1 with ROOT installed from sources works. Also, the precompiled version (ARM1) on your download site seems to work. However, I can’t compile the source code and the homebrew version for ARM1 has the problem mentioned above. Thanks for all your help!!

Best,
Wolfgang

I do not have access to an ARM1 machine right now. I do not know about the Homebrew version but I do not understand why you could not compile it from the sources ?

Hi @couet,
compiling it from sources fails pretty early.

patch: **** out of memory
make[2]: *** [builtins/openssl/OPENSSL-prefix/src/OPENSSL-stamp/OPENSSL-patch] Error 2
make[1]: *** [builtins/openssl/CMakeFiles/OPENSSL.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
.
.
.
5%] Built target FREETYPE
[ 5%] Linking C shared library …/…/lib/libGLEW.dylib
[ 5%] Built target GLEW
make: *** [all] Error 2

Oops … “out of memory” ?
Can you post the beginning of the log to see what you did exactly ?
Which command you typed to install root ?

I don’t have the first lines of the compilation right now but I normally start with
cmake -Droot7=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_STANDARD=14 -Dgdml=ON -Dcocoa=ON -Dr=ON -Dpythia8=OFF -Dvmc=ON -Dminuit2=ON -Dbuiltin_glew=ON -DPython3_EXECUTABLE=/usr/local/bin/python3 /usr/local/cern/root-6.24.06/ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang+

and then I type either

make -f Makefile -j8

(for 8 cores) or

cmake --build . -j8

The compilation starts fine and then at some point I get the out of memory message.

Could it be that your computer is really short in memory ?

Unlikely, it’s a 16 GB laptop. I could compile ROOT on a similar system (with intel processors) before. I think (some of) my cmake options may not be properly set. I will continue to investigate. At least the precompiled version seems to work.

does it work if you use the default ones ?

I am not sure whether I tried the default ones. I turned off and on several options to no avail.

I mean cmake without any option … That’s the first think to try I would say ?

in build dir:

cmake /usr/local/cern/root-6.24.06/

... everything ok until

-- Looking for GLEW
-- Found GLEW: /usr/local/lib/cmake/glew/glew-config.cmake  
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:571 (message):
  Please enable builtin Glew due bug in latest CMake (use cmake option
  -Dbuiltin_glew=ON).
Call Stack (most recent call first):
  CMakeLists.txt:219 (include)

Now:

cmake /usr/local/cern/root-6.24.06/ -Dbuiltin_glew=ON

runs to completion

System          Darwin-21.2.0
Processor       8 core Apple M1 (x86_64)
Build type      Release
Install path    /usr/local
Compiler        AppleClang 13.0.0.13000029
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=12.1
Module          
Shared          

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_glew builtin_llvm builtin_nlohmannjson builtin_openssl builtin_openui5 clad cocoa dataframe davix exceptions fftw3 fitsio gdml http imt libcxx mathmore mlp opengl pyroot pythia6 roofit runtime_cxxmodules shared sqlite ssl tmva tmva-cpu tmva-pymva spectrum vdt xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/cern/build

now I do:

local/cern/build > cmake --build . -j8 > output.txt                     
patch: **** out of memory
make[2]: *** [builtins/openssl/OPENSSL-prefix/src/OPENSSL-stamp/OPENSSL-patch] Error 2
make[1]: *** [builtins/openssl/CMakeFiles/OPENSSL.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 2

The output file is ok until:

 FREETYPE configure command succeeded.  See also /usr/local/cern/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-*.log
[  6%] Performing build step for 'FREETYPE'
-- FREETYPE build command succeeded.  See also /usr/local/cern/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-*.log
[  6%] No install step for 'FREETYPE'
[  6%] Completed 'FREETYPE'
[  6%] Built target FREETYPE
[  7%] Linking C shared library ../../lib/libGLEW.dylib
[  7%] Built target GLEW

Usually at that step I simply go in the build directory and do: make -j8
I do not know if that makes a difference or not ?

I tried that as well, but unfortunately there is no difference between the make and cmake command at this stage. Hmm.

I also tried now to add the option -Dbuiltin_freetype=OFF but cmake seems to turn it on again and then I get:
– FREETYPE configure command succeeded. See also /usr/local/cern/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-configure-*.log

[ 9%] Performing build step for 'FREETYPE’

– FREETYPE build command succeeded. See also /usr/local/cern/build/FREETYPE-prefix/src/FREETYPE-stamp/FREETYPE-build-*.log

[ 9%] No install step for 'FREETYPE’

[ 9%] Completed 'FREETYPE’

[ 9%] Built target FREETYPE
make: *** [all] Error 2

Let me try on an M1 machine here.

I just tried a fresh build on a M1 machine running OSX 12.1 and it is ok:

sftnight@macphsft26 couet % git clone https://github.com/root-project/root.git
Cloning into 'root'...
remote: Enumerating objects: 793369, done.
remote: Total 793369 (delta 0), reused 0 (delta 0), pack-reused 793369
Receiving objects: 100% (793369/793369), 890.74 MiB | 13.49 MiB/s, done.
Resolving deltas: 100% (563146/563146), done.
Updating files: 100% (21382/21382), done.
sftnight@macphsft26 couet % mkdir build
sftnight@macphsft26 couet % cd build
sftnight@macphsft26 build % cmake ../root
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.30.1 (Apple Git-130)") 
-- Detected ROOT_VERSION 6.27.01
-- Checking internet connectivity...
-- Yes
-- Looking for Python
-- Could NOT find Python3 (missing: Python3_NumPy_INCLUDE_DIRS NumPy) (found version "3.8.10")
-- Found Python2: /usr/bin/python2.7 (found version "2.7.18") found components: Interpreter Development NumPy Development.Module Development.Embed 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found a macOS system 12.1
-- Found an AArch64 system
-- Performing Test GLIBCXX_USE_CXX11_ABI
-- Performing Test GLIBCXX_USE_CXX11_ABI - Failed
-- ROOT Platform: macosx
-- ROOT Compiler: AppleClang 13.0.0.13000029
-- ROOT Processor: arm64
-- ROOT Architecture: macosxarm64
-- Build Type: 'Release' (flags = '-O3 -DNDEBUG')
-- Compiler Flags:  -std=c++14 -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++ -O3 -DNDEBUG
-- ROOT default compression algorithm: zlib
-- PyROOT will be built for versions 3.8.10 (Main) and 2.7.18
-- Looking for ZLib
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/libz.tbd (found version "1.2.11") 
-- Looking for nlohmann/json.hpp
-- nlohmann/json.hpp not found. Switching on builtin_nlohmannjson option
-- Building freetype version 2.6.1 included in ROOT itself
-- Looking for PCRE
-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR) 
-- PCRE not found. Switching on builtin_pcre option
-- Looking for LZMA
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_auto_decoder in /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_easy_encoder in /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/liblzma.tbd - found
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/liblzma.tbd
-- Looking for lzma_lzma_preset in /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/liblzma.tbd - found
-- Could NOT find LibLZMA (missing: LIBLZMA_INCLUDE_DIR) 
-- LZMA not found. Switching on builtin_lzma option
-- Building LZMA version 5.2.4 included in ROOT itself
-- Looking for xxHash
-- Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR) 
-- xxHash not found. Switching on builtin_xxhash option
-- Looking for ZSTD
-- Could NOT find ZSTD (missing: ZSTD_LIBRARIES ZSTD_INCLUDE_DIR ZSTD_VERSION) 
-- ZSTD not found. Switching on builtin_zstd option
-- Performing Test CXX_FLAG_STD_CPLUSPLUS11
-- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success
-- Performing Test C_FLAG_STD_C99
-- Performing Test C_FLAG_STD_C99 - Success
-- Performing Test C_FLAG_WALL
-- Performing Test C_FLAG_WALL - Success
-- Performing Test CXX_FLAG_WALL
-- Performing Test CXX_FLAG_WALL - Success
-- Performing Test C_FLAG_WEXTRA
-- Performing Test C_FLAG_WEXTRA - Success
-- Performing Test CXX_FLAG_WEXTRA
-- Performing Test CXX_FLAG_WEXTRA - Success
-- Performing Test C_FLAG_WUNDEF
-- Performing Test C_FLAG_WUNDEF - Success
-- Performing Test CXX_FLAG_WUNDEF
-- Performing Test CXX_FLAG_WUNDEF - Success
-- Performing Test C_FLAG_WSHADOW
-- Performing Test C_FLAG_WSHADOW - Success
-- Performing Test CXX_FLAG_WSHADOW
-- Performing Test CXX_FLAG_WSHADOW - Success
-- Performing Test C_FLAG_WCAST_ALIGN
-- Performing Test C_FLAG_WCAST_ALIGN - Success
-- Performing Test CXX_FLAG_WCAST_ALIGN
-- Performing Test CXX_FLAG_WCAST_ALIGN - Success
-- Performing Test C_FLAG_WCAST_QUAL
-- Performing Test C_FLAG_WCAST_QUAL - Success
-- Performing Test CXX_FLAG_WCAST_QUAL
-- Performing Test CXX_FLAG_WCAST_QUAL - Success
-- Performing Test C_FLAG_WSTRICT_PROTOTYPES
-- Performing Test C_FLAG_WSTRICT_PROTOTYPES - Success
-- Looking for LZ4
-- Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR) 
-- LZ4 not found. Switching on builtin_lz4 option
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR) 
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) 
-- Found PNG: /usr/X11R6/lib/libpng.dylib (found version "1.6.38.git") 
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR) 
-- 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
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- Could NOT find GSL: Found unsuitable version "", but required is at least "1.10" (found GSL_INCLUDE_DIR-NOTFOUND)
-- GSL not found. Set variable GSL_ROOT_DIR to point to your GSL installation
--                Alternatively, you can also enable the option 'builtin_gsl' to build the GSL libraries internally'
--                For the time being switching OFF 'mathmore' option
-- Looking for OpenGL
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/System/Library/Frameworks/OpenGL.framework   
-- Looking for GLEW
-- Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES) 
-- GLEW not found. Switching on builtin_glew option
-- Looking for gl2ps
-- Could NOT find gl2ps (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) 
-- gl2ps not found. Switching on builtin_gl2ps option
-- Looking for LibXml2
-- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/lib/libxml2.tbd (found version "2.9.4") 
-- 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.
-- Found OpenSSL: /Users/sftnight/couet/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 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 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) 
-- Found Sqlite: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include  
-- 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
-- Looking for XROOTD
-- XROOTD not found, enabling 'builtin_xrootd' option
-- Downloading and building XROOTD version 5.3.1
-- 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 FTGL (missing: FTGL_INCLUDE_DIR FTGL_LIBRARY) 
-- ftgl library not found. Set variable FTGL_ROOT_DIR to point to your installation
-- For the time being switching ON 'builtin_ftgl' 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
-- Found libuuid: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include  
-- 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
-- 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
-- Cannot select cudnn without selecting cuda or tmva-gpu. Option is ignored
-- 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: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/System/Library/Frameworks/Accelerate.framework  
-- TMVA: Numpy or Python development package not found for python /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8. Switching off tmva-pymva option
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB
-- Performing Test ROOT_HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
-- Building LLVM in 'Release' mode.
-- The ASM compiler identification is Clang
-- 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
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /Library/Developer/CommandLineTools/SDKs/MacOSX12.0.sdk/usr/include  
-- 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-darwin21.2.0
-- LLVM default target triple: arm-apple-darwin21.2.0
-- Building with -fPIC
-- Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 (found version "3.8.10") 
-- Constructing LLVMBuild project information
-- Linker detection: ld64
-- Targeting AArch64
-- Targeting NVPTX
-- Clang version: 9.0.1
-- Cling version (from VERSION file): ROOT_1.0~dev
-- Cling will look for C++ headers in '/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1' at runtime.
-- And if not found, will invoke: '/Library/Developer/CommandLineTools/usr/bin/c++ ' for them.
-- 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 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 - Success
-- 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/sftnight/couet/root/build/unix/compiledata.sh
Making /Users/sftnight/couet/build/ginclude/compiledata.h
-- ROOT Configuration 

System          Darwin-21.2.0
Processor       8 core Apple M1 (arm64)
Build type      Release
Install path    /usr/local
Compiler        AppleClang 13.0.0.13000029
Compiler flags:
C                -m64 -pipe -W -Wall -fsigned-char -fno-common -Qunused-arguments -pthread -O3 -DNDEBUG
C++              -std=c++14 -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++ -O3 -DNDEBUG
Linker flags:
Executable       -mmacosx-version-min=12.1
Module          
Shared          

-- Enabled support for:  asimage builtin_afterimage builtin_clang builtin_cling builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_lzma builtin_nlohmannjson builtin_openssl builtin_openui5 builtin_pcre builtin_tbb builtin_vdt builtin_xrootd builtin_xxhash builtin_zstd clad cocoa dataframe exceptions gdml http imt libcxx mlp minuit2 opengl pyroot roofit rpath runtime_cxxmodules shared sqlite ssl tmva tmva-cpu spectrum vdt xml xrootd
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sftnight/couet/build
sftnight@macphsft26 build % make -j8
[  1%] Copying header /Users/sftnight/couet/root/graf3d/csg/inc/CsgOps.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TAxis3D.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/CocoaConstants.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TArcBall.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gviz3d/inc/TStructNode.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveArrow.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTBBox.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/rglew/inc/TGLIncludes.h to /Users/sftnight/couet/build/include
[  1%] Built target move_header_graf3d_csg
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/CocoaGuiTypes.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TBRIK.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TF2GL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTBitmapGlyph.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gviz3d/inc/TStructNodeEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveArrowEditor.h to /Users/sftnight/couet/build/include
[  1%] Built target move_header_graf3d_rglew
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/FontCache.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/HelpText.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGL5D.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TCONE.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGL5DDataSetEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gviz3d/inc/TStructNodeProperty.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTCharToGlyphIndexMap.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/MenuLoader.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveArrowGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGL5DPainter.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TG3DLine.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TCONS.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTCharmap.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/QuartzPixmap.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveBox.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gviz3d/inc/TStructViewer.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLAdapter.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGApplication.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TCTUB.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTContour.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/HelpSMText.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveBoxGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/QuartzWindow.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gviz3d/inc/TStructViewerGUI.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLAnnotation.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TELTU.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGButton.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TArrowEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTExtrdGlyph.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveBoxSet.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/ROOTApplicationDelegate.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TGTRA.h to /Users/sftnight/couet/build/include
[  1%] Built target move_header_graf3d_gviz3d
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLAutoRotator.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TAttFillEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGButtonGroup.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTFace.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/ROOTOpenGLView.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TGeometry.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLAxis.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveBoxSetGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGCanvas.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTFont.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TAttLineEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/TGCocoa.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/fitpanel/inc/TAdvancedGraphicsDialog.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/THYPE.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveBrowser.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLAxisPainter.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGClient.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/THelix.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/fitpanel/inc/TFitEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TAttMarkerEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/TGOSXGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveCalo.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTGLBitmapFont.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLBoundingBox.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGColorDialog.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TAttTextEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/fitpanel/inc/TFitParametersDialog.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TMarker3DBox.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/TGQuartz.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveCalo2DGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLBoxPainter.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TAxisEditor.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGColorSelect.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTGLExtrdFont.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/gui/fitpanel/inc/TTreeInput.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/g3d/inc/TMaterial.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf2d/cocoa/inc/X11Atoms.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/eve/inc/TEveCalo3DGL.h to /Users/sftnight/couet/build/include
[  1%] Copying header /Users/sftnight/couet/root/graf3d/gl/inc/TGLCamera.h to /Users/sftnight/couet/build/include
[  2%] Copying header /Users/sftnight/couet/root/gui/gui/inc/TGComboBox.h to /Users/sftnight/couet/build/include
[  2%] Copying header /Users/sftnight/couet/root/gui/ged/inc/TCurlyArcEditor.h to /Users/sftnight/couet/build/include
[  2%] Copying header /Users/sftnight/couet/root/graf3d/ftgl/inc/FTGLOutlineFont.h to /Users/sftnight/couet/build/include

............

Thanks. I exactly followed your steps and I still get the same error. I guess I will reinstall my system.
Thanks for all the help.