Skip to content

arrow: failed to install arrow by xrepo #7696

@hazby2002

Description

@hazby2002

Xmake Version

v3.0.0+20250708

Operating System Version and Architecture

Ubuntu22.04

Describe Bug

xrepo install arrow failed

Expected Behavior

N/A

Project Configuration

N/A

Additional Information and Error Logs

xrepo install arrow
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
  -> boost 1.88.0 [from:arrow, license:BSL-1.0]
  -> arrow 7.0.0 [license:Apache-2.0]
please input: y (y/n/m)
y
  => download https://github.com/boostorg/boost/releases/download/boost-1.88.0/boost-1.88.0-cmake.tar.gz .. ok
  => install boost 1.88.0 .. ok
  => download https://github.com/apache/arrow/archive/refs/tags/apache-arrow-7.0.0.tar.gz .. ok
  => install arrow 7.0.0 .. failed

ninja: Entering directory `/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863'
[1/236] Creating directories for 'mimalloc_ep'
[2/236] Creating directories for 'xsimd_ep'
[3/236] Performing download step (download, verify and extract) for 'mimalloc_ep'
-- Downloading...
   dst='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/v1.7.3.tar.gz'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://github.com/microsoft/mimalloc/archive/v1.7.3.tar.gz'
-- verifying file...
       file='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/v1.7.3.tar.gz'
-- Downloading... done
-- extracting...
     src='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/v1.7.3.tar.gz'
     dst='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep'
-- extracting... [tar xfz]
-- extracting... [analysis]
if you want to get more verbose errors, please see:
  -> /home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/installdir.failed/logs/install.txt
error: install failed!
warning: If cmake build failure, set package config cmake = false fallback to b2 for the build
error: execv(/home/me/.local/bin/xmake require -j 34 --extra={system=false} arrow) failed(255)
ninja: Entering directory `/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863'
[1/236] Creating directories for 'mimalloc_ep'
[2/236] Creating directories for 'xsimd_ep'
[3/236] Performing download step (download, verify and extract) for 'mimalloc_ep'
-- Downloading...
   dst='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/v1.7.3.tar.gz'
   timeout='none'
   inactivity timeout='none'
-- Using src='https://github.com/microsoft/mimalloc/archive/v1.7.3.tar.gz'
-- verifying file...
       file='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/v1.7.3.tar.gz'
-- Downloading... done
-- extracting...
     src='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/v1.7.3.tar.gz'
     dst='/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[4/236] No update step for 'mimalloc_ep'
[5/236] No patch step for 'mimalloc_ep'
[6/236] Performing configure step for 'mimalloc_ep'
FAILED: mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure /home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure 
cd /home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep-build && /home/me/.xmake/packages/c/cmake/4.0.3/b686e3b7911246e2bfa1b52ae27762fe/bin/cmake -DCMAKE_C_COMPILER=/usr/bin/cc -DCMAKE_CXX_COMPILER=/usr/bin/c++ -DCMAKE_AR=/usr/bin/ar -DCMAKE_RANLIB=/usr/bin/ranlib -DCMAKE_BUILD_TYPE=RELEASE "-DCMAKE_C_FLAGS=  -O3 -DNDEBUG  -O3 -DNDEBUG -fPIC" "-DCMAKE_C_FLAGS_RELEASE=  -O3 -DNDEBUG  -O3 -DNDEBUG -fPIC" "-DCMAKE_CXX_FLAGS=  -fdiagnostics-color=always -O3 -DNDEBUG  -O3 -DNDEBUG -fPIC" "-DCMAKE_CXX_FLAGS_RELEASE=  -fdiagnostics-color=always -O3 -DNDEBUG  -O3 -DNDEBUG -fPIC" -DCMAKE_CXX_STANDARD=11 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY= -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY= -DCMAKE_VERBOSE_MAKEFILE=FALSE -DCMAKE_INSTALL_PREFIX=/home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep/src/mimalloc_ep -DMI_OVERRIDE=OFF -DMI_LOCAL_DYNAMIC_TLS=ON -DMI_BUILD_OBJECT=OFF -DMI_BUILD_SHARED=OFF -DMI_BUILD_TESTS=OFF -GNinja -S /home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep -B /home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep-build && /home/me/.xmake/packages/c/cmake/4.0.3/b686e3b7911246e2bfa1b52ae27762fe/bin/cmake -E touch /home/me/.xmake/cache/packages/2507/a/arrow/7.0.0/source/cpp/build_93c7c863/mimalloc_ep-prefix/src/mimalloc_ep-stamp/mimalloc_ep-configure
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
[7/236] Performing download step (download, verify and extract) for 'xsimd_ep'
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions