Closed aziztovbaev closed 3 years ago
You're having trouble downloading from https://github.com/ycm-core/llvm/releases/tag/12.0.0
Specifically, this file: https://github.com/ycm-core/llvm/releases/download/12.0.0/libclang-12.0.0-win64.tar.bz2
Can you download it? If so, can you confirm that its sha256 matches this one: https://github.com/ycm-core/ycmd/blob/master/cpp/ycm/CMakeLists.txt#L43
CMake Error at ycm/CMakeLists.txt:107 (file): file DOWNLOAD HASH mismatch
for file: [C:/Users/theUser/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/libclang-12.0.0-win64.tar.bz2] expected hash: [encrypted numbers and letter here.....] actual hash: [another enctrypted numbers and letters here...] status: [35; "SSL connect error]
This is clearly a problem with your environment, either you're behind a firewall which is tampering with the download, or you have connectivity problems.
As Boris says, if you manually can download it and verify it, you can put it in the location listed above and the installer will continue. There's not a lot we can do about flaky, or tampered downloads.
Issue Prelude
Please complete these steps and check these boxes (by putting an
x
inside the brackets) before filing your issue:vim --version
.:YcmDebugInfo
.:YcmToggleLogs
command.vim -Nu /path/to/YCM/vimrc_ycm_minimal
, including what I expected to happen and what actually happened.install.py
(orcmake
/make
/ninja
) including its invocationThank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.
Issue Details
vim -Nu /path/to/YCM/ycm_vimrc_minimal
:edit test.py
.....
CMake Error at ycm/CMakeLists.txt:107 (file): file DOWNLOAD HASH mismatch
CMake error at ycm/CMakeLists.txt:123 (message): Cannot find path to libclang in prebuilt binaries
ERROR: the build failed. Note: it is highly ..... you konw the rest......
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Dec 12 2019 13:19:27) MS-Windows 32-bit console version Compiled by mool@tororo Huge version without GUI. Features included (+) or not (-): +acl +eval +multi_byte -tag_old_static +arabic +ex_extra +multi_lang -tag_any_white +autocmd +extra_search -mzscheme -tcl +autochdir -farsi -netbeans_intg +termguicolors +autoservername +file_in_path +num64 +terminal -balloon_eval +find_in_path +packages -termresponse +balloon_eval_term +float +path_extra +textobjects -browse +folding -perl +textprop ++builtin_terms -footer +persistent_undo -tgetent +byte_offset +gettext/dyn +popupwin +timers +channel -hangul_input -postscript +title +cindent +iconv/dyn +printer -toolbar +clientserver +insert_expand +profile +user_commands +clipboard +job -python +vartabs +cmdline_compl +jumplist -python3 +vertsplit +cmdline_hist +keymap +quickfix +virtualedit +cmdline_info +lambda +reltime +visual +comments +langmap +rightleft +visualextra +conceal +libcall -ruby +viminfo +cryptv +linebreak +scrollbind +vreplace +cscope +lispindent +signs +vtp +cursorbind +listcmds +smartindent +wildignore +cursorshape +localmap +sound +wildmenu +dialog_con -lua +spell +windows +diff +menu +startuptime +writebackup +digraphs +mksession +statusline -xfontset -dnd +modify_fname -sun_workshop -xim -ebcdic +mouse +syntax -xpm_w32 +emacs_tags -mouseshape +tag_binary -xterm_save system vimrc file: "$VIM\vimrc" user vimrc file: "$HOME_vimrc" 2nd user vimrc file: "$HOME\vimfiles\vimrc" 3rd user vimrc file: "$VIM_vimrc" user exrc file: "$HOME_exrc" 2nd user exrc file: "$VIM_exrc" defaults file: "$VIMRUNTIME\defaults.vim" Compilation: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_JOB_CHANNEL -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /arch:IA32 /Zl /MT -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_HUGE /Fd.\ObjCi386/ /Zi Linking: link /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:i386 libcmt.lib user32.lib winmm.lib WSock32.lib /PDB:vim.pdb -debug
Couldn't give the command, sorry
4df6f35f0c9f9aec21a3f567397496b5dee6acc7
Installations were complete, no errors.