jacobdufault / cquery

C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checksums fail on Fedora 30

jnordwick3x opened this issue · comments

commented
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=release -DCMAKE_EXPORT_COMPILE_COMMANDS=YES 
-- The CXX compiler identification is GNU 9.2.1
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using downloaded Clang
-- Downloading Clang 7.0.0 (https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz) ...
CMake Error at cmake/DownloadAndExtractClang.cmake:94 (message):
  SHA256 hash of downloaded Clang does not match expected hash.  Remove the
  build directory and try running CMake again.  If this keeps happening, file
  an issue to report the problem.
Call Stack (most recent call first):
  CMakeLists.txt:94 (download_and_extract_clang)


-- Configuring incomplete, errors occurred!
See also "/home/jnordwick/rdev/cquery/build/CMakeFiles/CMakeOutput.log".

here is what i get

$ sha256sum clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz 
5c90e61b06d37270bc26edb305d7e498e2c7be22d99e0afd9f2274ef5458575a  clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz

I would try cloneing the repo again and starting from scratch. I'm running fedora 32 and once I fixed an include it worked fine for me. I did make a pr, but here is my fork with the fix: https://github.com/GabrielDeml/cquery/tree/FixedCompilingBug