Cmake build error with root 6.13.02 due to LZMA


I’m facing the error below when building ROOT 6.13.02 on macOS 10.13.4 with xcode 9.3.

Someone else reported the same issue some time ago here but there was no solution. I would be more than glad if anyone could comment on this.


Scanning dependencies of target LLVMOption
[ 27%] Building CXX object interpreter/llvm/src/lib/Option/CMakeFiles/LLVMOption.dir/Arg.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/Option/CMakeFiles/LLVMOption.dir/ArgList.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/MC/CMakeFiles/LLVMMC.dir/MCMachObjectTargetWriter.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/MC/CMakeFiles/LLVMMC.dir/MCNullStreamer.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/Option/CMakeFiles/LLVMOption.dir/Option.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/MC/CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/Option/CMakeFiles/LLVMOption.dir/OptTable.cpp.o
[ 27%] Building CXX object interpreter/llvm/src/lib/MC/CMakeFiles/LLVMMC.dir/MCObjectStreamer.cpp.o
[ 27%] Linking CXX static library …/libLLVMOption.a
[ 27%] Built target LLVMOption
Scanning dependencies of target LZMA
[ 27%] Creating directories for ‘LZMA’
[ 27%] Performing download step (verify and extract) for ‘LZMA’
– LZMA download command succeeded. See also /Applications/root_6.13.02_build/LZMA-prefix/src/LZMA-stamp/LZMA-download-*.log
[ 27%] No patch step for ‘LZMA’
[ 27%] No update step for ‘LZMA’
[ 27%] Performing configure step for ‘LZMA’
[ 27%] Building CXX object interpreter/llvm/src/lib/MC/CMakeFiles/LLVMMC.dir/MCObjectWriter.cpp.o
CMake Error at /Applications/root_6.13.02_build/LZMA-prefix/src/LZMA-stamp/LZMA-configure-.cmake:16 (message):
Command failed: 1

‘/Applications/root_6.13.02_build/LZMA-prefix/src/LZMA/configure’ ‘–prefix’ ‘/Applications/root_6.13.02_build’ ‘–libdir’ ‘/Applications/root_6.13.02_build/lib’ ‘–with-pic’ ‘–disable-shared’ ‘–quiet’ ‘CC=/Applications/’ ‘CXX=/Applications/’ ‘CFLAGS=-Wno-format-nonliteral’ ‘LDFLAGS=-Qunused-arguments’

See also


make[2]: *** [LZMA-prefix/src/LZMA-stamp/LZMA-configure] Error 1
make[1]: *** [CMakeFiles/LZMA.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…

Updating the command line tools solves the problem. See this thread.

1 Like

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