Package Details: vim-youcompleteme-git r3216.0d855962-1

Git Clone URL: https://aur.archlinux.org/vim-youcompleteme-git.git (read-only, click to copy)
Package Base: vim-youcompleteme-git
Description: A code-completion engine for Vim
Upstream URL: https://ycm-core.github.io/YouCompleteMe/
Keywords: completion engine neovim vim ycm
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: artafinde
Last Packager: artafinde
Votes: 169
Popularity: 0.032125
First Submitted: 2013-02-05 21:32 (UTC)
Last Updated: 2024-08-19 15:53 (UTC)

Dependencies (19)

Required by (0)

Sources (2)

Pinned Comments

artafinde commented on 2021-04-10 13:03 (UTC)

If you want to use system's abseil set the _use_system_abseil to ON - default is to download from internet during build.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 53 Next › Last »

artafinde commented on 2021-12-13 13:08 (UTC)

@lahwaacz: this is just fixed upstream with PR 3984. [Delete your cache] and try again please.

lahwaacz commented on 2021-12-13 11:42 (UTC) (edited on 2021-12-13 11:43 (UTC) by lahwaacz)

The package does not build with Python 3.10.1:

==> Starting pkgver()...
==> Updated version: vim-youcompleteme-git r2860.ab28bd7a-1
==> Starting build()...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3: Found unsuitable version "3.10.1", required range
  is "3.6...3.10" (found /usr/bin/python3.10, found components: Interpreter
  Development Development.Module Development.Embed)
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:592 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.22/Modules/FindPython/Support.cmake:3166 (find_package_handle_standard_args)
  /usr/share/cmake-3.22/Modules/FindPython3.cmake:490 (include)
  CMakeLists.txt:235 (find_package)


-- Configuring incomplete, errors occurred!

artafinde commented on 2021-06-10 06:42 (UTC)

staletic: already done

staletic commented on 2021-06-10 06:12 (UTC)

LLVM12 has hit Extra. Time to migrate back?

staletic commented on 2021-06-05 09:51 (UTC)

LLVM 12 has just hit the official repos. You can switch back to Arch's clangd/libclang.

lahwaacz commented on 2021-05-21 22:15 (UTC)

artafinde: Thanks for updating the package, now I have a functional YCM with clangd 12.

staletic: I still have the problem. When I create the files foo.h and foo.hpp as shown here and open foo.h in vim, YCM gives me this diagnostic:

foo.h|8 col 10 error| In included file: redefinition of 'Foo' /home/lahwaacz/foo.h:3:7: note: error occurred here /home/lahwaacz/foo.hpp:3:10: note: '/home/lahwaacz/foo.h' included multiple times, additional include site here [redefinition]

I even tried to comment out all ycm settings in my vimrc and still got the same. Do you have some some configuration which remedies the issue?

artafinde commented on 2021-05-21 14:05 (UTC)

lahwaacz: Thanks it was a bug there, it should be a relative symlink and it's done to not copy the libclang.so twice as it's big.

lahwaacz commented on 2021-05-21 13:55 (UTC)

artafinde: This command is wrong, since $pkg_ycmd_dir contains the $pkgdir:

ln -s "${pkg_ycmd_dir}/third_party/clang/lib/libclang.so" "${pkg_ycmd_dir}/third_party/clang/lib/libclang.so"

It should also probably link to the file under clangd...

artafinde commented on 2021-05-21 13:36 (UTC)

lahwaacz: Just pushed an update - try rebuilding (no changes required in PKGBUILD)

lahwaacz commented on 2021-05-21 11:40 (UTC)

artafinde: I understood your comment as it is necessary to use _use_system_clang="OFF" until clang 12 appears in the repos, then I was surprised that the package even built with _use_system_clang="ON" (that is pkgver=r2812.ab73ca25-1). Also /usr/share/vim/vimfiles/third_party/ycmd/third_party/clangd/output/ seems to be bundled regardless of the _use_system_clang value?