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

Fail compilation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 6.24/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Fedora 32 (gcc 10.1.1)
      Fedora 29 (gcc 8.3.1)

      Description

      Building from scratch

      $ pwd
      /cern/root_master_build
      $ cmake /cern/root_master_source/ -DCMAKE_INSTALL_PREFIX=/cern/root_master/ -Dimt=OFF
      $ make
      

      [ 42%] Generating G__Core.cxx, ../lib/Core.pcm
      /cern/root_master_build/include/module.modulemap:20:42: error: header 'RConfigure.h' not found
        module "RConfigure.h" { textual header "RConfigure.h" export * }
                                               ^
      /cern/root_master_build/include/RtypesCore.h:25:10: note: submodule of top-level module 'ROOT_Config' implicitly imported here
      #include "DllImport.h"
               ^
      /cern/root_master_build/include/RtypesCore.h:117:1: error: unknown type name 'R__EXTERN'
      R__EXTERN Int_t gDebug;
      ^
      /cern/root_master_build/include/RtypesCore.h:117:16: error: expected ';' after top level declarator
      R__EXTERN Int_t gDebug;
                     ^
                     ;
      In file included from input_line_5:1:
      /cern/root_master_build/include/Rtypes.h:23:10: fatal error: could not build module 'ROOT_Rtypes'
      #include "RtypesCore.h"
       ~~~~~~~~^~~~~~~~~~~~~~
      While building module 'Core':
      While building module 'ROOT_Foundation_C' imported from /cern/root_master_build/include/Rtypes.h:26:
      In file included from <module-includes>:1:
      /cern/root_master_build/include/ThreadLocalStorage.h:61:10: fatal error: could not build module 'ROOT_Rtypes'
      #include "RtypesCore.h"
       ~~~~~~~~^~~~~~~~~~~~~~
      While building module 'Core':
      While building module 'ROOT_Foundation_Stage1_NoRTTI' imported from /cern/root_master_build/include/Rtypes.h:193:
      In file included from <module-includes>:5:
      /cern/root_master_build/include/TIsAProxy.h:16:10: fatal error: could not build module 'ROOT_Rtypes'
      #include "RtypesCore.h"
       ~~~~~~~~^~~~~~~~~~~~~~
      Error: Error loading the default header files.
      make[2]: *** [core/CMakeFiles/G__Core.dir/build.make:474: core/G__Core.cxx] Error 1
      make[1]: *** [CMakeFiles/Makefile2:17205: core/CMakeFiles/G__Core.dir/all] Error 2
      make: *** [Makefile:172: all] Error 2
      

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            musinsky Jan Musinsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: