8000 `ccls` build failure · Issue #982 · MaskRay/ccls · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ccls build failure #982
Open
Open
@joshcangit

Description

@joshcangit

Trying system clang still ends up with failure.

> cmake -Sccls -Bccls/Release -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=clang++ -DSYSTEM_CLANG=ON -DCMAKE_INSTALL_PREFIX=/usr/local -DUSE_SYSTEM_RAPIDJSON=ON -DLLVM_ENABLE_ZLIB=ON
-- The CXX compiler identification is Clang 21.0.0
-- The C compiler identification is GNU 14.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - 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: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAVE_FFI_CALL
-- Performing Test HAVE_FFI_CALL - Success
-- Found FFI: /usr/lib/x86_64-linux-gnu/libffi.so  
-- Looking for histedit.h
CMake Warning (dev) at /usr/share/cmake-3.28/Modules/CheckIncludeFile.cmake:77 (message):
  Policy CMP0075 is not set: Include file check macros honor
  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  CMAKE_REQUIRED_LIBRARIES is set to:

    /usr/lib/x86_64-linux-gnu/libedit.so

  For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
  /usr/lib/cmake/llvm-21/FindLibEdit.cmake:28 (check_include_file)
  /usr/lib/cmake/llvm-21/LLVMConfig.cmake:293 (find_package)
  /usr/lib/cmake/clang-21/ClangConfig.cmake:12 (find_package)
  CMakeLists.txt:72 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Looking for histedit.h - found
-- Found LibEdit: /usr/include (found version "2.11") 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.3")  
-- Found zstd: /usr/lib/x86_64-linux-gnu/libzstd.so  
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version "2.9.14") 
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found version "8.5.0")  
CMake Error at /usr/lib/cmake/llvm-21/LLVMConfig.cmake:379 (include):
  include could not find requested file:

    /usr/lib/lib/cmake/llvm/LLVMExports.cmake
Call Stack (most recent call first):
  /usr/lib/cmake/clang-21/ClangConfig.cmake:12 (find_package)
  CMakeLists.txt:72 (find_package)


CMake Error at /usr/lib/cmake/llvm-21/LLVMConfig.cmake:409 (include):
  include could not find requested file:

    /usr/lib/lib/cmake/llvm/LLVM-Config.cmake
Call Stack (most recent call first):
  /usr/lib/cmake/clang-21/ClangConfig.cmake:12 (find_package)
  CMakeLists.txt:72 (find_package)


CMake Error at /usr/lib/cmake/clang-21/ClangConfig.cmake:21 (include):
  include could not find requested file:

    /usr/lib/lib/cmake/clang/ClangTargets.cmake
Call Stack (most recent call first):
  CMakeLists.txt:72 (find_package)


-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- RapidJSON found. Headers: /usr/include
fatal: No names found, cannot describe anything.
-- Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0