Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccls doesn't install on macOS (M1) #53

Closed
1 task done
akinsho opened this issue Jul 11, 2022 · 5 comments
Closed
1 task done

ccls doesn't install on macOS (M1) #53

akinsho opened this issue Jul 11, 2022 · 5 comments

Comments

@akinsho
Copy link

akinsho commented Jul 11, 2022

Problem description

This seems to be a rehash of williamboman/nvim-lsp-installer#350 which I believe https://github.com/williamboman/nvim-lsp-installer/pull/352/files fixes, but unfortunately this does not seem to work in mason. Not sure if something needs to be ported over.

Neovim version (>= 0.7)

NVIM v0.8.0-dev+2052-g95c65a6b2

Operating system/version

macOS 12.4

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Affected packages

ccls

Actual behavior

    ◍ ccls
      Cloning into '.'...
      Submodule 'third_party/rapidjson' (https://github.com/Tencent/rapidjson) registered for path 'third_party/rapidjson'
      Cloning into '/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/third_party/rapidjson'...
      Submodule path 'third_party/rapidjson': checked out '6a905f9311f82d306da77bd963ec5aa5da07da9c'
      Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'third_party/rapidjson/thirdparty/gtest'
      Cloning into '/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/third_party/rapidjson/thirdparty/gtest'...
      Submodule path 'third_party/rapidjson/thirdparty/gtest': checked out '0a439623f75c029912728d80cb7f1b8b48739ca4'
      From https://github.com/MaskRay/ccls
       * tag               0.20210330 -> FETCH_HEAD
      Note: switching to 'FETCH_HEAD'.
      
      You are in 'detached HEAD' state. You can look around, make experimental
      changes and commit them, and you can discard any commits you make in this
      state without impacting any branches by switching back to a branch.
      
      If you want to create a new branch to retain commits you create, you may
      do so (now or later) by using -c with the switch command. Example:
      
        git switch -c <new-branch-name>
      
      Or undo this operation with:
      
        git switch -
      
      Turn off this advice by setting config variable advice.detachedHead to false
      
      HEAD is now at 0ada56e Fix short_name_size when getNameAsString does not return a prefix (#784)
      CMake Warning:
        No source or binary directory provided.  Both will be assumed to be the
        same as the current working directory, but note that this warning will
        become a fatal error in future CMake releases.
      
      
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:44 (message):
        check_source_compiles: C: needs to be enabled before use.
      Call Stack (most recent call first):
        /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/FindFFI.cmake:44 (check_c_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMConfig.cmake:236 (find_package)
        /opt/homebrew/opt/llvm/lib/cmake/clang/ClangConfig.cmake:9 (find_package)
        CMakeLists.txt:72 (find_package)
      
      
      -- Could NOT find FFI (missing: HAVE_FFI_CALL) 
      -- Could NOT find Terminfo (missing: Terminfo_LINKABLE) 
      CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:44 (message):
        check_source_compiles: C: needs to be enabled before use.
      Call Stack (most recent call first):
        /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/FindTerminfo.cmake:21 (check_c_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMConfig.cmake:243 (find_package)
        /opt/homebrew/opt/llvm/lib/cmake/clang/ClangConfig.cmake:9 (find_package)
        CMakeLists.txt:72 (find_package)
      
      
      -- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libz.tbd (found version "1.2.11") 
      -- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libxml2.tbd (found version "2.9.4") 
      -- Looking for C++ include pthread.h
      -- Looking for C++ include pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE  
      -- Using local RapidJSON
      fatal: No names found, cannot describe anything.
      -- Configuring incomplete, errors occurred!
      See also "/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/CMakeFiles/CMakeOutput.log".
      See also "/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/CMakeFiles/CMakeError.log".
      spawn: cmake failed with exit code 1 and signal 0. 

Expected behavior

A smooth installation 😄

Mason output

mason.nvim  alpha branch
                                                                    press ? for help
                                                       https://github.com/williamboman/mason.nvim
                             Give usage feedback: https://github.com/williamboman/mason.nvim/discussions/new?category=ideas
   (1) All   (2) LSP   (3) DAP   (4) Linter   (5) Formatter  
  
  Language Filter: press <C-f> to apply filter

  Installed
    ◍ bash-language-server
    ◍ delve
    ◍ gopls
    ◍ graphql-language-service-cli
    ◍ json-lsp
    ◍ lua-language-server
    ◍ marksman
    ◍ pyright
    ◍ rust-analyzer
    ◍ sqls
    ◍ terraform-ls
    ◍ tflint
    ◍ typescript-language-server
    ◍ vim-language-server
    ◍ yaml-language-server
  
  Failed
    ◍ ccls
      Cloning into '.'...
      Submodule 'third_party/rapidjson' (https://github.com/Tencent/rapidjson) registered for path 'third_party/rapidjson'
      Cloning into '/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/third_party/rapidjson'...
      Submodule path 'third_party/rapidjson': checked out '6a905f9311f82d306da77bd963ec5aa5da07da9c'
      Submodule 'thirdparty/gtest' (https://github.com/google/googletest.git) registered for path 'third_party/rapidjson/thirdparty/gtest'
      Cloning into '/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/third_party/rapidjson/thirdparty/gtest'...
      Submodule path 'third_party/rapidjson/thirdparty/gtest': checked out '0a439623f75c029912728d80cb7f1b8b48739ca4'
      From https://github.com/MaskRay/ccls
       * tag               0.20210330 -> FETCH_HEAD
      Note: switching to 'FETCH_HEAD'.
      
      You are in 'detached HEAD' state. You can look around, make experimental
      changes and commit them, and you can discard any commits you make in this
      state without impacting any branches by switching back to a branch.
      
      If you want to create a new branch to retain commits you create, you may
      do so (now or later) by using -c with the switch command. Example:
      
        git switch -c <new-branch-name>
      
      Or undo this operation with:
      
        git switch -
      
      Turn off this advice by setting config variable advice.detachedHead to false
      
      HEAD is now at 0ada56e Fix short_name_size when getNameAsString does not return a prefix (#784)
      CMake Warning:
        No source or binary directory provided.  Both will be assumed to be the
        same as the current working directory, but note that this warning will
        become a fatal error in future CMake releases.
      
      
      -- The CXX compiler identification is AppleClang 13.1.6.13160021
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:44 (message):
        check_source_compiles: C: needs to be enabled before use.
      Call Stack (most recent call first):
        /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/FindFFI.cmake:44 (check_c_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMConfig.cmake:236 (find_package)
        /opt/homebrew/opt/llvm/lib/cmake/clang/ClangConfig.cmake:9 (find_package)
        CMakeLists.txt:72 (find_package)
      
      
      -- Could NOT find FFI (missing: HAVE_FFI_CALL) 
      -- Could NOT find Terminfo (missing: Terminfo_LINKABLE) 
      CMake Error at /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/Internal/CheckSourceCompiles.cmake:44 (message):
        check_source_compiles: C: needs to be enabled before use.
      Call Stack (most recent call first):
        /opt/homebrew/Cellar/cmake/3.23.2/share/cmake/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/FindTerminfo.cmake:21 (check_c_source_compiles)
        /opt/homebrew/opt/llvm/lib/cmake/llvm/LLVMConfig.cmake:243 (find_package)
        /opt/homebrew/opt/llvm/lib/cmake/clang/ClangConfig.cmake:9 (find_package)
        CMakeLists.txt:72 (find_package)
      
      
      -- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libz.tbd (found version "1.2.11") 
      -- Found LibXml2: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libxml2.tbd (found version "2.9.4") 
      -- Looking for C++ include pthread.h
      -- Looking for C++ include pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      -- Found Threads: TRUE  
      -- Using local RapidJSON
      fatal: No names found, cannot describe anything.
      -- Configuring incomplete, errors occurred!
      See also "/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/CMakeFiles/CMakeOutput.log".
      See also "/Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git/CMakeFiles/CMakeError.log".
      spawn: cmake failed with exit code 1 and signal 0. 
      
  
  Available
    ◍ angular-language-server
    ◍ ansible-language-server
    ◍ apex-language-server
    ◍ arduino-language-server
    ◍ asm-lsp
    ◍ astro-language-server
    ◍ awk-language-server
    ◍ beancount-language-server
    ◍ bicep-lsp
    ◍ black
    ◍ bsl-language-server
    ◍ chrome-debug-adapter
    ◍ clangd
    ◍ clarity-lsp
    ◍ clojure-lsp
    ◍ cmake-language-server
    ◍ codelldb
    ◍ codeql
    ◍ cpplint
    ◍ cpptools
    ◍ crystalline
    ◍ csharp-language-server
    ◍ css-lsp
    ◍ cssmodules-language-server
    ◍ cucumber-language-server
    ◍ debugpy
    ◍ deno
    ◍ dhall-lsp
    ◍ diagnostic-languageserver
    ◍ dockerfile-language-server
    ◍ dot-language-server
    ◍ editorconfig-checker
    ◍ efm
    ◍ elixir-ls
    ◍ elm-format
    ◍ elm-language-server
    ◍ ember-language-server
    ◍ emmet-ls
    ◍ erlang-ls
    ◍ esbonio
    ◍ eslint-lsp
    ◍ eslint_d
    ◍ firefox-debug-adapter
    ◍ flux-lsp
    ◍ foam-language-server
    ◍ fortls
    ◍ fsautocomplete
    ◍ go-debug-adapter
    ◍ gofumpt
    ◍ golangci-lint
    ◍ golangci-lint-langserver
    ◍ golines
    ◍ gomodifytags
    ◍ gotests
    ◍ grammarly-languageserver
    ◍ groovy-language-server
    ◍ haskell-language-server
    ◍ haxe-language-server
    ◍ hoon-language-server
    ◍ html-lsp
    ◍ impl
    ◍ intelephense
    ◍ jdtls
    ◍ jedi-language-server
    ◍ json-to-struct
    ◍ jsonnet-language-server
    ◍ julia-lsp
    ◍ kotlin-language-server
    ◍ ktlint
    ◍ lelwel
    ◍ lemminx
    ◍ lemmy-help
    ◍ ltex-ls
    ◍ luacheck
    ◍ metamath-zero-lsp
    ◍ misspell
    ◍ mockdebug
    ◍ netcoredbg
    ◍ nickel-lang-lsp
    ◍ nimlsp
    ◍ node-debug2-adapter
    ◍ ocaml-lsp
    ◍ omnisharp-roslyn
    ◍ opencl-language-server
    ◍ perlnavigator
    ◍ php-debug-adapter
    ◍ phpactor
    ◍ powershell-editor-services
    ◍ prettier
    ◍ prisma-language-server
    ◍ prosemd-lsp
    ◍ psalm
    ◍ puppet-editor-services
    ◍ purescript-language-server
    ◍ pylint
    ◍ python-lsp-server
    ◍ quick-lint-js
    ◍ r-languageserver
    ◍ reason-language-server
    ◍ remark-language-server
    ◍ rescript-lsp
    ◍ revive
    ◍ rnix-lsp
    ◍ robotframework-lsp
    ◍ rome
    ◍ salt-lsp
    ◍ serve-d
    ◍ shellcheck
    ◍ shfmt
    ◍ shopify-theme-check
    ◍ slint-lsp
    ◍ solang
    ◍ solargraph
    ◍ solidity
    ◍ sorbet
    ◍ sourcery
    ◍ sqlls
    ◍ staticcheck
    ◍ stylelint-lsp
    ◍ stylua
    ◍ svelte-language-server
    ◍ svlangserver
    ◍ svls
    ◍ tailwindcss-language-server
    ◍ taplo
    ◍ teal-language-server
    ◍ texlab
    ◍ vala-language-server
    ◍ verible
    ◍ vetur-vls
    ◍ vint
    ◍ visualforce-language-server
    ◍ vls
    ◍ vue-language-server
    ◍ wgsl-analyzer
    ◍ zk
    ◍ zls


### Installation log

```Text
[INFO  Mon 11 Jul 16:00:18 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[INFO  Mon 11 Jul 16:02:24 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 16:02:31 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 16:03:12 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 16:03:18 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 16:03:31 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 16:03:35 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 16:06:09 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 16:06:14 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 16:10:03 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[INFO  Mon 11 Jul 16:10:23 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 16:10:29 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 17:06:20 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 17:06:25 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 17:09:07 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[INFO  Mon 11 Jul 17:09:07 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 17:09:07 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=".../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:113: Vim:E739: Cannot create directory /Users/akin/.local/share/nvim/mason/.packages/ccls: file already exists"
[ERROR Mon 11 Jul 17:09:13 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 17:10:06 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[INFO  Mon 11 Jul 17:10:06 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 17:10:06 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=".../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:113: ...im/site/pack/packer/opt/mason.nvim/lua/mason-core/fs.lua:65: EEXIST: file already exists: /Users/akin/.local/share/nvim/mason/.packages/ccls/ccls-git"
[ERROR Mon 11 Jul 17:10:06 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: git failed with exit code 128 and signal 0. 
[INFO  Mon 11 Jul 17:11:03 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[INFO  Mon 11 Jul 17:11:03 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 17:11:03 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=".../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:113: Vim:E739: Cannot create directory /Users/akin/.local/share/nvim/mason/.packages/ccls: file already exists"
[ERROR Mon 11 Jul 17:11:08 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 17:51:13 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 17:51:21 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 18:06:13 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 18:06:20 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 18:11:10 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 18:11:17 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 18:12:23 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 18:12:31 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 18:51:29 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 18:51:34 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 18:54:42 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 18:54:46 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 
[INFO  Mon 11 Jul 18:55:11 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:110: Executing installer for Package(name=ccls)
[ERROR Mon 11 Jul 18:55:16 2022] .../packer/opt/mason.nvim/lua/mason-core/installer/init.lua:146: Installation failed for Package(name=ccls) error=spawn: cmake failed with exit code 1 and signal 0. 


### Healthcheck

```Text
mason-core: require("mason-core.health").check()
========================================================================
## mason.nvim report
  - OK: neovim version >= 0.7.0
  - OK: **Go**: `go version go1.18.3 darwin/arm64`
  - OK: **cargo**: `cargo 1.62.0 (a748cf5a3 2022-06-08)`
  - OK: **luarocks**: `/opt/homebrew/bin/luarocks 3.9.1`
  - OK: **Ruby**: `ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]`
  - OK: **RubyGem**: `3.3.11`
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - OK: **npm**: `8.12.1`
  - OK: **node**: `v18.5.0`
  - OK: **python3**: `Python 3.9.8`
  - OK: **pip3**: `pip 21.2.4 from /Users/akin/.pyenv/versions/3.9.8/lib/python3.9/site-packages/pip (python 3.9)`
  - OK: **javac**: `javac 17.0.2`
  - OK: **java**: `openjdk version "17.0.2" 2022-01-18`
  - WARNING: **julia**: not available
  - OK: **wget**: `GNU Wget 1.21.3 built on darwin21.3.0.`
  - OK: **curl**: `curl 7.79.1 (x86_64-apple-darwin21.0) libcurl/7.79.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1`
  - OK: **gzip**: `Apple gzip 353.100.22`
  - OK: **tar**: `bsdtar 3.5.1 - libarchive 3.5.1 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.8 `
  - OK: **bash**: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21)`
  - OK: **sh**: `Ok`
  - OK: GitHub API rate limit. Used: 13. Remaining: 4987. Limit: 5000. Reset: Mon 11 Jul 18:57:43 2022.


### Screenshots

_No response_
@williamboman
Copy link
Owner

Hello! Hmm it compiles fine on my Mac. Do you have Xcode Command Line Tools installed, and if yes is it available at /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk? Also what LLVM version do you have installed via Homebrew?

@akinsho
Copy link
Author

akinsho commented Jul 11, 2022

llvm version is 14.0.6 via homebrew, and yep, I have the CLI tools installed. Not sure if maybe there's a homebrew step I missed?

@akinsho
Copy link
Author

akinsho commented Jul 12, 2022

@williamboman is there anything I need specifically in place to install this via mason. I've installed it via homebrew and am using it without issue, but the installation still fails via mason.

EDIT: not sure why the robot doesn't like me 😅 maybe the direct mention

@williamboman
Copy link
Owner

I'm leaning towards removing ccls entirely, or try to find prebuilt binaries from somewhere. It's a server that doesn't see frequent releases and it's been a mess to get to build across-platform. Installing via the system default package manager provides a much better experience atm.

Haha the bot is a bit misconfigured, will have to fix that!

@akinsho
Copy link
Author

akinsho commented Jul 12, 2022

👍🏿 fair enough, tbh the brew experience was quick and easy, and I'm not too fussed since I have a Brewfile so will be reproducible on a new machine, so happy to close this out. Was more here in case it was just a matter of porting some fix from nvim-lsp-installer.

@akinsho akinsho closed this as completed Jul 12, 2022
vantaboard pushed a commit to vantaboard/mason.nvim that referenced this issue Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants