Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-9020

Error building root v6.10.04, macOSX 10.12.6 Xcode 9.0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Duplicate
    • 6.10/04
    • None
    • Build System
    • None

    Description

      [ 71%] Built target X86CommonTableGen
      Scanning dependencies of target MetaCling
      [ 71%] Building CXX object core/metacling/CMakeFiles/MetaCling.dir/src/TCling.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ObjCARCInstKind.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/OrderedBasicBlock.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/PHITransAddr.cpp.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/ClassSelectionRule.cxx.o
      [ 71%] Building CXX object core/clingutils/CMakeFiles/ClingUtils.dir/src/TClingUtils.cxx.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/DictSelectionReader.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/PostDominators.cpp.o
      /Users/lucapagani/root/rootSource/core/metacling/src/TCling.cxx:1064:19: error: call to constructor of 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') is ambiguous
      std::string interpInclude(TROOT::GetEtcDir());
      ^ ~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:778:31: note: candidate constructor
      _LIBCPP_INLINE_VISIBILITY basic_string(const value_type* __s);
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:799:5: note: candidate constructor
      basic_string(__self_view __sv);
      ^
      /Users/lucapagani/root/rootSource/core/metacling/src/TCling.cxx:1073:34: error: ambiguous conversion for functional-style cast from 'TString' to 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >')
      clingArgsStorage.push_back(std::string("-I" + TROOT::GetIncludeDir()));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:778:31: note: candidate constructor
      _LIBCPP_INLINE_VISIBILITY basic_string(const value_type* __s);
      ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string:799:5: note: candidate constructor
      basic_string(__self_view __sv);
      ^
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ProfileSummaryInfo.cpp.o
      2 errors generated.
      make[2]: *** [core/metacling/CMakeFiles/MetaCling.dir/src/TCling.cxx.o] Error 1
      make[1]: *** [core/metacling/CMakeFiles/MetaCling.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/LinkdefReader.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/PtrUseVisitor.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/RegionInfo.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/RegionPass.cpp.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/Scanner.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/RegionPrinter.cpp.o
      [ 71%] Built target ClingUtils
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/SelectionRules.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolution.cpp.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/TModuleGenerator.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolutionAliasAnalysis.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolutionExpander.cpp.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/VariableSelectionRule.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScalarEvolutionNormalization.cpp.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/XMLReader.cxx.o
      [ 71%] Building CXX object core/dictgen/CMakeFiles/Dictgen.dir/src/rootcling_impl.cxx.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/SparsePropagation.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TargetLibraryInfo.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TargetTransformInfo.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/Trace.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TypeBasedAliasAnalysis.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/TypeMetadataUtils.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ScopedNoAliasAA.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o
      [ 71%] Building CXX object interpreter/llvm/src/lib/Analysis/CMakeFiles/LLVMAnalysis.dir/VectorUtils.cpp.o
      [ 71%] Linking CXX static library ../libLLVMAnalysis.a
      [ 71%] Built target LLVMAnalysis
      [ 71%] Built target Dictgen
      make: *** [all] Error 2

      Attachments

        Activity

          People

            mato Pere Mato Vila
            092c1c75169df43edd3c Luca Pagani
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: