There is an updated pull request by sgn against master on the void-packages repository https://github.com/sgn/void-packages build-style-cmake-cross-root-path https://github.com/void-linux/void-packages/pull/26552 build-style cmake: change CMAKE_FIND_ROOT_PATH to $XBPS_CROSS_BASE/usr Building `nomacs` without this change reveals the brokenness. ``` CMake Error at /usr/arm-linux-gnueabihf/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message): The imported target "Qt5::Core" references the file "/usr/arm-linux-gnueabihf/../usr/lib/qt5//mkspecs/linux-g++" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/arm-linux-gnueabihf/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake" but not all the files it references. Call Stack (most recent call first): /usr/arm-linux-gnueabihf/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake:55 (_qt5_Core_check_file_exists) /usr/arm-linux-gnueabihf/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:232 (include) /usr/arm-linux-gnueabihf/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) cmake/Utils.cmake:21 (find_package) CMakeLists.txt:110 (NMC_FINDQT) ``` A patch file from https://github.com/void-linux/void-packages/pull/26552.patch is attached