AliRoot build error: Building GEANT3@v4-1 on Ubuntu 22.04

Hi, everyone. I’m trying to install AliRoot on Ubuntu 22.04.
AliRoot is the first alice software that I’m installing through aliBuild.
I already installed Root-6.26.06 and Pythia8307.

Blockquote
.
==> aliBuild can take the following packages from the system and will not build them:
utf8proc, FreeType, OpenSSL, sqlite, libpng, bz2, libxml2, CMake, TBB, zlib, lz4, GSL, GCC-Toolchain, lzma
.
==> Packages will be built in the following order:
- json-c@json-c-0.13.1-20180305
- flatbuffers@v1.12.0
- DPMJET@v19.1.2-alice3
- GMP@v6.2.1
- double-conversion@v3.1.5
- re2@2019-09-01
- alibuild-recipe-tools@v0.2.3
- libtirpc@libtirpc-1-1-4
- UUID@alice/v2.27.1
- Python-modules-list@1.0
- GEANT4@v11.0.2
- libffi@v3.2.1
- libwebsockets@v3.0.1
- Alice-GRID-Utils@0.0.7
- protobuf@v3.15.8
- ninja@v1.8.2.g3bbbe.kitware.dyndep-1.jobserver-1
- Vc@1.4.1
- curl@curl-7_70_0
- MPFR@v3.1.3
- AliEn-CAs@d04b129822b428a6acffaf1e5182b5c928f98174
- ApMon-CPP@v2.2.8-alice5
- ZeroMQ@v4.3.3
- RapidJSON@091de040edb3355dcf2f4a18c425aec51b906f08
- Clang@llvmorg-13.0.0
- AliEn-Runtime@v2-19-le
- xsimd@8.1.0
- Python@v3.9.12
- Python-modules@1.0
- boost@v1.75.0
- XRootD@v5.5.0
- arrow@6747e03df249b3bbeef4cc935202173390a03217
- cgal@4.12.2
- xjalienfs@1.4.2
- ROOT@v6-26-04-patches-alice1
- fastjet@v3.4.0_1.045-alice1
- JAliEn-ROOT@0.6.6
- vgm@v5-0
- VMC@v2-0
- GEANT3@v4-1
- GEANT4_VMC@v6-1-p1
- AliRoot (development package)
.
==> You have packages in development mode.
This means their source code can be freely modified under:
/home/sa/alice/<package_name>
aliBuild does not automatically update such packages to avoid work loss.
In most cases this is achieved by doing in the package source directory:
.
git pull --rebase
.
Using cached build for defaults-release
Using cached build for json-c
Using cached build for flatbuffers
Using cached build for DPMJET
Using cached build for GMP
Using cached build for double-conversion
Using cached build for re2
Using cached build for alibuild-recipe-tools
Using cached build for libtirpc
Using cached build for UUID
Using cached build for Python-modules-list
Using cached build for GEANT4
Using cached build for libffi
Using cached build for libwebsockets
Using cached build for Alice-GRID-Utils
Using cached build for protobuf
Using cached build for ninja
Using cached build for Vc
Using cached build for curl
Using cached build for MPFR
Using cached build for AliEn-CAs
Using cached build for ApMon-CPP
Using cached build for ZeroMQ
Using cached build for RapidJSON
Using cached build for Clang
Using cached build for AliEn-Runtime
Using cached build for xsimd
Using cached build for Python
Using cached build for Python-modules
Using cached build for boost
Using cached build for XRootD
Using cached build for arrow
Using cached build for cgal
Using cached build for xjalienfs
Using cached build for ROOT
Using cached build for fastjet
Using cached build for JAliEn-ROOT
Using cached build for vgm
Using cached build for VMC
.
==> Building GEANT3@v4-1
==> GEANT3 is being built (use --debug for full output): failed
ERROR: Error while executing /home/sa/alice/sw/SPECS/ubuntu2204_x86-64/GEANT3/v4-1-local1/build.sh on `Satori’.
ERROR: Log can be found in /home/sa/alice/sw/BUILD/GEANT3-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /home/sa/alice/sw/BUILD/GEANT3-latest/GEANT3

and log file in GEANT3_latest
log.txt (102.7 KB)

It says the target was not found(ROOT::EGPythia6)

Is Pythia6 needed to install alice software?
or another solution exists…
I’m searching for installing GEANT3 (another version) or installing pythia6.

When I build O2 on Ubuntu 22.04, I get the same error.

Have you got another ROOT or Pythia installation outside of aliBuild? That often confuses aliBuild. If you have one, delete it!