Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-9791

[Python] PYARROW_BUNDLE_ARROW_CPP=1 doesn't work on aarch64

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Python
    • Labels:
      None

      Description

      From ARROW-9744:

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

      -- 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
      

      Failing Dockerfile on an ARMv8 system:

      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
      

        Attachments

          Activity

            People

            • Assignee:
              kou Kouhei Sutou
              Reporter:
              kou Kouhei Sutou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: