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

[C++] Unable to build Arrow C++ on osx arm64 inside conda env because of Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized and arrow/cpp/arm64-apple-darwin20.0.0-ar: No such file or directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      Steps to reproduce this issue on osx arm64:

      git clone https://github.com/apache/arrow.git
      
      cd arrow/cpp
      brew update && brew install node && brew bundle --file=Brewfile
      
      cd ..
      mamba create -y -n arrow-commit -c conda-forge \
        --file ci/conda_env_unix.txt \
        --file ci/conda_env_cpp.txt \
        --file ci/conda_env_python.txt \
        compilers \
        python=3.8 \
        pandas \
        aws-sdk-cpp \
        r
      
      mamba activate arrow-commit
      pip install -r python/requirements-build.txt -r python/requirements-test.txt
      
      export ARROW_BUILD_TESTS=OFF
      export ARROW_BUILD_TYPE=release
      export ARROW_DEPENDENCY_SOURCE=AUTO
      export ARROW_DATASET=ON
      export ARROW_DEFAULT_MEMORY_POOL=mimalloc
      export ARROW_ENABLE_UNSAFE_MEMORY_ACCESS=true
      export ARROW_ENABLE_NULL_CHECK_FOR_GET=false
      export ARROW_FLIGHT=OFF
      export ARROW_GANDIVA=OFF
      export ARROW_HDFS=ON
      export ARROW_HOME=$CONDA_PREFIX
      export ARROW_INSTALL_NAME_RPATH=OFF
      export ARROW_MIMALLOC=ON
      export ARROW_NO_DEPRECATED_API=ON
      export ARROW_ORC=ON
      export ARROW_PARQUET=ON
      export ARROW_PLASMA=ON
      export ARROW_PYTHON=ON
      export ARROW_S3=ON
      export ARROW_USE_ASAN=OFF
      export ARROW_USE_CCACHE=ON
      export ARROW_USE_UBSAN=OFF
      export ARROW_WITH_BROTLI=ON
      export ARROW_WITH_BZ2=ON
      export ARROW_WITH_LZ4=ON
      export ARROW_WITH_SNAPPY=ON
      export ARROW_WITH_ZLIB=ON
      export ARROW_WITH_ZSTD=ON
      export GTest_SOURCE=BUNDLED
      export ORC_SOURCE=BUNDLED
      export PARQUET_BUILD_EXAMPLES=ON
      export PARQUET_BUILD_EXECUTABLES=ON
      export PYTHON=python
      export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
      
      ci/scripts/cpp_build.sh $(pwd) $(pwd) 
      
      
      

       

      Error (full logs are attached):

      ...
      checking size of void *... 8
      checking size of int... 4
      checking size of long... 8
      checking size of long long... 8
      checking size of intmax_t... 8
      checking build system type... 
      -- stderr output is:
      Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized
      configure: error: /bin/sh build-aux/config.sub arm64-apple-darwin20.0.0 failed
      
      
      CMake Error at /Users/voltrondata/arrow/cpp/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-RELEASE.cmake:47 (message):
        Stopping after outputting logs.
      
      
      
      
      [31/380] Performing configure step for 'orc_ep'
      ninja: build stopped: subcommand failed. 

       

       

      Attachments

        1. logs
          89 kB
          Elena Henderson

        Activity

          People

            Unassigned Unassigned
            elena@ursacomputing.com Elena Henderson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: