Package Details: vim-youcompleteme-git 2258.02f11703-1

Git Clone URL: https://aur.archlinux.org/vim-youcompleteme-git.git (read-only)
Package Base: vim-youcompleteme-git
Description: A code-completion engine for Vim
Upstream URL: http://valloric.github.com/YouCompleteMe/
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: 0x76
Last Packager: 0x76
Votes: 127
Popularity: 2.515052
First Submitted: 2013-02-05 21:32
Last Updated: 2018-02-13 20:19

Sources (16)

Pinned Comments

illis commented on 2018-02-15 23:19

Added an option _neovim to the PKGBUILD file to enable installing directly to neovim.

If anyone finds it useful, or if @0x76 wants to merge; patch is here: https://gist.github.com/illis/da5b2c09641f0a37fcdf211725687087/revisions?diff=split#diff-dfa7cdd9c34798e1af82f172b0822f08

Latest Comments

arrufat commented on 2018-02-23 08:47

@karel thanks. It is not a problem due to python2/python3 (I can achieve the same result by passing -DUSE_PYTHON2=OFF to cmake). I'm getting the error only with this package (It works if I install it with vim-plug using the provided install.py)

karel commented on 2018-02-23 08:30

To use Python 3 for compiling the core library (i.e. if you get the error "Ycmd server error: ycm_core library compiled for Python 2 but loaded in Python 3.") then add this in the PKGBUILD at line 109 before cmake is called

sed -i 's/^option( USE_PYTHON2/# option( USE_PYTHON2/' "$srcdir/YouCompleteMe/third_party/ycmd/cpp/CMakeLists.txt"

illis commented on 2018-02-15 23:19

Added an option _neovim to the PKGBUILD file to enable installing directly to neovim.

If anyone finds it useful, or if @0x76 wants to merge; patch is here: https://gist.github.com/illis/da5b2c09641f0a37fcdf211725687087/revisions?diff=split#diff-dfa7cdd9c34798e1af82f172b0822f08

arrufat commented on 2018-02-14 10:01

I'm getting an error in the latest version (2258.02f11703-1):

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1. Type ':YcmToggeLogs ycmd_xxxxx_stderr_xxxxxxx_.log' to check the logs.

The problem is that the logs are empty... Any ideas? Thanks in advance.

0x76 commented on 2018-02-13 20:24

@glitch_cat @bradsk88 I have updated the PKGBUILD, so now installing should work again. I have left out the rm -rf, because I could not replicate the mentioned unicode issue however if that issue still persists after updating please mention it so I can change the PKGBUILD.

glitch_cat commented on 2018-02-13 19:19

@bradsk88 I did everything you recommended and also removed an item from the sha256 hash vector and it worked. Thank you very much.

bradsk88 commented on 2018-02-13 06:04

I was able to get this working again by removing all references to "argparse" from the PKGBUILD file. argparse is rolled into python now so it's no longer needed.

I also had to add this line to the top of my build() function. rm -rf $srcdir/YouCompleteMe/python/ycm/tests

This was to get around an issue with a unicode filename.

bradsk88 commented on 2018-02-13 05:21

@glitch_cat it looks like there was a breaking change upstream: https://github.com/Valloric/ycmd/commit/33b04c92b6bebe02655d450c5e3e3097c730d32d#diff-8903239df476d7401cf9e76af0252622L4

glitch_cat commented on 2018-02-13 01:46

-> Building Tern completer... /tmp/yaourt-tmp-glitch_cat/aur-vim-youcompleteme-git/src/YouCompleteMe/third_party/ycmd/third_party/tern_runtime npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN tern_runtime No repository field. npm WARN tern_runtime No license field.

added 28 packages in 1.432s ==> Entering fakeroot environment... ==> Starting package()... cp: cannot stat '/tmp/yaourt-tmp-glitch_cat/aur-vim-youcompleteme-git/src/YouCompleteMe/third_party/ycmd/third_party/argparse': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build vim-youcompleteme-git. ==> Restart building vim-youcompleteme-git ? [y/N] ==> ---------------------------------------------- ==>

using yaourt

0x76 commented on 2017-12-20 20:25

@bluehood For errors about failing to verify ncurses5-compat-lib please look here: https://aur.archlinux.org/packages/ncurses5-compat-libs/ (more specifically at the first pinned comment) instead of flagging this out-of-date

All comments