Since updating LLVM 11 to 11.1, dev-util/spirv-llvm-translator fails to build with the error below. I guess the dependencies should make it clearer that 11.1 is not acceptable such that 11.0 is kept, or at least a version bump should be done to fix this problem. epsftws ~ # emerge -NDuavt world These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild rR ] dev-util/spirv-llvm-translator-11.0.0:11::gentoo USE="tools -test" ABI_X86="32 (64) (-x32)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-util/spirv-llvm-translator-11.0.0::gentoo * spirv-llvm-translator-11.0.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking spirv-llvm-translator-11.0.0.tar.gz to /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work >>> Source unpacked in /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work >>> Preparing source in /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/SPIRV-LLVM-Translator-d6dc999eee381158a26f048a333467c9ce7e77f2 ... * Applying spirv-llvm-translator-8.0.0.1-no_pkgconfig_files.patch ... [ ok ] * Working in BUILD_DIR: "/tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/spirv-llvm-translator-11.0.0_build" >>> Source prepared. >>> Configuring source in /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/SPIRV-LLVM-Translator-d6dc999eee381158a26f048a333467c9ce7e77f2 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure * Working in BUILD_DIR: "/tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/spirv-llvm-translator-11.0.0_build-abi_x86_32.x86" cmake -C /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/spirv-llvm-translator-11.0.0_build-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr/lib/llvm/11 -DLLVM_BUILD_TOOLS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/spirv-llvm-translator-11.0.0_build-abi_x86_32.x86/gentoo_toolchain.cmake /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/SPIRV-LLVM-Translator-d6dc999eee381158a26f048a333467c9ce7e77f2 loading initial cache file /tmp/portage/dev-util/spirv-llvm-translator-11.0.0/work/spirv-llvm-translator-11.0.0_build-abi_x86_32.x86/gentoo_common_config.cmake -- The CXX compiler identification is GNU 8.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:35 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "11.0.0". The following configuration files were considered but not accepted: /usr/lib/llvm/11/lib/cmake/llvm/LLVMConfig.cmake, version: 11.1.0 /usr/lib/llvm/10/lib/cmake/llvm/LLVMConfig.cmake, version: 10.0.1 /usr/lib/llvm/9/lib/cmake/llvm/LLVMConfig.cmake, version: 9.0.1 -- Configuring incomplete, errors occurred!
This has been fixed with a version bump of spirv-llvm-translator.