Unexpected failure executing llvm-build on Mac OS


ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Hello,
I have been trying to get started with root. Cmake, python 2 and xcode are updated, and I am running root6. I get the same error again and again:

XROOTD not found. Set environment variable XRDSYS to point to your XROOTD installation
– Alternatively, you can also enable the option ‘builtin_xrootd’ to build XROOTD internally
– For the time being switching OFF ‘xrootd’ 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 PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
– Looking for uuid_generate_random in uuid
– Looking for uuid_generate_random in uuid - not found
– Found uuid: /usr/include
– Davix not found, switching ON ‘builtin_davix’ option.
– Looking for clock_gettime
– Looking for clock_gettime - found
– Looking for TBB
– Could NOT find TBB (missing: TBB_ROOT_DIR TBB_INCLUDE_DIR TBB_LIBRARY)
– TBB not found. Switching on 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)
– VDT not found. Ensure that the installation of VDT is in the CMAKE_PREFIX_PATH
– Switching ON ‘builtin_vdt’ option
– 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
– Enabled support for: asimage astiff builtin_afterimage builtin_clang builtin_davix builtin_freetype builtin_ftgl builtin_gl2ps builtin_glew builtin_llvm builtin_lz4 builtin_lzma builtin_openssl builtin_pcre builtin_tbb builtin_vdt builtin_xxhash clad cling cocoa cxx11 davix exceptions explicitlink gdml http imt libcxx opengl pch python roofit shared sqlite ssl thread tmva tmva-cpu vdt xml
– The ASM compiler identification is AppleClang
– Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc
– Found libtool - /Library/Developer/CommandLineTools/usr/bin/libtool
CMake Warning (dev) at interpreter/llvm/src/CMakeLists.txt:341 (option):
Policy CMP0077 is not set: option() honors normal variables. Run “cmake
–help-policy CMP0077” for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable ‘BUILD_SHARED_LIBS’.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at interpreter/llvm/src/CMakeLists.txt:396 (option):
Policy CMP0077 is not set: option() honors normal variables. Run “cmake
–help-policy CMP0077” for policy details. Use the cmake_policy command to
set the policy and suppress this warning.

For compatibility with older versions of CMake, option is clearing the
normal variable ‘LLVM_ENABLE_ASSERTIONS’.
This warning is for project developers. Use -Wno-dev to suppress it.

– Looking for backtrace
– Looking for backtrace - found
– backtrace facility detected in default set of libraries
– Found Backtrace: /usr/include
– Native target architecture is X86
– Threads disabled.
– Doxygen disabled.
– Go bindings disabled.
– Found ld64 - /Library/Developer/CommandLineTools/usr/bin/ld
– LLVM host triple: x86_64-apple-darwin17.7.0
– LLVM default target triple: x86_64-apple-darwin17.7.0
– Building with -fPIC
– Constructing LLVMBuild project information
CMake Error at interpreter/llvm/src/CMakeLists.txt:661 (message):
Unexpected failure executing llvm-build: Traceback (most recent call last):

File "/Users/adriana/Desktop/myroot/root/interpreter/llvm/src/utils/llvm-build/llvm-build", line 3, in <module>
  import llvmbuild
File "/Users/adriana/Desktop/myroot/root/interpreter/llvm/src/utils/llvm-build/llvmbuild/__init__.py", line 1, in <module>
  from llvmbuild.main import main
File "/Users/adriana/Desktop/myroot/root/interpreter/llvm/src/utils/llvm-build/llvmbuild/main.py", line 1, in <module>
  from __future__ import absolute_import

ModuleNotFoundError: No module named ‘future

– Configuring incomplete, errors occurred!

Your Python installation seems to be missing the __future__ module. Which Python are you using? Can you run python -c 'import __future__'? I cannot see information about Python in the output pasted above. Please attach your CMakeCache.txt too if you can. Cheers,

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