Package Details: cquery v20180718-8

Git Clone URL: (read-only, click to copy)
Package Base: cquery
Description: cquery is a highly-scalable, low-latency language server for C/C++/Objective-C.
Upstream URL:
Keywords: c c++ language-server lsp
Licenses: MIT
Conflicts: cquery-git
Submitter: SilverRainZ
Maintainer: MaskRay (lilac)
Last Packager: lilac
Votes: 9
Popularity: 0.000000
First Submitted: 2018-01-28 05:06 (UTC)
Last Updated: 2019-01-03 17:28 (UTC)

Latest Comments

1 2 Next › Last »

SilverRainZ commented on 2022-11-07 07:41 (UTC)

FYI: cquery is dead, so disown it.

cobaltspace commented on 2019-09-28 08:04 (UTC)

You don't need to use git to download github repos on specific commits. Instead you could have


matzy commented on 2018-10-10 19:51 (UTC)

Got it - thanks. Sorry for the dumb question, new to this

Morganamilo commented on 2018-10-10 19:37 (UTC)

Links are made at build time. All you have to do is rebuild the package yourself.

matzy commented on 2018-10-10 19:35 (UTC) (edited on 2018-10-10 19:44 (UTC) by matzy)

So this package is looking for, but the official repos upgraded to clang v7, so the library is now Is an update available from cquery that points to the new clang lib file, or is there a way to fix it in the meantime? (new to arch and this whole process or I would offer to fix it myself, sorry)

lucc commented on 2018-10-01 05:15 (UTC)

Maybe I was not clear. I know that you use the tar ball. I know that the git submodules are not in the tar ball. I suggest to use packages from the arch repos instead of some of the sources from the PKGBUILD. More specifically I suggest something like this diff:

diff --git a/PKGBUILD b/PKGBUILD
index a17aa73..e4b2f2b 100644
@@ -3,25 +3,21 @@
 pkgdesc='cquery is a highly-scalable, low-latency language server for C/C++/Objective-C.'
+depends=('clang>=6.0.0' rapidjson msgpack-c)
 makedepends=('git' 'cmake>=3.1')
-        'git+'
-        'git+'
-            'SKIP'
-            'SKIP'
@@ -29,11 +25,9 @@ sha256sums=('72361e5e6f7a4a6b5ae27d555354efb4b012d20798b50ddd19cfd81bdf56cc1c'

 prepare() {
     cd $pkgname-$__pkgver
-    cp -r -u $srcdir/rapidjson third_party
     cp -r -u $srcdir/doctest third_party
     cp -r -u $srcdir/sparsepp third_party
     cp -r -u $srcdir/loguru third_party
-    cp -r -u $srcdir/msgpack-c third_party
     cp -r -u $srcdir/pugixml third_party
 build() {

I can build and install that and even run the executable afterwards. I did not test this with an editor yet as I am not working on any C project recently.

SilverRainZ commented on 2018-09-29 14:45 (UTC)

@lucc, I had said about this here.

Source of this package is a tarball of cquery release, there are not third_party code in it because these code are referenced as git submodudle -- and the tarball does not contains a git repo.

lucc commented on 2018-09-29 13:51 (UTC)

Is there a reason why you do not use the packages rapidjson, msgpack-c or pugixml from the repos?

I was able to build cquery with the rapidjson and msgpack-c from the repo instead of the custom download from the PKGBUILD. I only started the cquery executable on the command line and did no extensive testing but that worked. My first attempt to build with pugixml from the repo failed but maybe I missed something that I had to change in the PKGBUILD.

SilverRainZ commented on 2018-09-08 13:01 (UTC)

@Morganamilo Yes indeed, thank you for pointing out.

Morganamilo commented on 2018-09-08 01:05 (UTC) (edited on 2018-09-08 01:07 (UTC) by Morganamilo)

Fragments are meant to be preceded with # not ?. The ? is actually for something totally different. This means that this package always pulls from master, not a specific commit.