Unfortunately, we have discovered a problem with building the 22.0.0 release from source (e.g. with newinstall.sh) on macOS. This problem does not occur on our CentOS 7 reference platform or with other Linux distributions.
As a workaround, you can run newinstall.sh as follows:
$ export LSST_SPLENV_REF=v22_0_0_rc1
$ bash newinstall.sh
which will allow proper source building.
We are anticipating issuing a 22.0.1 release to fix this problem.