You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/08/19 00:20:00 UTC

[jira] [Created] (ARROW-9791) [Python] PYARROW_BUNDLE_ARROW_CPP=1 doesn't work on aarch64

Kouhei Sutou created ARROW-9791:
-----------------------------------

             Summary: [Python] PYARROW_BUNDLE_ARROW_CPP=1 doesn't work on aarch64
                 Key: ARROW-9791
                 URL: https://issues.apache.org/jira/browse/ARROW-9791
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Kouhei Sutou
            Assignee: Kouhei Sutou


From ARROW-9744:

Just tuning back in. Tried out the workaround, and received this:



 
{code:java}
-- Looking for python3.8
 -- Found Python lib /usr/local/lib/libpython3.8.so
 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
 -- Could NOT find Arrow (missing: Arrow_DIR)
 -- Checking for module 'arrow'
 -- No package 'arrow' found
 CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
 Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR
 ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
 Call Stack (most recent call first):
 /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
 cmake_modules/FindArrow.cmake:412 (find_package_handle_standard_args)
 cmake_modules/FindArrowPython.cmake:46 (find_package)
 CMakeLists.txt:210 (find_package)

 -- Configuring incomplete, errors occurred!
 See also "/tmp/pip-install-av0q_7o5/pyarrow/build/temp.linux-aarch64-3.8/CMakeFiles/CMakeOutput.log".
 error: command 'cmake' failed with exit status 1
 ----------------------------------------
 ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
The command '/bin/sh -c PYARROW_CMAKE_OPTIONS="-DARROW_ARMV8_ARCH=armv8-a" pip install pyarrow' returned a non-zero code: 1
{code}
 

Failing Dockerfile on an ARMv8 system:
{code:java}
FROM python:3.8-buster
RUN apt update
RUN apt -y install gcc g++ cmake
RUN PYARROW_CMAKE_OPTIONS="-DARROW_ARMV8_ARCH=armv8-a" pip install pyarrow
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)