Unable to build O2Physics - fortran problem

Hello, I’m on a MacOS Sonoma 14.7 and I’m not able to build O2Physics. I tried running the command aliBuild build O2Physics but I get the following error in the terminal

ERROR:O2Physics:pythia6:0: Error while executing /Users/myname/alice/sw/SPECS/osx_x86-64/pythia6/428-alice2-local3/build.sh on `XXXXcensoredXXXX'.
ERROR:O2Physics:pythia6:0: Log can be found in /Users/myname/alice/sw/BUILD/pythia6-latest/log
ERROR:O2Physics:pythia6:0: Please upload it to CERNBox/Dropbox if you intend to request support.
ERROR:O2Physics:pythia6:0: Build directory is /Users/myname/alice/sw/BUILD/pythia6-latest/pythia6.

In the log file I have:

The Fortran compiler
"/usr/local/bin/gfortran"
is not able to compile a simple test program.

I checked my gfortran version with: gfortran --version

GNU Fortran (Homebrew GCC 14.2.0) 14.2.0

I also checked my gcc version with: gcc --version

Apple clang version 16.0.0 (clang-1600.0.26.3)

and gcc -dumpversion

16.0.0

Please help

log.log (4.1 KB)
The log is attached here, the main error is

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk/usr/lib/libSystem.tbd' for architecture x86_64

Solved !

I had to uninstall conda