Package Details: vim-youcompleteme-git r2478.c25e449f-1

Git Clone URL: (read-only)
Package Base: vim-youcompleteme-git
Description: A code-completion engine for Vim
Upstream URL:
Keywords: completion engine neovim
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: Morganamilo
Last Packager: Rubonnek
Votes: 143
Popularity: 0.386100
First Submitted: 2013-02-05 21:32
Last Updated: 2019-01-31 02:31

Sources (21)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

jaywalker commented on 2019-05-02 23:06

A fix to the golang 'use of internal package [...] not allowed' problem that @dlin and others are experiencing can be found in the YCM upstream Full Install Guide (section 6) in the README. It says to build the go packages with 'GOPATH=$(realpath ../../../..) go build', not just 'go build'. Modify the two go build lines and golang completion should build fine for everyone again.

gunix commented on 2019-05-01 12:17

considering the really big amount of build dependencies, do you think it would make sense to also have a vim-youcompleteme-bin?

staletic commented on 2019-04-15 19:38

YCM maintainer here. A few corrections about the PKGBUILD:

  • Lines 67, 68, 69 and 70: There are dependencies of "requests", not direct ycmd dependencies.
  • Instead of cloning "requests", "requests-futures", "bottle", "frozendict", "python-future", "waitress" and "regex", you can just install the packages system wide and save some space.
  • ncurses5-compat-libs is not needed any more
  • There's a experimental clangd based completer for C family of languages, if you want to prepare that, but maybe leave it off by default.

marcin commented on 2019-04-06 04:16

Started getting this error because clang has been upgraded to version 8:

13 ctypes.cdll.LoadLibrary( libclang_path ) 14 File "/usr/lib/python3.7/ctypes/", line 434, in LoadLibrary 15 return self._dlltype(name) 16 File "/usr/lib/python3.7/ctypes/", line 356, in init 17 self._handle = _dlopen(self._name, mode) 18 OSError: cannot open shared object file: No such file or directory

Had to uninstall ycm: sudo pacman -Rdns vim-youcompleteme-git and install again so that it recompiles against new clang.

LucidComplex commented on 2019-03-29 19:22

I have the same experience with tjc. However, apparently removing youcompleteme from my plugin list solves the issue.

Now to contemplate whether installing this package and removing it from my vimrc, or manually compiling it and keeping it in my vimrc is the better thing to do.

Rubonnek commented on 2019-03-20 23:30

Works fine with makepkg -sif for me.

Without a list of steps to reproduce the problem, I'm not able to help.

dlin commented on 2019-03-20 03:34

Can't makepkg,

-> Building Gocode completer... client.go:17:2: use of internal package not allowed client.go:18:2: use of internal package not allowed ==> ERROR: A failure occurred in build().

tjc commented on 2019-03-13 23:23

I don't have more info =(. I install my plugins using vim +PluginInstall +qall. Youcompleteme is in my .vimrc. Then I install YCM "correctly" using the flow I described which is from their front page. It works. If I swap that flow with yay -S vim-youcompleteme-git, then I get: "The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation."

The only instructions that work are those that are on their front page.

Rubonnek commented on 2019-03-13 18:50

@tjc I'm going to need more info. Could you share any error messages or logs?

Even when I build from scratch after creating an nspawn container with:

# pacstrap -i archlinux base base-devel

# systemd-nspawn -b -D archlinux

installing yay and running yay -S vim-youcompleteme-git, I'm not able to reproduce this issue.

YCM only asks for set encoding=utf-8 in my vimrc.

tjc commented on 2019-03-12 22:18

@rubonek using geo, not neo. Running in archlinux/base docker container.

sudo pacman -Syyu python python-pip git gvim

yay -S vim-youcompleteme-git

This clones the correct git files into ~/.vim/bundle/YouCompleteMe, and seems to run a build. However, if I run vim, I get: "The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation."

If, Instead, I install it myself with

cd .vim/bundle/YouCompleteMe git clean -f; git pull; git submodule update --recursive --init; ./ --clang-completer

then it works fine. So I don't think it's a YCM issue, I think this package isn't doing something that flow does. I also don't think it's a vimrc issue (I thought maybe it was picking up the wrong python or something) because I am not specifying a specific python version or anything in the latter flow.