"ninja install" broken under Linux

FixPack: Python wheel '' -> '/usr/local/python/3.11/wheel'
CMake Error at var/FixPack.cmake:26 (file):
  file INSTALL encountered an empty string input file name.
Call Stack (most recent call first):
  var/FixPack.cmake:31 (addPyWheel)
  App/cmake_install.cmake:75 (include)
  cmake_install.cmake:126 (include)


FAILED: CMakeFiles/install.util 
cd /G/sw/ba/build && /usr/bin/cmake -P cmake_install.cmake
ninja: build stopped: subcommand failed.