twlz0ne / homebrew-ccls

Homebrew formula to install [ccls](https://github.com/MaskRay/ccls)
17 stars 7 forks source link

Upgrade Error #15

Closed AlkenePan closed 5 years ago

AlkenePan commented 5 years ago
twlz0ne/ccls/ccls HEAD-31921a9 -> HEAD-31921a9
==> Upgrading twlz0ne/ccls/ccls
==> Cloning https://github.com/MaskRay/ccls.git
Updating /Users/didi/Library/Caches/Homebrew/ccls--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 5e15f51 Misc
Entering 'third_party/rapidjson'
Synchronizing submodule url for 'thirdparty/gtest'
Entering 'third_party/rapidjson/thirdparty/gtest'
/Users/didi/Library/Caches/Homebrew/ccls--git/third_party/rapidjson
/Users/didi/Library/Caches/Homebrew/ccls--git/third_party/rapidjson/thirdparty/gtest
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cel
==> cmake --build Release --target install
Last 15 lines from /Users/didi/Library/Logs/Homebrew/ccls/02.cmake:
  "vtable for clang::IgnoringDiagConsumer", referenced from:
      clang::IgnoringDiagConsumer::IgnoringDiagConsumer() in clang_tu.cc.o
      clang::IgnoringDiagConsumer::IgnoringDiagConsumer() in project.cc.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for clang::vfs::FileSystem", referenced from:
      clang::vfs::FileSystem::FileSystem() in sema_manager.cc.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "vtable for clang::index::IndexDataConsumer", referenced from:
      clang::index::IndexDataConsumer::IndexDataConsumer() in indexer.cc.o
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ccls] Error 1
make[1]: *** [CMakeFiles/ccls.dir/all] Error 2
make: *** [all] Error 2
twlz0ne commented 5 years ago

Duplicate https://github.com/twlz0ne/homebrew-ccls/issues/13

I'll check it later, but I only have 10.11.6 on my computer.

AlkenePan commented 5 years ago

Duplicate #13

I'll check it later, but I only have 10.11.6 on my computer.

thx