Alibuild o2physics

Dear Experts,

I have problem with alibuild o2physics,when i execute order (alibuid build o2physics),it will report an error,reinstalling the system and deleting entire folders is not useful.

Here’s what’s wrong .

Building O2@nightly-20220712
==> O2 is being built (use --debug for full output): failed
ERROR: Error while executing /home/lh/alice/sw/SPECS/ubuntu2004_x86-64/O2/nightly-20220712-local1/build.sh on `lh-OptiPlex-7050’.
ERROR: Log can be found in /home/lh/alice/sw/BUILD/O2-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request sup
port.
ERROR: Build directory is /home/lh/alice/sw/BUILD/O2-latest/O2.

log.txt (343.2 KB)

Any help would be highly appreciated.
Thanks & best,
Eric

Your build fails because you have multiple ROOTs installed. The log file tells you that it sees some headers multiple times. Once here

a) /home/lh/llh/packages/root/

and then

b) inside alibuilds .../sw/.... folder.

You should delete a) and only work with the ALICE software stack. There is nothing wrong with alibuild.

Hi @swenzel ,
I delete …/packages/root,Now it works normally,Thank you very much for your help.
Eric

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:
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:
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)

This question is being addressed in O2physics compilation errors - #2 by oschmidt

Good Day

I am having a related problem.

My log file is here attached.

log.txt (148.7 KB)

The file shows FAILED at this point

[577/1704] Building CXX object PWGDQ/Tasks/CMakeFiles/O2Physicsexe-analysis-dq-table-reader.dir/tableReader.cxx.o
FAILED: PWGDQ/Tasks/CMakeFiles/O2Physicsexe-analysis-dq-table-reader.dir/tableReader.cxx.o 
/home/peta4/alice/sw/ubuntu2204_x86-64/GCC-Toolchain/v12.2.0-alice1-5/bin/c++ -DBOOST_ASIO_HAS_HAS_STD_CHRONO -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DDPL_ENABLE_BACKTRACE -DFAIRMQ_HAS_STD_FILESYSTEM=1 -DFAIRMQ_HAS_STD_PMR=1 -DFMT_SHARED -DGENERATORS_WITH_HEPMC3 -DGENERATORS_WITH_PYTHIA8 -DRANS_ENABLE_JSON -DRANS_OPENMP -I/home/peta4/alice/sw/SOURCES/O2Physics/master/0/Common/Core -I/home/peta4/alice/sw/SOURCES/O2Physics/master/0 -I/home/peta4/alice/sw/SOURCES/O2Physics/master/0/PWGDQ/Core -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/O2/dev-local1/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/Configuration/v2.8.0-9/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/boost/v1.83.0-alice2-7/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/Monitoring/v3.18.1-17/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/curl/7.70.0-12/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/FairMQ/v1.8.4-18/include/fairmq -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/FairMQ/v1.8.4-18/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/FairLogger/v1.11.1-14/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/fmt/10.1.1-10/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/ROOT/v6-30-01-alice5-6/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/O2/dev-local1/include/GPU -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/RapidJSON/v1.1.0-alice2-12/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/arrow/v14.0.1-alice1-19/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/ms_gsl/4.0.0-10/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/Clang/v15.0.7-15/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/libuv/v1.40.0-12/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/FairRoot/v18.4.9-alice3-26/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/VMC/v2-0-44/include/vmc -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/Vc/1.4.1-11/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/TBB/v2021.5.0-11/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/libjalienO2/0.1.4-14/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/abseil/20220623.1-11/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/Common-O2/v1.6.2-19/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/pythia/v8311-5/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/HepMC3/3.2.5-44/include -isystem /home/peta4/alice/sw/ubuntu2204_x86-64/KFParticle/v1.1-5-44/include -fPIC -O2 -std=c++20 -Wall -Wno-error -Werror=deprecated-enum-float-conversion -Werror=narrowing -Werror=parentheses -Werror=return-type -Werror=uninitialized -Werror=unused -O2 -g -DNDEBUG -fopenmp -MD -MT PWGDQ/Tasks/CMakeFiles/O2Physicsexe-analysis-dq-table-reader.dir/tableReader.cxx.o -MF PWGDQ/Tasks/CMakeFiles/O2Physicsexe-analysis-dq-table-reader.dir/tableReader.cxx.o.d -o PWGDQ/Tasks/CMakeFiles/O2Physicsexe-analysis-dq-table-reader.dir/tableReader.cxx.o -c /home/peta4/alice/sw/SOURCES/O2Physics/master/0/PWGDQ/Tasks/tableReader.cxx
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

I will try out using less cores with aliBuild build O2Physics -j1

Kind Regards
Binjamin