I'm compiling using the "extra" environment in DevTools and am getting the following error. Could you please update it to fix this? Thank you.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting build()...
-- System Build
-- The C compiler identification is Clang 21.1.8
-- The CXX compiler identification is Clang 21.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm21/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm21/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring: /build/sourcetrail/src/petermost.sourcetrail/cmake/productVersion.h.in -> /build/sourcetrail/src/build/src/lib/productVersion.h
-- Configuring: /build/sourcetrail/src/petermost.sourcetrail/cmake/language_packages.h.in -> /build/sourcetrail/src/build/src/lib/language_packages.h
-- Building the tests is disabled. You can enable them by setting 'BUILD_UNIT_TESTS_PACKAGE' to 'ON'.
-- Copying: /build/sourcetrail/src/petermost.sourcetrail/bin/app/ -> /build/sourcetrail/src/build/app/
-- Found ICU: /usr/include (found version "78.3") found components: i18n uc data
-- Found ICU 78.3: /usr/include
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found Boost 1.91.0: /usr/include
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE
-- Found OpenGL: /usr/lib/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- Found Qt 6.11.1: /usr/include/qt6/QtCore;/usr/include/qt6
-- Found SQLite3: /usr/lib/libsqlite3.so (found version "3.53.2")
-- Found SQLite3 3.53.2
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Checking for module 'tinyxml'
-- Found tinyxml, version 2.6.2
-- Found tinyxml 2.6.2: /usr/include
CMake Error at /usr/lib/llvm21/lib/cmake/clang/ClangConfig.cmake:11 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 21.1.8) with any of the following names:
LLVM.cps
llvm.cps
LLVMConfig.cmake
llvm-config.cmake
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:442 (find_package)
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
xiota commented on 2024-06-20 03:07 (UTC) (edited on 2025-10-14 20:15 (UTC) by xiota)
Please observe the following when flagging or commenting: