Which platform are you trying to cross-compile to? If a platform is not normally supported, cross-compiling to it will not work either. Take a look at current version’s dashboard to see which platforms are tested and work.
HDF5 has cross-compiling challenges. However, we have patched HDF5 so its H5make_libsettings can build easily with CMAKE_CROSSCOMPILING_EMULATOR, if set.
dockcross, provides a QEMU User executable for this task. Otherwise, you may need to build and run the executable manually on the target system.
The use of CMAKE_CROSSCOMPILING_EMULATOR also prevents the need to manually populate tryrun outputs.