-- Found zstd: /usr/local/lib/libzstd.so CMake Error at /usr/local/llvm15/lib/cmake/llvm/LLVMExports.cmake:1167 (message) The imported target "LLVMDemangle" references the file "/usr/local/llvm15/lib/libLLVMDemangle.a" 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/local/llvm15/lib/cmake/llvm/LLVMExports.cmake" but not all the files it references. Call Stack (most recent call first): /usr/local/llvm15/lib/cmake/llvm/LLVMConfig.cmake:272 (include) CMakeLists.txt:82 (find_package) -- Configuring incomplete, errors occurred! *** Error code 1
According to ports af979dd126ff -lite was created for compiler-only but this port needs libraries. Unfortunately, libLLVM*.so is actually built (instead of being statically linked into Clang/LLD/etc binaries) but has broken CMake support. I guess, switching LIB_DEPENDS to USES=llvm can help reject -lite flavors. *** This bug has been marked as a duplicate of bug 271821 ***
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=72c4763b925f4147054427c9cb41492474df97ce commit 72c4763b925f4147054427c9cb41492474df97ce Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-08-28 12:14:29 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-08-28 12:45:47 +0000 devel/spirv-llvm-translator: reject llvm*-lite as dependencies CMake support is broken in 15 + 16 and disabled in >= 17. PR: 281110 devel/spirv-llvm-translator/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch 2024Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5d9ce1971ba09e3369cd215a88176cef0d543e6 commit a5d9ce1971ba09e3369cd215a88176cef0d543e6 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-08-28 12:14:29 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-08-28 12:47:57 +0000 devel/spirv-llvm-translator: reject llvm*-lite as dependencies CMake support is broken in 15 + 16 and disabled in >= 17. PR: 281110 (cherry picked from commit 72c4763b925f4147054427c9cb41492474df97ce) devel/spirv-llvm-translator/Makefile | 1 + 1 file changed, 1 insertion(+)