apache / arrow

Apache Arrow is a multi-language toolbox for accelerated data interchange and in-memory processing
https://arrow.apache.org/
Apache License 2.0
14.16k stars 3.46k forks source link

[R] installation failure on R Studio Server #32758

Open asfimport opened 2 years ago

asfimport commented 2 years ago

Hi,

I try to install arrow on a RStudio Server. I tried different approaches but always ran into the same poblem. Do you have any idea what goes wrong? Thanks.


// > Sys.setenv(ARROW_R_DEV=TRUE)
> install.packages("arrow")
Installiere Paket nach ‘/home/*/R/x86_64-pc-linux-gnu-library/4.2’
(da ‘lib’ nicht spezifiziert)
versuche URL 'https://cloud.r-project.org/src/contrib/arrow_9.0.0.tar.gz'
Content type 'application/x-gzip' length 4900968 bytes (4.7 MB)
==================================================
downloaded 4.7 MB

* installing *source* package ‘arrow’ ...
** Paket ‘arrow’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For build options and troubleshooting, see the install vignette:
    https://cran.r-project.org/web/packages/arrow/vignettes/install.html
*** Building with MAKEFLAGS= -j2 
**** cmake: /usr/bin/cmake
**** arrow with SOURCE_DIR='tools/cpp' BUILD_DIR='/tmp/Rtmp64sUMd/file553b4faa5f21' DEST_DIR='libarrow/arrow-9.0.0' CMAKE='/usr/bin/cmake' EXTRA_CMAKE_FLAGS='' CC='gcc' CXX='g++ -std=gnu++11' LDFLAGS='-Wl,-z,relro' ARROW_S3='OFF' ARROW_GCS='OFF' ARROW_MIMALLOC='OFF' 
++ pwd
+ : /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow
+ : tools/cpp
+ : /tmp/Rtmp64sUMd/file553b4faa5f21
+ : libarrow/arrow-9.0.0
+ : /usr/bin/cmake
++ cd tools/cpp
++ pwd
+ SOURCE_DIR=/tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/tools/cpp
++ mkdir -p libarrow/arrow-9.0.0
++ cd libarrow/arrow-9.0.0
++ pwd
+ DEST_DIR=/tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/libarrow/arrow-9.0.0
+ '[' '' '!=' '' ']'
+ '[' '' = false ']'
+ ARROW_DEFAULT_PARAM=OFF
+ mkdir -p /tmp/Rtmp64sUMd/file553b4faa5f21
+ pushd /tmp/Rtmp64sUMd/file553b4faa5f21
/tmp/Rtmp64sUMd/file553b4faa5f21 /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow
+ /usr/bin/cmake -DARROW_BOOST_USE_SHARED=OFF -DARROW_BUILD_TESTS=OFF -DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON -DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_DEPENDENCY_SOURCE=AUTO -DAWSSDK_SOURCE= -DARROW_FILESYSTEM=ON -DARROW_GCS=OFF -DARROW_JEMALLOC=OFF -DARROW_MIMALLOC=OFF -DARROW_JSON=ON -DARROW_PARQUET=ON -DARROW_S3=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=ON -DARROW_WITH_RE2=ON -DARROW_WITH_SNAPPY=ON -DARROW_WITH_UTF8PROC=ON -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=OFF -DARROW_VERBOSE_THIRDPARTY_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/libarrow/arrow-9.0.0 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=OFF -Dxsimd_SOURCE= -G 'Unix Makefiles' /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/tools/cpp
-- Building using CMake version: 3.13.4
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 9.0.0 (full: '9.0.0')
-- Arrow SO version: 900 (full: 900.0.0)
-- clang-tidy 12 not found
-- clang-format 12 not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN) 
-- infer not found
fatal: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
-- Found Python3: /usr/bin/python3.7 (found version "3.7.3") found components:  Interpreter 
-- Found cpplint executable at /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/tools/cpp/build-support/cpplint.py
-- System processor: x86_64
-- Performing Test CXX_SUPPORTS_SSE4_2
-- Performing Test CXX_SUPPORTS_SSE4_2 - Success
-- Performing Test CXX_SUPPORTS_AVX2
-- Performing Test CXX_SUPPORTS_AVX2 - Success
-- Performing Test CXX_SUPPORTS_AVX512
-- Performing Test CXX_SUPPORTS_AVX512 - Success
-- Arrow build warning level: PRODUCTION
-- Using ld linker
-- Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Using AUTO approach to find dependencies
-- ARROW_ABSL_BUILD_VERSION: 20211102.0
-- ARROW_ABSL_BUILD_SHA256_CHECKSUM: dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
-- ARROW_AWSSDK_BUILD_VERSION: 1.8.133
-- ARROW_AWSSDK_BUILD_SHA256_CHECKSUM: d6c495bc06be5e21dac716571305d77437e7cfd62a2226b8fe48d9ab5785a8d6
-- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.12
-- ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM: 394723034b81cc7cd528401775bc7aca2b12c7471c92350c80a0e2fb9d2909fe
-- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.6.9
-- ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM: 928a3e36f24d1ee46f9eec360ec5cebfe8b9b8994fe39d4fa74ff51aebb12717
-- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.1.5
-- ARROW_AWS_C_EVENT_STREAM_BUILD_SHA256_CHECKSUM: f1b423a487b5d6dca118bfc0d0c6cc596dc476b282258a3228e73a8f730422d4
-- ARROW_BOOST_BUILD_VERSION: 1.75.0
-- ARROW_BOOST_BUILD_SHA256_CHECKSUM: 267e04a7c0bfe85daf796dedc789c3a27a76707e1c968f0a2a87bb96331e2b61
-- ARROW_BROTLI_BUILD_VERSION: v1.0.9
-- ARROW_BROTLI_BUILD_SHA256_CHECKSUM: f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46
-- ARROW_BZIP2_BUILD_VERSION: 1.0.8
-- ARROW_BZIP2_BUILD_SHA256_CHECKSUM: ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269
-- ARROW_CARES_BUILD_VERSION: 1.17.2
-- ARROW_CARES_BUILD_SHA256_CHECKSUM: 4803c844ce20ce510ef0eb83f8ea41fa24ecaae9d280c468c582d2bb25b3913d
-- ARROW_CRC32C_BUILD_VERSION: 1.1.2
-- ARROW_CRC32C_BUILD_SHA256_CHECKSUM: ac07840513072b7fcebda6e821068aa04889018f24e10e46181068fb214d7e56
-- ARROW_GBENCHMARK_BUILD_VERSION: v1.6.0
-- ARROW_GBENCHMARK_BUILD_SHA256_CHECKSUM: 1f71c72ce08d2c1310011ea6436b31e39ccab8c2db94186d26657d41747c85d6
-- ARROW_GFLAGS_BUILD_VERSION: v2.2.2
-- ARROW_GFLAGS_BUILD_SHA256_CHECKSUM: 34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf
-- ARROW_GLOG_BUILD_VERSION: v0.5.0
-- ARROW_GLOG_BUILD_SHA256_CHECKSUM: eede71f28371bf39aa69b45de23b329d37214016e2055269b3b5e7cfd40b59f5
-- ARROW_GOOGLE_CLOUD_CPP_BUILD_VERSION: v1.42.0
-- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: c06ae9aededbb8aa217a6d2453754daa40b815f9a4004bc4f2d2d215c79828aa
-- ARROW_GRPC_BUILD_VERSION: v1.46.3
-- ARROW_GRPC_BUILD_SHA256_CHECKSUM: d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964
-- ARROW_GTEST_BUILD_VERSION: 1.11.0
-- ARROW_GTEST_BUILD_SHA256_CHECKSUM: b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
-- ARROW_JEMALLOC_BUILD_VERSION: 5.3.0
-- ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM: 2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa
-- ARROW_LZ4_BUILD_VERSION: 8f61d8eb7c6979769a484cde8df61ff7c4c77765
-- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 5b072d848f2f93fddb97e1143e22c1bd7fa19fc8431ee69e21758190a88125b4
-- ARROW_MIMALLOC_BUILD_VERSION: v2.0.6
-- ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM: 9f05c94cc2b017ed13698834ac2a3567b6339a8bde27640df5a1581d49d05ce5
-- ARROW_NLOHMANN_JSON_BUILD_VERSION: v3.10.5
-- ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4
-- ARROW_OPENTELEMETRY_BUILD_VERSION: v1.4.1
-- ARROW_OPENTELEMETRY_BUILD_SHA256_CHECKSUM: 301b1ab74a664723560f46c29f228360aff1e2d63e930b963755ea077ae67524
-- ARROW_OPENTELEMETRY_PROTO_BUILD_VERSION: v0.17.0
-- ARROW_OPENTELEMETRY_PROTO_BUILD_SHA256_CHECKSUM: f269fbcb30e17b03caa1decd231ce826e59d7651c0f71c3b28eb5140b4bb5412
-- ARROW_ORC_BUILD_VERSION: 1.7.5
-- ARROW_ORC_BUILD_SHA256_CHECKSUM: b90cae5853e3ea0e5bf64e3883d09d871ec280536e0bb2cc52d08f79f0be0010
-- ARROW_PROTOBUF_BUILD_VERSION: v21.3
-- ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM: 2f723218f6cb709ae4cdc4fb5ed56a5951fc5d466f0128ce4c946b8c78c8c49f
-- ARROW_RAPIDJSON_BUILD_VERSION: 232389d4f1012dddec4ef84861face2d2ba85709
-- ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM: b9290a9a6d444c8e049bd589ab804e0ccf2b05dc5984a19ed5ae75d090064806
-- ARROW_RE2_BUILD_VERSION: 2022-06-01
-- ARROW_RE2_BUILD_SHA256_CHECKSUM: f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.9
-- ARROW_SNAPPY_BUILD_SHA256_CHECKSUM: 75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7
-- ARROW_SNAPPY_OLD_BUILD_VERSION: 1.1.8
-- ARROW_SNAPPY_OLD_BUILD_SHA256_CHECKSUM: 16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f
-- ARROW_SUBSTRAIT_BUILD_VERSION: v0.6.0
-- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: 7b8583b9684477e9027f417bbfb4febb8acfeb01923dcaa7cf0fd3f921d69c88
-- ARROW_THRIFT_BUILD_VERSION: 0.16.0
-- ARROW_THRIFT_BUILD_SHA256_CHECKSUM: f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be8981f6209
-- ARROW_UCX_BUILD_VERSION: 1.12.1
-- ARROW_UCX_BUILD_SHA256_CHECKSUM: 9bef31aed0e28bf1973d28d74d9ac4f8926c43ca3b7010bd22a084e164e31b71
-- ARROW_UTF8PROC_BUILD_VERSION: v2.7.0
-- ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM: 4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1
-- ARROW_XSIMD_BUILD_VERSION: 8.1.0
-- ARROW_XSIMD_BUILD_SHA256_CHECKSUM: d52551360d37709675237d2a0418e28f70995b5b7cdad7c674626bcfbbf48328
-- ARROW_ZLIB_BUILD_VERSION: 1.2.12
-- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: 91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9
-- ARROW_ZSTD_BUILD_VERSION: v1.5.2
-- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Looking for _M_ARM64
-- Looking for _M_ARM64 - not found
-- Looking for __SIZEOF_INT128__
-- Looking for __SIZEOF_INT128__ - found
-- Could NOT find Boost
-- Boost include dir: /tmp/Rtmp64sUMd/file553b4faa5f21/boost_ep-prefix/src/boost_ep
CMake Warning at cmake_modules/FindSnappyAlt.cmake:25 (find_package):
  By not providing "FindSnappy.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Snappy", but
  CMake did not find one.

  Could not find a package configuration file provided by "Snappy" with any
  of the following names:

    SnappyConfig.cmake
    snappy-config.cmake

  Add the installation prefix of "Snappy" to CMAKE_PREFIX_PATH or set
  "Snappy_DIR" to a directory containing one of the above files.  If "Snappy"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:257 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:1137 (resolve_dependency)
  CMakeLists.txt:575 (include)

-- Could NOT find SnappyAlt (missing: Snappy_LIB Snappy_INCLUDE_DIR) 
-- Building snappy from source
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
-- Checking for module 'thrift'
--   No package 'thrift' found
-- Could NOT find Thrift: Found unsuitable version "", but required is at least "0.11.0" (found THRIFT_LIB-NOTFOUND)
-- Building Apache Thrift from source
CMake Warning at cmake_modules/FindRapidJSONAlt.cmake:25 (find_package):
  By not providing "FindRapidJSON.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "RapidJSON", but CMake did not find one.

  Could not find a package configuration file provided by "RapidJSON"
  (requested version 1.1.0) with any of the following names:

    RapidJSONConfig.cmake
    rapidjson-config.cmake

  Add the installation prefix of "RapidJSON" to CMAKE_PREFIX_PATH or set
  "RapidJSON_DIR" to a directory containing one of the above files.  If
  "RapidJSON" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:257 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:2189 (resolve_dependency)
  CMakeLists.txt:575 (include)

-- Could NOT find RapidJSONAlt (missing: RAPIDJSON_INCLUDE_DIR) (Required is at least version "1.1.0")
-- Building RapidJSON from source
CMake Warning at cmake_modules/ThirdpartyToolchain.cmake:257 (find_package):
  By not providing "Findxsimd.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "xsimd", but
  CMake did not find one.

  Could not find a package configuration file provided by "xsimd" (requested
  version 8.1.0) with any of the following names:

    xsimdConfig.cmake
    xsimd-config.cmake

  Add the installation prefix of "xsimd" to CMAKE_PREFIX_PATH or set
  "xsimd_DIR" to a directory containing one of the above files.  If "xsimd"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:2246 (resolve_dependency)
  CMakeLists.txt:575 (include)

-- Building xsimd from source
CMake Warning at cmake_modules/Findlz4Alt.cmake:25 (find_package):
  By not providing "Findlz4.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "lz4", but
  CMake did not find one.

  Could not find a package configuration file provided by "lz4" with any of
  the following names:

    lz4Config.cmake
    lz4-config.cmake

  Add the installation prefix of "lz4" to CMAKE_PREFIX_PATH or set "lz4_DIR"
  to a directory containing one of the above files.  If "lz4" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:257 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:2354 (resolve_dependency)
  CMakeLists.txt:575 (include)

-- Checking for module 'liblz4'
--   No package 'liblz4' found
-- Could NOT find lz4Alt (missing: LZ4_LIB LZ4_INCLUDE_DIR) 
-- Building lz4 from source
CMake Warning at cmake_modules/Findre2Alt.cmake:25 (find_package):
  By not providing "Findre2.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "re2", but
  CMake did not find one.

  Could not find a package configuration file provided by "re2" with any of
  the following names:

    re2Config.cmake
    re2-config.cmake

  Add the installation prefix of "re2" to CMAKE_PREFIX_PATH or set "re2_DIR"
  to a directory containing one of the above files.  If "re2" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  cmake_modules/ThirdpartyToolchain.cmake:257 (find_package)
  cmake_modules/ThirdpartyToolchain.cmake:2483 (resolve_dependency)
  CMakeLists.txt:575 (include)

-- Checking for module 're2'
--   No package 're2' found
-- Could NOT find re2Alt (missing: RE2_LIB RE2_INCLUDE_DIR) 
-- Building RE2 from source
-- Could NOT find utf8proc: Found unsuitable version "", but required is at least "2.2.0" (found utf8proc_LIB-NOTFOUND)
-- Building utf8proc from source
-- Found hdfs.h at: /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/tools/cpp/thirdparty/hadoop/include/hdfs.h
-- All bundled static libraries: Snappy::snappy-static;thrift::thrift;lz4::lz4;re2::re2;utf8proc::utf8proc
-- CMAKE_C_FLAGS:  -O3 -DNDEBUG  -Wall -fno-semantic-interposition -msse4.2 
-- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -fdiagnostics-color=always -O3 -DNDEBUG  -Wall -fno-semantic-interposition -msse4.2 
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include  
-- Creating bundled static library target arrow_bundled_dependencies at /tmp/Rtmp64sUMd/file553b4faa5f21/release/libarrow_bundled_dependencies.a
-- ---------------------------------------------------------------------
-- Arrow version:                                 9.0.0
-- 
-- Build configuration summary:
--   Generator: Unix Makefiles
--   Build type: RELEASE
--   Source directory: /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/tools/cpp
--   Install prefix: /tmp/Rtmp1PYvFm/R.INSTALL55147fc8d301/arrow/libarrow/arrow-9.0.0
-- 
-- Compile and link options:
-- 
--   ARROW_CXXFLAGS="" [default=""]
--       Compiler flags to append when compiling Arrow
--   ARROW_BUILD_STATIC=ON [default=ON]
--       Build static libraries
--   ARROW_BUILD_SHARED=OFF [default=ON]
--       Build shared libraries
--   ARROW_PACKAGE_KIND="" [default=""]
--       Arbitrary string that identifies the kind of package
--       (for informational purposes)
--   ARROW_GIT_ID="" [default=""]
--       The Arrow git commit id (if any)
--   ARROW_GIT_DESCRIPTION="" [default=""]
--       The Arrow git commit description (if any)
--   ARROW_NO_DEPRECATED_API=OFF [default=OFF]
--       Exclude deprecated APIs from build
--   ARROW_POSITION_INDEPENDENT_CODE=ON [default=ON]
--       Whether to create position-independent target
--   ARROW_USE_CCACHE=ON [default=ON]
--       Use ccache when compiling (if available)
--   ARROW_USE_LD_GOLD=OFF [default=OFF]
--       Use ld.gold for linking on Linux (if available)
--   ARROW_USE_PRECOMPILED_HEADERS=OFF [default=OFF]
--       Use precompiled headers when compiling
--   ARROW_SIMD_LEVEL=SSE4_2 [default=NONE|SSE4_2|AVX2|AVX512|NEON|DEFAULT]
--       Compile-time SIMD optimization level
--   ARROW_RUNTIME_SIMD_LEVEL=MAX [default=NONE|SSE4_2|AVX2|AVX512|MAX]
--       Max runtime SIMD optimization level
--   ARROW_ARMV8_ARCH=armv8-a [default=armv8-a|armv8-a+crc+crypto]
--       Arm64 arch and extensions
--   ARROW_ALTIVEC=ON [default=ON]
--       Build with Altivec if compiler has support
--   ARROW_RPATH_ORIGIN=OFF [default=OFF]
--       Build Arrow libraries with RATH set to $ORIGIN
--   ARROW_INSTALL_NAME_RPATH=ON [default=ON]
--       Build Arrow libraries with install_name set to @rpath
--   ARROW_GGDB_DEBUG=ON [default=ON]
--       Pass -ggdb flag to debug builds
-- 
-- Test and benchmark options:
-- 
--   ARROW_BUILD_EXAMPLES=OFF [default=OFF]
--       Build the Arrow examples
--   ARROW_BUILD_TESTS=OFF [default=OFF]
--       Build the Arrow googletest unit tests
--   ARROW_ENABLE_TIMING_TESTS=ON [default=ON]
--       Enable timing-sensitive tests
--   ARROW_BUILD_INTEGRATION=OFF [default=OFF]
--       Build the Arrow integration test executables
--   ARROW_BUILD_BENCHMARKS=OFF [default=OFF]
--       Build the Arrow micro benchmarks
--   ARROW_BUILD_BENCHMARKS_REFERENCE=OFF [default=OFF]
--       Build the Arrow micro reference benchmarks
--   ARROW_BUILD_OPENMP_BENCHMARKS=OFF [default=OFF]
--       Build the Arrow benchmarks that rely on OpenMP
--   ARROW_BUILD_DETAILED_BENCHMARKS=OFF [default=OFF]
--       Build benchmarks that do a longer exploration of performance
--   ARROW_TEST_LINKAGE=static [default=shared|static]
--       Linkage of Arrow libraries with unit tests executables.
--   ARROW_FUZZING=OFF [default=OFF]
--       Build Arrow Fuzzing executables
--   ARROW_LARGE_MEMORY_TESTS=OFF [default=OFF]
--       Enable unit tests which use large memory
-- 
-- Lint options:
-- 
--   ARROW_ONLY_LINT=OFF [default=OFF]
--       Only define the lint and check-format targets
--   ARROW_VERBOSE_LINT=OFF [default=OFF]
--       If off, 'quiet' flags will be passed to linting tools
--   ARROW_GENERATE_COVERAGE=OFF [default=OFF]
--       Build with C++ code coverage enabled
-- 
-- Checks options:
-- 
--   ARROW_TEST_MEMCHECK=OFF [default=OFF]
--       Run the test suite using valgrind --tool=memcheck
--   ARROW_USE_ASAN=OFF [default=OFF]
--       Enable Address Sanitizer checks
--   ARROW_USE_TSAN=OFF [default=OFF]
--       Enable Thread Sanitizer checks
--   ARROW_USE_UBSAN=OFF [default=OFF]
--       Enable Undefined Behavior sanitizer checks
-- 
-- Project component options:
-- 
--   ARROW_BUILD_UTILITIES=OFF [default=OFF]
--       Build Arrow commandline utilities
--   ARROW_COMPUTE=ON [default=OFF]
--       Build the Arrow Compute Modules
--   ARROW_CSV=ON [default=OFF]
--       Build the Arrow CSV Parser Module
--   ARROW_CUDA=OFF [default=OFF]
--       Build the Arrow CUDA extensions (requires CUDA toolkit)
--   ARROW_DATASET=ON [default=OFF]
--       Build the Arrow Dataset Modules
--   ARROW_SUBSTRAIT=OFF [default=OFF]
--       Build the Arrow Substrait Consumer Module
--   ARROW_FILESYSTEM=ON [default=OFF]
--       Build the Arrow Filesystem Layer
--   ARROW_FLIGHT=OFF [default=OFF]
--       Build the Arrow Flight RPC System (requires GRPC, Protocol Buffers)
--   ARROW_FLIGHT_SQL=OFF [default=OFF]
--       Build the Arrow Flight SQL extension
--   ARROW_GANDIVA=OFF [default=OFF]
--       Build the Gandiva libraries
--   ARROW_GCS=OFF [default=OFF]
--       Build Arrow with GCS support (requires the GCloud SDK for C++)
--   ARROW_HDFS=OFF [default=OFF]
--       Build the Arrow HDFS bridge
--   ARROW_IPC=ON [default=ON]
--       Build the Arrow IPC extensions
--   ARROW_JEMALLOC=OFF [default=ON]
--       Build the Arrow jemalloc-based allocator
--   ARROW_JNI=OFF [default=OFF]
--       Build the Arrow JNI lib
--   ARROW_JSON=ON [default=OFF]
--       Build Arrow with JSON support (requires RapidJSON)
--   ARROW_MIMALLOC=OFF [default=OFF]
--       Build the Arrow mimalloc-based allocator
--   ARROW_PARQUET=ON [default=OFF]
--       Build the Parquet libraries
--   ARROW_ORC=OFF [default=OFF]
--       Build the Arrow ORC adapter
--   ARROW_PLASMA=OFF [default=OFF]
--       Build the plasma object store along with Arrow
--   ARROW_PLASMA_JAVA_CLIENT=OFF [default=OFF]
--       Build the plasma object store java client
--   ARROW_PYTHON=OFF [default=OFF]
--       Build the Arrow CPython extensions
--   ARROW_S3=OFF [default=OFF]
--       Build Arrow with S3 support (requires the AWS SDK for C++)
--   ARROW_SKYHOOK=OFF [default=OFF]
--       Build the Skyhook libraries
--   ARROW_TENSORFLOW=OFF [default=OFF]
--       Build Arrow with TensorFlow support enabled
--   ARROW_TESTING=OFF [default=OFF]
--       Build the Arrow testing libraries
-- 
-- Thirdparty toolchain options:
-- 
--   ARROW_DEPENDENCY_SOURCE=AUTO [default=AUTO|BUNDLED|SYSTEM|CONDA|VCPKG|BREW]
--       Method to use for acquiring arrow's build dependencies
--   ARROW_VERBOSE_THIRDPARTY_BUILD=OFF [default=OFF]
--       Show output from ExternalProjects rather than just logging to files
--   ARROW_DEPENDENCY_USE_SHARED=ON [default=ON]
--       Link to shared libraries
--   ARROW_BOOST_USE_SHARED=OFF [default=ON]
--       Rely on Boost shared libraries where relevant
--   ARROW_BROTLI_USE_SHARED=ON [default=ON]
--       Rely on Brotli shared libraries where relevant
--   ARROW_BZ2_USE_SHARED=ON [default=ON]
--       Rely on Bz2 shared libraries where relevant
--   ARROW_GFLAGS_USE_SHARED=ON [default=ON]
--       Rely on GFlags shared libraries where relevant
--   ARROW_GRPC_USE_SHARED=ON [default=ON]
--       Rely on gRPC shared libraries where relevant
--   ARROW_JEMALLOC_USE_SHARED=ON [default=ON]
--       Rely on jemalloc shared libraries where relevant
--   ARROW_LZ4_USE_SHARED=ON [default=ON]
--       Rely on lz4 shared libraries where relevant
--   ARROW_OPENSSL_USE_SHARED=ON [default=ON]
--       Rely on OpenSSL shared libraries where relevant
--   ARROW_PROTOBUF_USE_SHARED=ON [default=ON]
--       Rely on Protocol Buffers shared libraries where relevant
--   ARROW_SNAPPY_USE_SHARED=ON [default=ON]
--       Rely on snappy shared libraries where relevant
--   ARROW_THRIFT_USE_SHARED=ON [default=ON]
--       Rely on thrift shared libraries where relevant
--   ARROW_UTF8PROC_USE_SHARED=ON [default=ON]
--       Rely on utf8proc shared libraries where relevant
--   ARROW_ZSTD_USE_SHARED=ON [default=ON]
--       Rely on zstd shared libraries where relevant
--   ARROW_USE_GLOG=OFF [default=OFF]
--       Build libraries with glog support for pluggable logging
--   ARROW_WITH_BACKTRACE=ON [default=ON]
--       Build with backtrace support
--   ARROW_WITH_OPENTELEMETRY=OFF [default=OFF]
--       Build libraries with OpenTelemetry support for distributed tracing
--   ARROW_WITH_BROTLI=OFF [default=OFF]
--       Build with Brotli compression
--   ARROW_WITH_BZ2=OFF [default=OFF]
--       Build with BZ2 compression
--   ARROW_WITH_LZ4=ON [default=OFF]
--       Build with lz4 compression
--   ARROW_WITH_SNAPPY=ON [default=OFF]
--       Build with Snappy compression
--   ARROW_WITH_ZLIB=OFF [default=OFF]
--       Build with zlib compression
--   ARROW_WITH_ZSTD=OFF [default=OFF]
--       Build with zstd compression
--   ARROW_WITH_UCX=OFF [default=OFF]
--       Build with UCX transport for Arrow Flight
--       (only used if ARROW_FLIGHT is ON)
--   ARROW_WITH_UTF8PROC=ON [default=ON]
--       Build with support for Unicode properties using the utf8proc library
--       (only used if ARROW_COMPUTE is ON or ARROW_GANDIVA is ON)
--   ARROW_WITH_RE2=ON [default=ON]
--       Build with support for regular expressions using the re2 library
--       (only used if ARROW_COMPUTE or ARROW_GANDIVA is ON)
-- 
-- Parquet options:
-- 
--   PARQUET_MINIMAL_DEPENDENCY=OFF [default=OFF]
--       Depend only on Thirdparty headers to build libparquet.
--       Always OFF if building binaries
--   PARQUET_BUILD_EXECUTABLES=OFF [default=OFF]
--       Build the Parquet executable CLI tools. Requires static libraries to be built.
--   PARQUET_BUILD_EXAMPLES=OFF [default=OFF]
--       Build the Parquet examples. Requires static libraries to be built.
--   PARQUET_REQUIRE_ENCRYPTION=OFF [default=OFF]
--       Build support for encryption. Fail if OpenSSL is not found
-- 
-- Gandiva options:
-- 
--   ARROW_GANDIVA_JAVA=OFF [default=OFF]
--       Build the Gandiva JNI wrappers
--   ARROW_GANDIVA_STATIC_LIBSTDCPP=OFF [default=OFF]
--       Include -static-libstdc++ -static-libgcc when linking with
--       Gandiva static libraries
--   ARROW_GANDIVA_PC_CXX_FLAGS="" [default=""]
--       Compiler flags to append when pre-compiling Gandiva operations
-- 
-- Advanced developer options:
-- 
--   ARROW_EXTRA_ERROR_CONTEXT=OFF [default=OFF]
--       Compile with extra error context (line numbers, code)
--   ARROW_OPTIONAL_INSTALL=OFF [default=OFF]
--       If enabled install ONLY targets that have already been built. Please be
--       advised that if this is enabled 'install' will fail silently on components
--       that have not been built
--   Outputting build configuration summary to /tmp/Rtmp64sUMd/file553b4faa5f21/cmake_summary.json
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/Rtmp64sUMd/file553b4faa5f21
+ /usr/bin/cmake --build . --target install
Scanning dependencies of target snappy_ep
Scanning dependencies of target utf8proc_ep
[  0%] Creating directories for 'snappy_ep'
[  1%] Creating directories for 'utf8proc_ep'
[  1%] Performing download step (download, verify and extract) for 'snappy_ep'
[  1%] Performing download step (download, verify and extract) for 'utf8proc_ep'
-- utf8proc_ep download command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-download-*.log
[  2%] No patch step for 'utf8proc_ep'
[  2%] No update step for 'utf8proc_ep'
[  2%] Performing configure step for 'utf8proc_ep'
-- snappy_ep download command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-download-*.log
[  2%] No patch step for 'snappy_ep'
[  3%] No update step for 'snappy_ep'
[  3%] Performing configure step for 'snappy_ep'
-- utf8proc_ep configure command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure-*.log
[  3%] Performing build step for 'utf8proc_ep'
-- utf8proc_ep build command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-build-*.log
[  3%] Performing install step for 'utf8proc_ep'
-- utf8proc_ep install command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-install-*.log
[  3%] Completed 'utf8proc_ep'
[  3%] Built target utf8proc_ep
Scanning dependencies of target boost_ep
[  3%] Creating directories for 'boost_ep'
[  3%] Performing download step (download, verify and extract) for 'boost_ep'
-- snappy_ep configure command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-configure-*.log
[  4%] Performing build step for 'snappy_ep'
-- snappy_ep build command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-build-*.log
[  4%] Performing install step for 'snappy_ep'
-- snappy_ep install command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/snappy_ep-prefix/src/snappy_ep-stamp/snappy_ep-install-*.log
[  5%] Completed 'snappy_ep'
[  5%] Built target snappy_ep
Scanning dependencies of target rapidjson_ep
[  6%] Creating directories for 'rapidjson_ep'
[  6%] Performing download step (download, verify and extract) for 'rapidjson_ep'
-- rapidjson_ep download command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/rapidjson_ep-stamp/rapidjson_ep-download-*.log
[  6%] No patch step for 'rapidjson_ep'
[  6%] No update step for 'rapidjson_ep'
[  7%] Performing configure step for 'rapidjson_ep'
-- rapidjson_ep configure command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/rapidjson_ep-stamp/rapidjson_ep-configure-*.log
[  7%] Performing build step for 'rapidjson_ep'
-- rapidjson_ep build command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/rapidjson_ep-stamp/rapidjson_ep-build-*.log
[  7%] Performing install step for 'rapidjson_ep'
-- rapidjson_ep install command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/rapidjson_ep-stamp/rapidjson_ep-install-*.log
[  7%] Completed 'rapidjson_ep'
[  7%] Built target rapidjson_ep
Scanning dependencies of target lz4_ep
[  7%] Creating directories for 'lz4_ep'
[  7%] Performing download step (download, verify and extract) for 'lz4_ep'
-- lz4_ep download command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/lz4_ep-prefix/src/lz4_ep-stamp/lz4_ep-download-*.log
[  7%] No patch step for 'lz4_ep'
[  8%] Performing update step for 'lz4_ep'
[  8%] No configure step for 'lz4_ep'
[  9%] Performing build step for 'lz4_ep'
-- lz4_ep build command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/lz4_ep-prefix/src/lz4_ep-stamp/lz4_ep-build-*.log
[  9%] No install step for 'lz4_ep'
[ 10%] Completed 'lz4_ep'
[ 10%] Built target lz4_ep
Scanning dependencies of target xsimd_ep
[ 10%] Creating directories for 'xsimd_ep'
[ 10%] Performing download step (download, verify and extract) for 'xsimd_ep'
-- xsimd_ep download command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/xsimd_ep-stamp/xsimd_ep-download-*.log
[ 10%] No patch step for 'xsimd_ep'
[ 11%] No update step for 'xsimd_ep'
[ 11%] Performing configure step for 'xsimd_ep'
-- xsimd_ep configure command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/xsimd_ep-stamp/xsimd_ep-configure-*.log
[ 12%] Performing build step for 'xsimd_ep'
-- xsimd_ep build command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/xsimd_ep-stamp/xsimd_ep-build-*.log
[ 13%] Performing install step for 'xsimd_ep'
-- xsimd_ep install command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/src/xsimd_ep-stamp/xsimd_ep-install-*.log
[ 13%] Completed 'xsimd_ep'
[ 13%] Built target xsimd_ep
Scanning dependencies of target re2_ep
[ 13%] Creating directories for 're2_ep'
[ 13%] Performing download step (download, verify and extract) for 're2_ep'
-- re2_ep download command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/re2_ep-prefix/src/re2_ep-stamp/re2_ep-download-*.log
[ 14%] No patch step for 're2_ep'
[ 14%] No update step for 're2_ep'
[ 14%] Performing configure step for 're2_ep'
-- re2_ep configure command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/re2_ep-prefix/src/re2_ep-stamp/re2_ep-configure-*.log
[ 14%] Performing build step for 're2_ep'
-- re2_ep build command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/re2_ep-prefix/src/re2_ep-stamp/re2_ep-build-*.log
[ 15%] Performing install step for 're2_ep'
-- re2_ep install command succeeded.  See also /tmp/Rtmp64sUMd/file553b4faa5f21/re2_ep-prefix/src/re2_ep-stamp/re2_ep-install-*.log
[ 15%] Completed 're2_ep'
[ 15%] Built target re2_ep
CMake Error at boost_ep-stamp/boost_ep-download-RELEASE.cmake:16 (message):
  Command failed: 1

   '/usr/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/tmp/Rtmp64sUMd/file553b4faa5f21/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-RELEASE-impl.cmake'

  See also

    /tmp/Rtmp64sUMd/file553b4faa5f21/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log

make[2]: *** [CMakeFiles/boost_ep.dir/build.make:90: boost_ep-prefix/src/boost_ep-stamp/boost_ep-download] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:511: CMakeFiles/boost_ep.dir/all] Fehler 2
make: *** [Makefile:141: all] Fehler 2
**** Error building Arrow C++.  
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing ‘/home/*/R/x86_64-pc-linux-gnu-library/4.2/arrow’
Warning in install.packages :
  Installation des Pakets ‘arrow’ hatte Exit-Status ungleich 0

