You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/09/15 08:11:00 UTC
[jira] [Updated] (ARROW-10011) [C++] Make FindRE2.cmake re-entrant
[ https://issues.apache.org/jira/browse/ARROW-10011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-10011:
-----------------------------------
Labels: pull-request-available (was: )
> [C++] Make FindRE2.cmake re-entrant
> -----------------------------------
>
> Key: ARROW-10011
> URL: https://issues.apache.org/jira/browse/ARROW-10011
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, FlightRPC
> Affects Versions: 1.0.0, 1.0.1
> Reporter: Uwe Korn
> Assignee: Uwe Korn
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Repeated calls to FindRE2.cmake try to recreate the exisiting target {{RE2::re2}} which is prohibited by CMake and fails with the following error:
> {code}
> CMake Warning (dev) at C:/Miniconda37-x64/envs/arrow/Library/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
> The package name passed to `find_package_handle_standard_args` (RE2) does
> not match the name of the calling package (re2). This can lead to problems
> in calling code that expects `find_package` result variables (e.g.,
> `_FOUND`) to follow a certain pattern.
> Call Stack (most recent call first):
> cmake_modules/FindRE2.cmake:63 (find_package_handle_standard_args)
> C:/Miniconda37-x64/envs/arrow/Library/lib/cmake/grpc/gRPCConfig.cmake:21 (find_package)
> cmake_modules/ThirdpartyToolchain.cmake:2472 (find_package)
> CMakeLists.txt:495 (include)
> This warning is for project developers. Use -Wno-dev to suppress it.
> CMake Error at cmake_modules/FindRE2.cmake:66 (add_library):
> add_library cannot create imported target "RE2::re2" because another target
> with the same name already exists.
> Call Stack (most recent call first):
> C:/Miniconda37-x64/envs/arrow/Library/lib/cmake/grpc/gRPCConfig.cmake:21 (find_package)
> cmake_modules/ThirdpartyToolchain.cmake:2472 (find_package)
> CMakeLists.txt:495 (include)
> {code}
> Note that this issue only occurs currently on case-insensitive file systems when ARROW_FLIGHT=ON is set.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)