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

Error in <TClass::ReadRules()>: Cannot find rules etc/class.rules

    XMLWordPrintable

    Details

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

      Linux 64bit

      Description

      When calling cmake with

      cmake -Droot7=ON -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=Debug -Dwebgui=ON -Dtesting=ON -DPYTHON_EXECUTABLE=/usr/bin/python2 /path/to/git/source 
      

      I got several following errors when building:

       

       

      [ 46%] Generating G__Matrix.cxx, ../../lib/Matrix.pcm
      Error in <TClass::ReadRules()>: Cannot find rules file etc/class.rules
      Scanning dependencies of target G__Matrix
      

      Important, that make called without -j parameter.

       

      I think, crucial parameter is -Dtesting=ON, without it make works correctly.

      Seems to be, when testing is enabled, all base dictionaries generated before start copying content of "etc/" directory

       

        Attachments

          Activity

            People

            • Assignee:
              oshadura Oksana Shadura
              Reporter:
              slinev Serguei Linev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: