This was not immediately obvious to me since I don't use cmake or ninja build. Also, the build failure messages are not exactly intuitive. You need to install ninja build before building. This can be done as follows:
After doing that, the build can complete without errors according to the existing build instructions. These steps are not necessary for RHEL 9 (or derivatives) or a more recent Fedora.
This was not immediately obvious to me since I don't use cmake or ninja build. Also, the build failure messages are not exactly intuitive. You need to install ninja build before building. This can be done as follows:
sudo dnf config-manager --set-enabled powertools sudo dnf install ninja-build
After doing that, the build can complete without errors according to the existing build instructions. These steps are not necessary for RHEL 9 (or derivatives) or a more recent Fedora.