O2physics compilation errors

Dear All,

I am facing the errors while compiling O2Physics in ubuntu 20.04 LTS:
==> Building O2@b1b84fa548
==> O2 is being built (use --debug for full output): failed
ERROR: Error while executing /home/debasish/home/debasish/Documents/a-install/sw/SPECS/ubuntu2004_x86-64/O2/b1b84fa548-local1/build.sh on `debasish-Latitude-3520’.
ERROR: Log can be found in /home/debasish/home/debasish/Documents/a-install/sw/BUILD/O2-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /home/debasish/home/debasish/Documents/a-install/sw/BUILD/O2-latest/O2.
ERROR: Note that you have packages in development mode.
ERROR: Devel sources are not updated automatically, you must do it by hand.
ERROR: This problem might be due to one or more outdated devel sources.
ERROR: To update all development packages required for this build it is usually sufficient to do:
ERROR: ( cd O2 && git pull --rebase )

I have attached the log file, any help will be highly appreciated,

best regards
Debasish Das.
log.txt (103.1 KB)

Hi Debasish,

The line c++: fatal error: Killed signal terminated program cc1plus compilation terminated. is likely due to not enough memory on your system. Can you try to rebuild appending -j1 to your aliBuild command?


Dear Ole,

many thanks. I did with -j 1 and still getting the errors:
/home/debasish/home/debasish/Documents/a-install/sw/SOURCES/O2/dev/0/EventVisualisation/View/src/MultiView.cxx: In constructor ‘o2::event_visualisation::MultiView::MultiView()’:
/home/debasish/home/debasish/Documents/a-install/sw/SOURCES/O2/dev/0/EventVisualisation/View/src/MultiView.cxx:78:61: error: ‘kPT_ZY’ is not a member of ‘TEveProjection’
78 | mProjections[ProjectionZY]->SetProjection(TEveProjection::kPT_ZY);
| ^~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics

The logfile is attached.
log-o2-errors.txt (7.2 KB)


Hi Debasish,

This one means you’re not using the latest Root version. You should be on ROOT 6.26/04 (and not 6.24/06). Have you updated your alidist ?


Dear Laurent,

you are correct, I am using ROOT@v6-24-06-patches-alice1,
Which command are you referring for that? If you can pls explain a bit more,


If you want to develop analysis code, download AliPhysics:

aliBuild init AliPhysics@master

Only if you need to develop the Run 2 core software (unlikely), download AliRoot:

aliBuild init AliRoot@master

If you need to develop for Run 3, download O2Physics (note the --defaults o2):

aliBuild init O2Physics@master --defaults o2

Only if you need to develop the Run 3 core software (unlikely), download O2:

aliBuild init O2@dev --defaults o2

I have used these commands