[
https://issues.apache.org/jira/browse/ARROW-17753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17607140#comment-17607140
]
Joris Van den Bossche commented on ARROW-17753:
-----------------------------------------------
We could maybe have some checklist of things to try or ensure when your build
is failing.
> [C++][Python] 'arrow_keep_backward_compatibility' error when building from
> source
> ---------------------------------------------------------------------------------
>
> Key: ARROW-17753
> URL: https://issues.apache.org/jira/browse/ARROW-17753
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, Python
> Reporter: Alenka Frim
> Assignee: Alenka Frim
> Priority: Major
> Fix For: 10.0.0
>
>
> Due to bigger changes in the build workflow for Arrow C++ coming up in the
> 10.0.0 release, failures when building the libraries are quite common. The
> errors we bump into are similar to:
> {code:java}
> CMake Error at
> build/dist/lib/cmake/ArrowPython/ArrowPythonConfig.cmake:61
> (arrow_keep_backward_compatibility):
> Unknown CMake command "arrow_keep_backward_compatibility".
> Call Stack (most recent call first):
> CMakeLists.txt:240 (find_package)
> {code}
> or
> {code:java}
> -- Found Python3Alt: /Users/alenkafrim/repos/pyarrow-dev-9/bin/python
> CMake Error at
> /opt/homebrew/Cellar/cmake/3.24.1/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47
> (find_package):
> By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
> asked CMake to find a package configuration file provided by "Arrow", but
> CMake did not find one.
> Could not find a package configuration file provided by "Arrow" with any of
> the following names:
> ArrowConfig.cmake
> arrow-config.cmake
> Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
> "Arrow_DIR" to a directory containing one of the above files. If "Arrow"
> provides a separate development package or SDK, be sure it has been
> installed.
> Call Stack (most recent call first):
> build/dist/lib/cmake/ArrowPython/ArrowPythonConfig.cmake:54
> (find_dependency)
> CMakeLists.txt:240 (find_package)
> {code}
> Connected issues:
> - https://issues.apache.org/jira/browse/ARROW-17577
> - https://issues.apache.org/jira/browse/ARROW-17575
--
This message was sent by Atlassian Jira
(v8.20.10#820010)