You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Axel Naumann (Jira)" <ji...@apache.org> on 2021/06/16 09:53:00 UTC
[jira] [Commented] (ARROW-11890) [C++] find_package(Arrow) is
broken on Ubuntu 18
[ https://issues.apache.org/jira/browse/ARROW-11890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364178#comment-17364178 ]
Axel Naumann commented on ARROW-11890:
--------------------------------------
Maybe related: [https://github.com/apache/arrow/commit/d4121d8a17d9e53ad4421960e357dd2f89771603] adds {{FindRE2.cmake}} but {{/usr/lib/x86_64-linux-gnu/cmake/arrow/Findre2Alt.cmake:25}} looks for {{re2}}:
{code}
find_package(re2 ${find_package_args})
{code}
(Note the difference in casing.) That's even with a newer than distro CMake:
{code}
$ cmake --version
cmake version 3.20.4
{code}
> [C++] find_package(Arrow) is broken on Ubuntu 18
> ------------------------------------------------
>
> Key: ARROW-11890
> URL: https://issues.apache.org/jira/browse/ARROW-11890
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Environment: Ubuntu 18.04
> Reporter: Bowen Xiao
> Priority: Major
>
> This is similar to https://issues.apache.org/jira/browse/ARROW-10495
>
> {code:java}
> CMake Warning at /usr/lib/x86_64-linux-gnu/cmake/arrow/Findre2Alt.cmake:25 (find_package):
> By not providing "Findre2.cmake" in CMAKE_MODULE_PATH this project has
> asked CMake to find a package configuration file provided by "re2", but
> CMake did not find one. Could not find a package configuration file provided by "re2" with any of
> the following names: re2Config.cmake
> re2-config.cmake Add the installation prefix of "re2" to CMAKE_PREFIX_PATH or set "re2_DIR"
> to a directory containing one of the above files. If "re2" provides a
> separate development package or SDK, be sure it has been installed.
> Call Stack (most recent call first):
> /usr/share/cmake-3.10/Modules/CMakeFindDependencyMacro.cmake:48 (find_package)
> /usr/lib/x86_64-linux-gnu/cmake/arrow/ArrowConfig.cmake:95 (find_dependency)
> test/CMakeLists.txt:11 (find_package){code}
> {code:java}
> // code placeholder
> drwxr-xr-x 1 root root 4096 Mar 6 14:49 .
> drwxr-xr-x 1 root root 4096 Mar 6 13:57 ..
> -rw-r--r-- 1 root root 2702 Jan 19 05:42 ArrowCUDAConfig.cmake
> -rw-r--r-- 1 root root 1269 Jan 19 05:42 ArrowCUDAConfigVersion.cmake
> -rw-r--r-- 1 root root 1415 Jan 19 05:42 ArrowCUDATargets-release.cmake
> -rw-r--r-- 1 root root 4120 Jan 19 05:42 ArrowCUDATargets.cmake
> -rw-r--r-- 1 root root 4680 Jan 19 05:42 ArrowConfig.cmake
> -rw-r--r-- 1 root root 1269 Jan 19 05:42 ArrowConfigVersion.cmake
> -rw-r--r-- 1 root root 2751 Jan 19 05:42 ArrowDatasetConfig.cmake
> -rw-r--r-- 1 root root 1269 Jan 19 05:42 ArrowDatasetConfigVersion.cmake
> -rw-r--r-- 1 root root 1460 Jan 19 05:42 ArrowDatasetTargets-release.cmake
> -rw-r--r-- 1 root root 4147 Jan 19 05:42 ArrowDatasetTargets.cmake
> -rw-r--r-- 1 root root 2718 Jan 19 05:42 ArrowFlightConfig.cmake
> -rw-r--r-- 1 root root 1269 Jan 19 05:42 ArrowFlightConfigVersion.cmake
> -rw-r--r-- 1 root root 1445 Jan 19 05:42 ArrowFlightTargets-release.cmake
> -rw-r--r-- 1 root root 4138 Jan 19 05:42 ArrowFlightTargets.cmake
> -rw-r--r-- 1 root root 7532 Jan 19 05:42 ArrowOptions.cmake
> -rw-r--r-- 1 root root 1342 Jan 19 05:42 ArrowTargets-release.cmake
> -rw-r--r-- 1 root root 4298 Jan 19 05:42 ArrowTargets.cmake
> -rw-r--r-- 1 root root 16770 Jan 19 05:42 FindArrow.cmake
> -rw-r--r-- 1 root root 3527 Jan 19 05:42 FindArrowCUDA.cmake
> -rw-r--r-- 1 root root 3607 Jan 19 05:42 FindArrowDataset.cmake
> -rw-r--r-- 1 root root 3624 Jan 19 05:42 FindArrowFlight.cmake
> -rw-r--r-- 1 root root 5755 Jan 19 05:42 FindBrotli.cmake
> -rw-r--r-- 1 root root 3660 Jan 19 05:42 FindGandiva.cmake
> -rw-r--r-- 1 root root 2984 Jan 19 05:42 FindLz4.cmake
> -rw-r--r-- 1 root root 5258 Jan 19 05:42 FindParquet.cmake
> -rw-r--r-- 1 root root 4095 Jan 19 05:42 FindPlasma.cmake
> -rw-r--r-- 1 root root 2322 Jan 19 05:42 FindSnappy.cmake
> -rw-r--r-- 1 root root 2973 Jan 19 05:42 Findre2Alt.cmake
> -rw-r--r-- 1 root root 2639 Jan 19 05:42 Findutf8proc.cmake
> -rw-r--r-- 1 root root 3183 Jan 19 05:42 Findzstd.cmake
> {code}
>
>
> I list the package and not found Findre2.cmake
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)