Building FOCAL failed on macOS 11.4


After passing all of the prerequisite steps, I tried to build FOCAL on macOS 11.4 using command
aliBuild build FOCAL

I got this error message:
==> Building XRootD@v3.3.6-alice2
==> XRootD is being built (use --debug for full output): failed
ERROR: Error while executing /Users/kachanon/alice/sw/SPECS/osx_x86-64/XRootD/v3.3.6-alice2-local1/ on `Lightning-Dragon.local’.

Here is a link to full error message and log file: AliRoot Building Log – Google Drive

Please suggest what to do to solve the problem.

Best Regards,
Kachanon Nirunpong

I also deleted everything and try

aliBuild init FOCAL
aliBuild build FOCAL --defaults next-root6

The error also occurred when building XRootD@v4.12.5.

Can you tell me what:

aliBuild doctor openssl

tells you?

Thank you for your help. Here is the result of aliBuild doctor openssl :

I still have no idea what to do next.