-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Closed
Copy link
Description
Describe the bug, including details regarding any error messages, version, and platform.
Arrow fails to be built on AlmaLinux 8 on the verification job due to not being able to find Python:
-- Build output directory: /tmp/arrow-14.0.2.ZwfXA/apache-arrow-14.0.2/python/build/temp.linux-x86_64-cpython-311/release
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development.Module
NumPy) (found version "3.11.5")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindPython/Support.cmake:3165 (find_package_handle_standard_args)
/usr/share/cmake/Modules/FindPython3.cmake:485 (include)
cmake_modules/FindPython3Alt.cmake:51 (find_package)
CMakeLists.txt:262 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/arrow-14.0.2.ZwfXA/apache-arrow-14.0.2/python/build/temp.linux-x86_64-cpython-311/CMakeFiles/CMakeOutput.log".
error: command '/usr/bin/cmake' failed with exit code 1
Failed to verify release candidate. See /tmp/arrow-14.0.2.ZwfXA for details.
1
AlmaLinux docker image was updated from 8.8 to 8.9 and the Python version there is different as found here: #38985
The updated AlmaLinux Python version seems to be causing the issue.
This is reproducible on 14.0.2 RC0 and main:
verify-rc-source-python-linux-almalinux-8-amd64
Component(s)
Continuous Integration, Release