There is an updated pull request by ardadem against master on the void-packages repository https://github.com/ardadem/void-packages pr-spirv-llvm https://github.com/void-linux/void-packages/pull/41016 SPIRV-LLVM-Translator: fix cross build Fixes the following build error; ``` -- The CXX compiler identification is GNU 10.2.1 -- The C compiler identification is GNU 10.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /builddir/.xbps-SPIRV-LLVM-Translator/wrappers/aarch64-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) CMake Error at /usr/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake:1386 (message): The imported target "sancov" references the file "/usr/aarch64-linux-gnu/usr/bin/sancov" 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/aarch64-linux-gnu/usr/lib/cmake/llvm/LLVMExports.cmake" but not all the files it references. Call Stack (most recent call first): /usr/aarch64-linux-gnu/usr/lib64/cmake/llvm/LLVMConfig.cmake:278 (include) CMakeLists.txt:36 (find_package) -- Configuring incomplete, errors occurred! See also "/builddir/SPIRV-LLVM-Translator-12.0.0/build/CMakeFiles/CMakeOutput.log". ``` A patch file from https://github.com/void-linux/void-packages/pull/41016.patch is attached