ROOT Version: 6.22.00
Platform: OSX 10.14.6
Compiler: clang 11.0.0
I am having a problem building 6.22.00 on my Mac. The CMake log and the part where the build fails are at the bottom. I can build 6.20 without problems. The distributed binary of 6.22 built for OSX 10.14 with clang 10 works for me with python2 but not python3. I would prefer not to move to Catalina yet if I can avoid it. Any help building with both python2 and python3 support would be appreciated.
Thanks
Vava
β BUILD FAILURE β
Scanning dependencies of target Base
[ 71%] Building CXX object core/base/CMakeFiles/Base.dir/src/Match.cxx.o
Scanning dependencies of target Unix
[ 71%] Building CXX object core/unix/CMakeFiles/Unix.dir/src/TUnixSystem.cxx.o
[ 71%] Building CXX object core/base/CMakeFiles/Base.dir/src/String.cxx.o
[ 71%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TIsAProxy.cxx.o
In file included from /Users/gligorov/root-6.22.00/core/base/src/String.cxx:19:
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:393:31: error: βTmplβ does not refer to a value
auto cl = TClass::GetClass();
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:382:17: note: declared here
template TBuffer &operator>>(TBuffer &buf, Tmpl *&obj)
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:393:37: error: expected expression
auto cl = TClass::GetClass();
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:400:39: error: βTmplβ does not refer to a value
auto cl = (obj) ? TClass::GetClass() : nullptr;
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:398:17: note: declared here
template TBuffer &operator<<(TBuffer &buf, const Tmpl *obj)
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:400:45: error: expected expression
auto cl = (obj) ? TClass::GetClass() : nullptr;
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:412:42: error: βTβ does not refer to a value
auto cl = (objptr) ? TClass::GetClass() : nullptr;
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:409:17: note: declared here
template
^
/Users/gligorov/root-6.22.00/core/base/inc/TBuffer.h:412:45: error: expected expression
auto cl = (objptr) ? TClass::GetClass() : nullptr;
^
6 errors generated.
make[2]: *** [core/base/CMakeFiles/Base.dir/src/String.cxx.o] Error 1
make[1]: *** [core/base/CMakeFiles/Base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobsβ¦
[ 71%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TListOfDataMembers.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TListOfEnums.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TListOfEnumsWithLock.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TListOfFunctions.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TListOfFunctionTemplates.cxx.o
[ 72%] Built target Unix
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TMethod.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TMethodArg.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TMethodCall.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TProtoClass.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TRealData.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TSchemaRule.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TSchemaRuleSet.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TStatusBitsChecker.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TStreamerElement.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TViewPubDataMembers.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TViewPubFunctions.cxx.o
[ 72%] Building CXX object core/meta/CMakeFiles/Meta.dir/src/TVirtualStreamerInfo.cxx.o
[ 72%] Built target Meta
[ 72%] Linking CXX static library β¦/β¦/β¦/β¦/lib/libclangCodeGen.a
[ 72%] Built target clangCodeGen
[ 72%] Linking CXX static library β¦/β¦/libLLVMX86CodeGen.a
[ 72%] Built target LLVMX86CodeGen
make: *** [all] Error 2
β CMAKE LOG β
β The C compiler identification is AppleClang 11.0.0.11000033
β The CXX compiler identification is AppleClang 11.0.0.11000033
β Detecting C compiler ABI info
β Detecting C compiler ABI info - done
β Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
β Detecting CXX compile features
β Detecting CXX compile features - done
β Found Git: /usr/bin/git (found version β2.21.1 (Apple Git-122.3)β)
β Looking for Python
β Found Python3: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 (found version β3.8.5β) found components: Interpreter Development NumPy Development.Module Development.Embed
β Found Python2: /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (found version β2.7.15β) found components: Interpreter Development NumPy Development.Module Development.Embed
β ROOT default compression algorithm: zlib
β PyROOT will be built for versions 3.8.5 (Main) and 2.7.15
β 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 Mac OS X System 10.14
β Found a 64bit system
β Found LLVM compiler collection
β Performing Test GLIBCXX_USE_CXX11_ABI
β Performing Test GLIBCXX_USE_CXX11_ABI - Failed
β ROOT Platform: macosx
β ROOT Architecture: macosx64
β Build Type: Release (flags = β-O3 -DNDEBUGβ)
β Compiler Flags: -O3 -DNDEBUG -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++
β Looking for ZLib
β Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libz.tbd (found version β1.2.11β)
β Building freetype version 2.6.1 included in ROOT itself
β Looking for PCRE
β Found PCRE: /usr/local/include (found version β8.42β)
β Looking for LZMA
β Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/liblzma.tbd
β Looking for lzma_auto_decoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/liblzma.tbd - found
β Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/liblzma.tbd
β Looking for lzma_easy_encoder in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/liblzma.tbd - found
β Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/liblzma.tbd
β Looking for lzma_lzma_preset in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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 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 xxHash
β Could NOT find xxHash (missing: xxHash_LIBRARY xxHash_INCLUDE_DIR)
β xxHash not found. Switching on builtin_xxhash option
β 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)
β Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
β 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
β Found PkgConfig: /usr/local/bin/pkg-config (found version β0.29.2β)
β Found GSL: /usr/local/Cellar/gsl/2.5/include (found suitable version β2.5β, minimum required is β1.10β)
β Looking for OpenGL
β Found OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework
β 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: /usr/lib/libxml2.dylib (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_INCLUDE_DIR)
β OpenSSL not found, switching ON βbuiltin_opensslβ option.
β Found OpenSSL: /Users/gligorov/root-6.22.00/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_INCLUDE_DIR)
β PostgreSQL not found. Switching off pgsql option
β Looking for SQLite
β Found Sqlite: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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
β 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 not found. Set variable FTGL_ROOT_DIR to point to your installation
β For the time being switching ON βbuiltin_ftglβ option
β Checking for module βdavix>=0.6.4β
β No package βdavixβ found
β Looking for uuid_generate_random in uuid
β Looking for uuid_generate_random in uuid - not found
β Found libuuid: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.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) (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
β Found Vdt: /usr/local/include (found suitable version β0.4β, minimum required is β0.4β)
β 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: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Accelerate.framework
β 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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
β Found libtool - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
β Looking for backtrace
β Looking for backtrace - found
β backtrace facility detected in default set of libraries
β Found Backtrace: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include
β Native target architecture is X86
β Threads disabled.
β Doxygen disabled.
β Go bindings disabled.
β Found ld64 - /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
β LLVM host triple: x86_64-apple-darwin18.7.0
β LLVM default target triple: x86_64-apple-darwin18.7.0
β Building with -fPIC
β Found PythonInterp: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 (found version β3.8.5β)
β Constructing LLVMBuild project information
β SysLibs: curses;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libz.tbd
β Targeting X86
β Targeting NVPTX
β Clang version: 5.0.0
β Cling version (from VERSION file): ROOT_0.7~dev
β Cling will look for C++ headers in β/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/β¦/include/c++/v1β at runtime.
β And if not found, will invoke: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ β for them.
β Performing Test __result
β Performing Test __result - Failed
β Performing Test CXX_HAS_fno_rtti
β Performing Test CXX_HAS_fno_rtti - Success
β Performing Test CXX_HAS_Wno_conditional_uninitialized
β Performing Test CXX_HAS_Wno_conditional_uninitialized - 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 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
Running /Users/gligorov/root-6.22.00/build/unix/compiledata.sh
Making /Users/gligorov/root-6.22.00/build/ginclude/compiledata.h
β Enabled support for: asimage builtin_afterimage builtin_clang builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_lzma builtin_openssl builtin_tbb builtin_xrootd builtin_xxhash builtin_zstd clad cocoa dataframe exceptions gdml http imt libcxx mathmore mlp opengl pyroot 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: /Users/gligorov/root-6.22.00/build