[ https://issues.apache.org/jira/browse/ARROW-10495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou resolved ARROW-10495. ---------------------------------- Fix Version/s: 3.0.0 Resolution: Fixed Issue resolved by pull request 8592 [https://github.com/apache/arrow/pull/8592] > [C++] find_package(Arrow) is broken on Ubuntu 18 > ------------------------------------------------ > > Key: ARROW-10495 > URL: https://issues.apache.org/jira/browse/ARROW-10495 > Project: Apache Arrow > Issue Type: Bug > Components: Packaging > Affects Versions: 2.0.0 > Environment: Ubuntu 18 > Reporter: Oksana Shadura > Assignee: Kouhei Sutou > Priority: Major > Labels: pull-request-available > Fix For: 3.0.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > On Ubuntu 18, after updating Arrow version to 2.0.0, ROOT > ([https://github.com/root-project/root)] builds are broken: > {code:java} > CMake Warning at cmake/modules/SearchInstalledSoftware.cmake:16 > (_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) > cmake/modules/SearchInstalledSoftware.cmake:16 (_find_package) > {code} > Looks like a problem is that for a Debian/Ubuntu packaging is missing > _FindRE2.cmake_ in a list > [https://github.com/apache/arrow/blob/master/dev/tasks/linux-packages/apache-arrow/debian/libarrow-dev.install] > CMake files I got after installation: > {code:java} > ~$ ls -la /usr/lib/x86_64-linux-gnu/cmake/arrow > t > -rw-r--r-- 1 root root 1175 Okt 13 01:47 arrow-config.cmake > -rw-r--r-- 1 root root 4677 Okt 13 01:47 ArrowConfig.cmake > -rw-r--r-- 1 root root 1269 Okt 13 01:47 ArrowConfigVersion.cmake > -rw-r--r-- 1 root root 7345 Okt 13 01:47 ArrowOptions.cmake > -rw-r--r-- 1 root root 4298 Okt 13 01:47 ArrowTargets.cmake > -rw-r--r-- 1 root root 1342 Okt 13 01:47 ArrowTargets-release.cmake > -rw-r--r-- 1 root root 16770 Okt 13 01:47 FindArrow.cmake > -rw-r--r-- 1 root root 5755 Okt 13 01:47 FindBrotli.cmake > -rw-r--r-- 1 root root 3043 Okt 13 01:47 FindLz4.cmake > -rw-r--r-- 1 root root 5258 Okt 13 01:47 FindParquet.cmake > -rw-r--r-- 1 root root 2384 Okt 13 01:47 FindSnappy.cmake > -rw-r--r-- 1 root root 2703 Okt 13 01:47 Findutf8proc.cmake > -rw-r--r-- 1 root root 3243 Okt 13 01:47 Findzstd.cmake > -rw-r--r-- 1 root root 2988 Okt 13 01:47 ParquetConfig.cmake > -rw-r--r-- 1 root root 1269 Okt 13 01:47 ParquetConfigVersion.cmake > -rw-r--r-- 1 root root 4094 Okt 13 01:47 ParquetTargets.cmake > -rw-r--r-- 1 root root 1370 Okt 13 01:47 ParquetTargets-release.cmake{code} > > Manually adding _FindRE2.cmake_ in _/usr/lib/x86_64-linux-gnu/cmake/arrow_ is > fixing CMake configuration issue. -- This message was sent by Atlassian Jira (v8.3.4#803005)