Die heruntergeladenen Quellpakete sind in 
    ‘/tmp/RtmpX7jQfI/downloaded_packages’ 

Reporter: Philipp

Note: This issue was originally created as ARROW-17497. Please see the migration documentation for further details.

asfimport commented 2 years ago

Nicola Crane / @thisisnic: Hi [~p.r], thanks for reporting this. From the error message above, it looks like there was a failure to download an external library needed - Boost. Above, there's a reference to the file /tmp/Rtmp64sUMd/file553b4faa5f21/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log which should contain more information - I don't suppose you'd be able to try again and send us the contents of that file?

Also, out of interest, what OS are you on?

Alternatively...

This current installation above is trying to build libarrow (i.e. the Arrow C++ library) from source. If you set the environment variable LIBARROW_BINARY to TRUE, it'll instead download a precompiled binary of libarrow (depending on your OS, but there are binaries for the vast majority of cases), which would avoid even having to worry about Boost.

asfimport commented 2 years ago

Philipp: Hi @thisisnic,

thank you for your reply. My OS is Debian GNU/Linux 10 (buster).

Following your suggestion, I tried to download the precompiled binary of libarrow. Is seems like there is no binary for my OS, see below. I will post the log files in as separate comment.


// > Sys.getenv("LIBARROW_BINARY")
[1] "TRUE"
> install.packages("arrow")
Installiere Paket nach ‘/home/*/R/x86_64-pc-linux-gnu-library/4.2’
(da ‘lib’ nicht spezifiziert)
versuche URL 'https://cloud.r-project.org/src/contrib/arrow_9.0.0.tar.gz'
Content type 'application/x-gzip' length 4900968 bytes (4.7 MB)
==================================================
downloaded 4.7 MB

* installing *source* package ‘arrow’ ...
** Paket ‘arrow’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
*** Found libcurl and openssl >= 1.0.2
versuche URL 'https://apache.jfrog.io/artifactory/arrow/r/9.0.0/libarrow/bin/ubuntu-18.04/arrow-9.0.0.zip'
Error in download.file(from_url, to_file, quiet = hush) : 
  kann URL 'https://apache.jfrog.io/artifactory/arrow/r/9.0.0/libarrow/bin/ubuntu-18.04/arrow-9.0.0.zip' nicht öffnen
*** No libarrow binary found for version 9.0.0 (ubuntu-18.04)
*** Found local C++ source: 'tools/cpp'
*** Building libarrow from source
    For build options and troubleshooting, see the install vignette:
    https://cran.r-project.org/web/packages/arrow/vignettes/install.html
*** Building with MAKEFLAGS= -j2 
**** cmake: /usr/bin/cmake
**** arrow with SOURCE_DIR='tools/cpp' BUILD_DIR='/home/*/private-fs04/R/sd-008_auto_tz_prod/log' DEST_DIR='libarrow/arrow-9.0.0' CMAKE='/usr/bin/cmake' EXTRA_CMAKE_FLAGS='' CC='gcc' CXX='g++ -std=gnu++11' LDFLAGS='-Wl,-z,relro' ARROW_S3='OFF' ARROW_GCS='OFF' ARROW_MIMALLOC='OFF' 
++ pwd
+ : /tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow
+ : tools/cpp
+ : /home/*/private-fs04/R/sd-008_auto_tz_prod/log
+ : libarrow/arrow-9.0.0
+ : /usr/bin/cmake
++ cd tools/cpp
++ pwd
+ SOURCE_DIR=/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/tools/cpp
++ mkdir -p libarrow/arrow-9.0.0
++ cd libarrow/arrow-9.0.0
++ pwd
+ DEST_DIR=/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/libarrow/arrow-9.0.0
+ '[' '' '!=' '' ']'
+ '[' '' = false ']'
+ ARROW_DEFAULT_PARAM=OFF
+ mkdir -p /home/*/private-fs04/R/sd-008_auto_tz_prod/log
+ pushd /home/*/private-fs04/R/sd-008_auto_tz_prod/log
~/private-fs04/R/sd-008_auto_tz_prod/log /tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow
+ /usr/bin/cmake -DARROW_BOOST_USE_SHARED=OFF -DARROW_BUILD_TESTS=OFF -DARROW_BUILD_SHARED=OFF -DARROW_BUILD_STATIC=ON -DARROW_COMPUTE=ON -DARROW_CSV=ON -DARROW_DATASET=ON -DARROW_DEPENDENCY_SOURCE=AUTO -DAWSSDK_SOURCE= -DARROW_FILESYSTEM=ON -DARROW_GCS=OFF -DARROW_JEMALLOC=OFF -DARROW_MIMALLOC=OFF -DARROW_JSON=ON -DARROW_PARQUET=ON -DARROW_S3=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_WITH_LZ4=ON -DARROW_WITH_RE2=ON -DARROW_WITH_SNAPPY=ON -DARROW_WITH_UTF8PROC=ON -DARROW_WITH_ZLIB=OFF -DARROW_WITH_ZSTD=OFF -DARROW_VERBOSE_THIRDPARTY_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/libarrow/arrow-9.0.0 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=OFF -Dxsimd_SOURCE= -G 'Unix Makefiles' /tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/tools/cpp
CMake Error: The source "/tmp/RtmpUwyJJQ/R.INSTALL6f55305b382c/arrow/tools/cpp/CMakeLists.txt" does not match the source "/tmp/RtmpAw7akN/R.INSTALL66f76729afb8/arrow/tools/cpp/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
**** Error building Arrow C++.  
------------------------- NOTE ---------------------------
There was an issue preparing the Arrow C++ libraries.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
ERROR: configuration failed for package ‘arrow’
* removing ‘/home/*/R/x86_64-pc-linux-gnu-library/4.2/arrow’
Warning in install.packages :
  Installation des Pakets ‘arrow’ hatte Exit-Status ungleich 0

Die heruntergeladenen Quellpakete sind in 
    ‘/tmp/RtmpXC0LYV/downloaded_packages’ 
asfimport commented 2 years ago

Philipp: Hi @thisisnic,

here is the content of the log file. Do you have any idea what is going wrong?


// -- Downloading...
   dst='/home/*/private-fs04/R/sd-008_auto_tz_prod/log/boost_ep-prefix/src/boost_1_75_0.tar.gz'
   timeout='none'
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retrying...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz'
-- Using src='https://boostorg.jfrog.io/artifactory/main/release/1.75.0/source/boost_1_75_0.tar.gz'
-- Using src='https://sourceforge.net/projects/boost/files/boost/1.75.0/boost_1_75_0.tar.gz' 
asfimport commented 2 years ago

Neal Richardson / @nealrichardson: Given that both https://apache.jfrog.io/artifactory/arrow/thirdparty/7.0.0/boost_1_75_0.tar.gz and https://apache.jfrog.io/artifactory/arrow/r/9.0.0/libarrow/bin/ubuntu-18.04/arrow-9.0.0.zip cannot download, I wonder if your server/firewall is blocking traffic to some IPs.