Package Details: vim-youcompleteme-git 2307.6975efdd-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/
Keywords: completion engine neovim
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: Rubonnek
Last Packager: Rubonnek
Votes: 132
Popularity: 1.849803
First Submitted: 2013-02-05 21:32
Last Updated: 2018-04-22 14:56

Sources (16)

Latest Comments

1CatchMe1 commented on 2018-04-14 23:00

I am getting this error:

/OmniSharpServer

Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x00028] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 at System.TermInfoDriver..ctor (System.String term) [0x00055] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 at System.ConsoleDriver..cctor () [0x0004d] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 at System.Console..cctor () [0x0008e] in <0cc37f4786fa491387f4cb0ad6d68b47>:0 --- End of inner exception stack trace --- at Mono.XBuild.CommandLine.MainClass.ShowDeprecationNotice () [0x00000] in <febca784b6eb4d049a5ce01e1348bc2b>:0 at Mono.XBuild.CommandLine.MainClass.Execute () [0x0004d] in <febca784b6eb4d049a5ce01e1348bc2b>:0 at Mono.XBuild.CommandLine.MainClass.Main (System.String[] args) [0x00005] in <febca784b6eb4d049a5ce01e1348bc2b>:0 ==> ERROR: A failure occurred in build(). Aborting... :: failed to build vim-youcompleteme-git package(s)</febca784b6eb4d049a5ce01e1348bc2b></febca784b6eb4d049a5ce01e1348bc2b></febca784b6eb4d049a5ce01e1348bc2b>

arrufat commented on 2018-04-06 11:38

@devl_archer: you can just change the line:

xbuild /property:Configuration=Release

to:

TERM=xterm xbuild /property:Configuration=Release

This way you make sure this variable is only set for that command.

devl_archer commented on 2018-04-03 09:53

the mono part is failing to build - one has to add "export TERM=xterm" to fix it. But i am a bit too stupid to do it correctly in the PKGBUILD file - it fails if i put the line there but it will work when i do it in my terminal before installing via pacaur.

arrufat commented on 2018-03-27 20:53

I've managed to build it by setting TERM=xterm before the build command

artafinde commented on 2018-03-27 20:47

@nodekey: had the same error on mono and I managed to build it in clean chroot.

nodekey commented on 2018-03-23 04:08

My YCM doesn't work after I rolling updated my arch. It seems that it relates to mono( just upgraded ), because when I tried to reinstall YCM, I get some error with it.

camio commented on 2018-03-09 16:27

Is it possible we can get -DUSE_PYTHON2=OFF added to the PKGBUILD file? python3 seems much more appropriate for ArchLinux than Python2 for a vim plugin.

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

All comments