Hi,

I have an idea to solve this:

  https://github.com/apache/arrow/pull/8166#pullrequestreview-486396454

> It'll be fixed by using system c-ares (installed by
> Homebrew) in both Apache Arrow and gRPC. We need
> c-ares-config.cmake for it. The current
> https://github.com/Homebrew/homebrew-core/blob/master/Formula/c-ares.rb
> uses configure and make. We'll be able to install
> c-ares-config.cmake by switching to cmake and ninja from
> configure and make.

Thanks,
--
kou

In <20d2175f-6b25-4c99-a45b-7ef95debe...@yahoo.com>
  "MacOS CI issue" on Sat, 12 Sep 2020 16:30:00 -0400,
  Radu Teodorescu <radukay...@yahoo.com.INVALID> wrote:

> Hi,
> I am struggling to debug a task that is failing in CI: 
> https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772 
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772>
> 
> Looks like a CMake failure and that is strange given my PR only touches 
> existing c++ files
> 
> -- Found c-ares: /usr/local/include (found version "1.16.1") 
> 153
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:153>CMake
>  Error at /usr/local/lib/cmake/grpc/modules/Findc-ares.cmake:43 (add_library):
> 154
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:154>
>   add_library cannot create imported target "c-ares::cares" because another
> 155
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:155>
>   target with the same name already exists.
> 156
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:156>Call
>  Stack (most recent call first):
> 157
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:157>
>   /usr/local/lib/cmake/grpc/gRPCConfig.cmake:15 (find_package)
> 158
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:158>
>   cmake_modules/ThirdpartyToolchain.cmake:2461 (find_package)
> 159
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:159>
>   CMakeLists.txt:495 (include)
> 160
>  
> <https://github.com/apache/arrow/pull/8130/checks?check_run_id=1106595772#step:5:160>

Reply via email to