Hi Ri,
Please try building with:
build_afni.py -build_root $HOME/afni_build -package macos_12_x86_64
For setup preparation, please see OS_notes.macos_12_x86_64_a_admin.txt and b_user.txt at https://github.com/afni/afni/tree/master/src/other_builds
Please let us know how it goes.
Thanks,
- rick