-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Compiler Version not correctly parsed #8551
Copy link
Copy link
Closed
Labels
Description
Describe the bug
ROOT fails to parse the gcc compiler version in Ubuntu 18 and Ubuntu 20.
------------------------------------------------------------------
| Welcome to ROOT 6.25/01 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jun 09 2021, 21:20:28 |
| From heads/master@v6-25-01-1189-g1ca221f010 |
| With |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
with "..." is empty.
Also:
root [1] gSystem->GetBuildCompilerVersionStr()
(const char *) ""
The issue is probably here: https://github.com/root-project/root/blob/master/build/unix/compiledata.sh#L69
Expected behavior
------------------------------------------------------------------
| Welcome to ROOT 6.25/01 https://root.cern |
| (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
| Built for linuxx8664gcc on Jun 21 2021, 09:52:59 |
| From heads/distrdf-ranges@v6-25-01-1310-g76d35ef23c |
| With c++ (GCC) 10.3.1 20210422 (Red Hat 10.3.1-1) |
| Try '.help', '.demo', '.license', '.credits', '.quit'/'.q' |
------------------------------------------------------------------
To Reproduce
- Build from source on Ubuntu 18 or Ubuntu 20
- Call root -b
Setup
- Self-built from git master
Reactions are currently unavailable