O2Physics installation error while building Building pythia6@428-alice2

Dear Experts,

I am trying to build O2Physics in Mac mini with an M1 chip having Monterey 12.5.

Process is failing while building pythia6@428-alice2 log file can be found

https://cernbox.cern.ch/s/NiaiZGKZoKLByEJ

https://cernbox.cern.ch/s/NiaiZGKZoKLByEJhttps://cernbox.cern.ch/s/NiaiZGKZoKLByEJhttps://cernbox.cern.ch/s/NiaiZGKZoKLByEJhttps://cernbox.cern.ch/s/NiaiZGKZoKLByEJhttps://cernbox.cern.ch/s/NiaiZGKZoKLByEJhttps://cernbox.cern.ch/s/NiaiZGKZoKLByEJ

The error was as follows:

==> Building pythia6@428-alice2
==> pythia6 is being built (use --debug for full output): failed
ERROR: Error while executing /Users/swapneshkhade/alice3/sw/SPECS/osx_arm64/pythia6/428-alice2-local1/build.sh on `Swapneshs-Mac-mini.local’.
ERROR: Log can be found in /Users/swapneshkhade/alice3/sw/BUILD/pythia6-latest/log
ERROR: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR: Build directory is /Users/swapneshkhade/alice3/sw/BUILD/pythia6-latest/pythia6.

I tried to look into the log file but couldn’t figure out what to do.

I would really appreciate your help.

Many thanks for considering my request.

Regards,

Swapnesh