-- CXX Compiler: GNU -- Building for Linux-x64 CMake Error at CMakeLists.txt:9 (find_package): Could not find a configuration file for package "LLVM" that is compatible with requested version "11.0". ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20210216-135536 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8rc1 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.50.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Feb 18 15:22:41 UTC 2021 emerge -qpvO dev-lisp/c2ffi [ebuild N ] dev-lisp/c2ffi-11.0.0.20201113
Created attachment 687450 [details] emerge-info.txt
Created attachment 687453 [details] CMakeOutput.log
Created attachment 687456 [details] dev-lisp:c2ffi-11.0.0.20201113:20210218-164110.log
Created attachment 687459 [details] emerge-history.txt
Created attachment 687462 [details] environment
Created attachment 687465 [details] etc.portage.tar.bz2
Created attachment 687468 [details] logs.tar.bz2
Created attachment 687471 [details] temp.tar.bz2
Might be because you have already been using LLVM-11.1. It works fine here with 11.0.1, but atm my system does not want to update to 11.1 because of some dependency problem. I will try to solve this and see if I can then reproduce the issue and whether there are any fixes for this upstream.
After updating to llvm-11.1, I can now reproduce this issue. I don't know yet how to best solve it, but simply changing the requirement of "LLVM 11.0" to "LLVM 11.1" in CMakeLists.txt fixes it. Simply using "LLVM 11" there doesn't work, and I wonder about the update process for the user who compiles with LLVM 11.0, but then updates to LLVM 11.1. Any recommendations how to properly treat this in the ebuild?
Closing resolved, as there are newer versions available and the old one has been removed.