You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Steven Smith (Jira)" <ji...@apache.org> on 2021/03/06 01:14:00 UTC
[jira] [Created] (ARROW-11888) Cmake build of Apache Arrow fails
using grpc's Findre2.cmake with "add_library cannot create imported target
"RE2::re2" because another target with the same name already exists."
Steven Smith created ARROW-11888:
------------------------------------
Summary: Cmake build of Apache Arrow fails using grpc's Findre2.cmake with "add_library cannot create imported target "RE2::re2" because another target with the same name already exists."
Key: ARROW-11888
URL: https://issues.apache.org/jira/browse/ARROW-11888
Project: Apache Arrow
Issue Type: Bug
Affects Versions: 3.0.0
Environment: macOS 10.15.7 19H524
Xcode 12.4 12D4e
Reporter: Steven Smith
I'm trying to create a MacPorts port of Apache Arrow. See [https://github.com/macports/macports-ports/pull/7791]
I'm using a library install of grpc, version 1.36.2. This issue is also observed with grpc version 1.35.0.
The grpc cmake file [Findre2.cmake|https://github.com/grpc/grpc/blob/master/cmake/modules/Findre2.cmake] causes this cmake error when building pyarrow.
I see that there is also a fileĀ Findre2.cmake created and installed in the cmake build of arrow. Also see this issue raised at grpc, [https://github.com/grpc/grpc/issues/25434]
Error:
:info:build CMake Error at /opt/local/lib/cmake/grpc/modules/Findre2.cmake:29 (add_library):
:info:build add_library cannot create imported target "re2::re2" because another target
:info:build with the same name already exists.
Related:
* [http://mail-archives.apache.org/mod_mbox/arrow-dev/202009.mbox/%3C6ECB7D60-844F-410D-8840-24F2CE261752@yahoo.com%3E]
[http://mail-archives.apache.org/mod_mbox/arrow-jira/202009.mbox/%3CJIRA.13327607.1600156125000.372264.1600157460269@Atlassian.JIRA%3E]
* [https://www.mail-archive.com/dev@arrow.apache.org/msg20631.html]
* [https://github.com/macports/macports-ports/pull/7791]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)