[ 
https://issues.apache.org/jira/browse/ARROW-11888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacob Wujciak-Jens closed ARROW-11888.
--------------------------------------
    Resolution: Resolved

The related [PR to 
macports|https://github.com/macports/macports-ports/pull/7791] was merged, 
problem was solved.

> 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
>            Priority: Major
>         Attachments: main.log
>
>
> 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/%[email protected]%3E]
> [http://mail-archives.apache.org/mod_mbox/arrow-jira/202009.mbox/%3cjira.13327607.1600156125000.372264.1600157460...@atlassian.jira%3E]
>  * [https://www.mail-archive.com/[email protected]/msg20631.html]
>  * [https://github.com/macports/macports-ports/pull/7791]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to