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

ROOT Fails to find C++ standard library path on non-standard locale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.20/04
    • Fix Version/s: 6.22/00
    • Component/s: Cling
    • Labels:
      None
    • Environment:

      ROOT 6.20/04 with GCC 9.3, python.3.6 (Ubuntu 18.04)

      Description

      On non-standard locale (e.g. German) we see an error

      ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
      Invoking:
        g++  -O3  -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.include/,${' -e '/^ \/.*++/p' -e '}'
      Results was:
      With exit code 0
      

      This seems to be caused by commit df0b689e3 which removes the override of the locale when executing the command above. It did work fine with earlier ROOT versions

        Attachments

          Activity

            People

            • Assignee:
              axel Axel Naumann
              Reporter:
              9784214ad6c464d2626b Martin Ritter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: