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

[C++][R] Unknown C compiler / ccache on Arch Linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 6.0.0
    • 8.0.0
    • C++, R
    • Arch Linux, R 4.1.2,

    Description

      I'm not sure if this is the same issue as highlighted in the docs for CentOS, but I'm having trouble installing arrow on my Arch system.

      I've also seen there's another open ccache issue (#ARROW-12654). However, that thread seems unrelated to the error that I run into below.

      Thanks in advance for any help or tips to resolve.

      Grant

      Edit: I should probably add that I've not run into any compiler or ccache issues before.

      > Sys.setenv(ARROW_R_DEV=TRUE)
      > install.packages('arrow')
      trying URL 'https://packagemanager.rstudio.com/all/latest/src/contrib/arrow_6.0.0.2.tar.gz'
      Content type 'binary/octet-stream' length 4767616 bytes (4.5 MB)
      ==================================================
      downloaded 4.5 MB
      * installing *source* package ‘arrow’ ...
      ** package ‘arrow’ successfully unpacked and MD5 sums checked
      ** using staged installation
      trying URL 'https://github.com'
      downloaded 249 KB
      *** Found local C++ source: 'tools/cpp'
      *** Building C++ libraries
      *** Building with MAKEFLAGS= -j2 
      **** arrow with SOURCE_DIR='tools/cpp' BUILD_DIR='/tmp/RtmpuQguxd/file3b88710a7be7' DEST_DIR='libarrow/arrow-6.0.0.2' CMAKE='/usr/bin/cmake' EXTRA_CMAKE_FLAGS='' CC='ccache gcc' CXX='g++ -std=gnu++11' LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' ARROW_S3='OFF' ARROW_MIMALLOC='OFF' 
      ++ pwd
      + : /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow
      + : tools/cpp
      + : /tmp/RtmpuQguxd/file3b88710a7be7
      + : libarrow/arrow-6.0.0.2
      + : /usr/bin/cmake
      ++ cd tools/cpp
      ++ pwd
      + SOURCE_DIR=/tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/tools/cpp
      ++ mkdir -p libarrow/arrow-6.0.0.2
      ++ cd libarrow/arrow-6.0.0.2
      ++ pwd
      + DEST_DIR=/tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/libarrow/arrow-6.0.0.2
      + '[' '' '!=' '' ']'
      + '[' '' = false ']'
      + ARROW_DEFAULT_PARAM=OFF
      + mkdir -p /tmp/RtmpuQguxd/file3b88710a7be7
      + pushd /tmp/RtmpuQguxd/file3b88710a7be7
      /tmp/RtmpuQguxd/file3b88710a7be7 /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/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=BUNDLED -DAWSSDK_SOURCE= -DARROW_FILESYSTEM=ON -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=OFF -DARROW_WITH_RE2=ON -DARROW_WITH_SNAPPY=OFF -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/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/libarrow/arrow-6.0.0.2 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_UNITY_BUILD=ON -G 'Unix Makefiles' /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/tools/cpp
      -- Building using CMake version: 3.21.4
      -- The C compiler identification is GNU 11.1.0
      -- The CXX compiler identification is GNU 11.1.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /usr/bin/ccache - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/g++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Arrow version: 6.0.0 (full: '6.0.0')
      -- Arrow SO version: 600 (full: 600.0.0)
      -- clang-tidy not found
      -- clang-format not found
      -- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN) 
      -- infer not found
      fatal: not a git repository (or any parent up to mount point /)
      Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
      -- Found Python3: /usr/bin/python3.9 (found version "3.9.7") found components: Interpreter 
      -- Using ccache: /usr/bin/ccache
      -- Found cpplint executable at /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/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
      -- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT
      -- Performing Test CXX_LINKER_SUPPORTS_VERSION_SCRIPT - Success
      -- Using BUNDLED approach to find dependencies
      -- ARROW_ABSL_BUILD_VERSION: 20210324.2
      -- ARROW_ABSL_BUILD_SHA256_CHECKSUM: 59b862f50e710277f8ede96f083a5bb8d7c9595376146838b9580be90374ee1f
      -- ARROW_AWSSDK_BUILD_VERSION: 1.8.133
      -- ARROW_AWSSDK_BUILD_SHA256_CHECKSUM: d6c495bc06be5e21dac716571305d77437e7cfd62a2226b8fe48d9ab5785a8d6
      -- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.10
      -- ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM: c9d0100a5743765fc8034e34e2310f77f59b1adab6f2e2f2d4d2a3bd81b2a36d
      -- 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: cb97b36e2295a321c34851e0455bc2630ad6c691d4f9f589170066cd11c835b4
      -- 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.1
      -- ARROW_CARES_BUILD_SHA256_CHECKSUM: d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40
      -- ARROW_CRC32C_BUILD_VERSION: 1.1.2
      -- ARROW_CRC32C_BUILD_SHA256_CHECKSUM: ac07840513072b7fcebda6e821068aa04889018f24e10e46181068fb214d7e56
      -- ARROW_GBENCHMARK_BUILD_VERSION: v1.5.2
      -- ARROW_GBENCHMARK_BUILD_SHA256_CHECKSUM: dccbdab796baa1043f04982147e67bb6e118fe610da2c65f88912d73987e700c
      -- ARROW_GFLAGS_BUILD_VERSION: v2.2.2
      -- ARROW_GFLAGS_BUILD_SHA256_CHECKSUM: 34af2f15cf7367513b352bdcd2493ab14ce43692d2dcd9dfc499492966c64dcf
      -- ARROW_GLOG_BUILD_VERSION: v0.4.0
      -- ARROW_GLOG_BUILD_SHA256_CHECKSUM: f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c
      -- ARROW_GOOGLE_CLOUD_CPP_BUILD_VERSION: v1.31.1
      -- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: dc7cbf95b506a84b48cf71e0462985d262183edeaabdacaaee2109852394a609
      -- ARROW_GRPC_BUILD_VERSION: v1.35.0
      -- ARROW_GRPC_BUILD_SHA256_CHECKSUM: 27dd2fc5c9809ddcde8eb6fa1fa278a3486566dfc28335fca13eb8df8bd3b958
      -- ARROW_GTEST_BUILD_VERSION: 1.10.0
      -- ARROW_GTEST_BUILD_SHA256_CHECKSUM: 9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb
      -- ARROW_JEMALLOC_BUILD_VERSION: 5.2.1
      -- ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM: 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
      -- ARROW_LZ4_BUILD_VERSION: v1.9.3
      -- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 030644df4611007ff7dc962d981f390361e6c97a34e5cbc393ddfbe019ffe2c1
      -- ARROW_MIMALLOC_BUILD_VERSION: v1.7.2
      -- ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM: b1912e354565a4b698410f7583c0f83934a6dbb3ade54ab7ddcb1569320936bd
      -- ARROW_NLOHMANN_JSON_BUILD_VERSION: v3.10.2
      -- ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM: 081ed0f9f89805c2d96335c3acfa993b39a0a5b4b4cef7edb68dd2210a13458c
      -- ARROW_ORC_BUILD_VERSION: 1.7.0
      -- ARROW_ORC_BUILD_SHA256_CHECKSUM: 45d6ba9149ffa2aaa168d61ab326f61181861c94529f26da3918a9aa2f801e39
      -- ARROW_PROTOBUF_BUILD_VERSION: v3.17.3
      -- ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM: 77ad26d3f65222fd96ccc18b055632b0bfedf295cb748b712a98ba1ac0b704b2
      -- ARROW_RAPIDJSON_BUILD_VERSION: 1a803826f1197b5e30703afe4b9c0e7dd48074f5
      -- ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM: 0b6b780b6c534bfb0b23d29910bfe361e486bcfeaf106db8bc8995792072905a
      -- ARROW_RE2_BUILD_VERSION: 2021-02-02
      -- ARROW_RE2_BUILD_SHA256_CHECKSUM: 1396ab50c06c1a8885fb68bf49a5ecfd989163015fd96699a180d6414937f33f
      -- ARROW_SNAPPY_BUILD_VERSION: 1.1.8
      -- ARROW_SNAPPY_BUILD_SHA256_CHECKSUM: 16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f
      -- ARROW_THRIFT_BUILD_VERSION: 0.13.0
      -- ARROW_THRIFT_BUILD_SHA256_CHECKSUM: 7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179
      -- ARROW_UTF8PROC_BUILD_VERSION: v2.6.1
      -- ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM: 4c06a9dc4017e8a2438ef80ee371d45868bda2237a98b26554de7a95406b283b
      -- ARROW_XSIMD_BUILD_VERSION: aeec9c872c8b475dedd7781336710f2dd2666cb2
      -- ARROW_XSIMD_BUILD_SHA256_CHECKSUM: 0a841e6c8acf216150e4fc19fca8e29fbab9614b56ac7b96e56019264ca27b26
      -- ARROW_ZLIB_BUILD_VERSION: 1.2.11
      -- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1
      -- ARROW_ZSTD_BUILD_VERSION: v1.5.0
      -- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: 0d9ade222c64e912d6957b11c923e214e2e010a18f39bec102f572e693ba2867
      -- Looking for pthread.h
      -- Looking for pthread.h - found
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
      -- Check if compiler accepts -pthread
      -- Check if compiler accepts -pthread - yes
      -- Found Threads: TRUE  
      -- Looking for __SIZEOF_INT128__
      -- Looking for __SIZEOF_INT128__ - found
      -- Boost include dir: /tmp/RtmpuQguxd/file3b88710a7be7/boost_ep-prefix/src/boost_ep
      -- Boost libraries: boost_system_static;boost_filesystem_static
      -- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
      Building Apache Thrift from source
      -- Building RapidJSON from source
      -- Building xsimd from source
      -- Building RE2 from source
      -- Building utf8proc from source
      -- Found hdfs.h at: /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/tools/cpp/thirdparty/hadoop/include/hdfs.h
      -- All bundled static libraries: thrift::thrift;re2::re2;utf8proc::utf8proc
      -- CMAKE_C_FLAGS:  -O3 -DNDEBUG  -Wall -fno-semantic-interposition -msse4.2 
      -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type -Wno-subobject-linkage  -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/RtmpuQguxd/file3b88710a7be7/release/libarrow_bundled_dependencies.a
      -- ---------------------------------------------------------------------
      -- Arrow version:                                 6.0.0
      -- 
      -- Build configuration summary:
      --   Generator: Unix Makefiles
      --   Build type: RELEASE
      --   Source directory: /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/tools/cpp
      --   Install prefix: /tmp/RtmpKTw8XS/R.INSTALL3b616292d01d/arrow/libarrow/arrow-6.0.0.2
      -- 
      -- 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_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_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_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_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_HIVESERVER2=OFF [default=OFF]
      --       Build the HiveServer2 client and Arrow adapter
      --   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_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=BUNDLED [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_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_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_SNAPPY_USE_SHARED=ON [default=ON]
      --       Rely on snappy 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_BROTLI=OFF [default=OFF]
      --       Build with Brotli compression
      --   ARROW_WITH_BZ2=OFF [default=OFF]
      --       Build with BZ2 compression
      --   ARROW_WITH_LZ4=OFF [default=OFF]
      --       Build with lz4 compression
      --   ARROW_WITH_SNAPPY=OFF [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_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/RtmpuQguxd/file3b88710a7be7/cmake_summary.json
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /tmp/RtmpuQguxd/file3b88710a7be7
      + /usr/bin/cmake --build . --target install
      [  2%] Creating directories for 'utf8proc_ep'
      [  2%] Creating directories for 'boost_ep'
      [  4%] Performing download step (download, verify and extract) for 'boost_ep'
      [  4%] Performing download step (download, verify and extract) for 'utf8proc_ep'
      -- utf8proc_ep download command succeeded.  See also /tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-download-*.log
      [  5%] No update step for 'utf8proc_ep'
      [  6%] No patch step for 'utf8proc_ep'
      [  7%] Performing configure step for 'utf8proc_ep'
      CMake Error at /tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure-RELEASE.cmake:37 (message):
        Command failed: 1
         '/usr/bin/cmake' '-DCMAKE_C_COMPILER=/usr/bin/ccache' '-DCMAKE_CXX_COMPILER=/usr/bin/g++' '-DCMAKE_AR=/usr/bin/ar' '-DCMAKE_RANLIB=/usr/bin/ranlib' '-DCMAKE_INSTALL_PREFIX=/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-install' '-DCMAKE_BUILD_TYPE=RELEASE' '-DCMAKE_INSTALL_LIBDIR=lib' '-DBUILD_SHARED_LIBS=OFF' '-GUnix Makefiles' '/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep'
        See also
          /tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure-*.log
      
      -- stdout output is:
      -- The C compiler identification is unknown
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - failed
      -- Check for working C compiler: /usr/bin/ccache
      -- Check for working C compiler: /usr/bin/ccache - broken
      -- Configuring incomplete, errors occurred!
      See also "/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeOutput.log".
      See also "/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeError.log".
      -- stderr output is:
      CMake Error at /usr/share/cmake-3.21/Modules/CMakeTestCCompiler.cmake:69 (message):
        The C compiler
          "/usr/bin/ccache"
        is not able to compile a simple test program.
        It fails with the following output:
          Change Dir: /tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeTmp
          
          Run Build Command(s):/usr/bin/make -f Makefile cmTC_994a6/fast && make[3]: Entering directory '/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeTmp'
          make  -f CMakeFiles/cmTC_994a6.dir/build.make CMakeFiles/cmTC_994a6.dir/build
          make[4]: Entering directory '/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeTmp'
          Building C object CMakeFiles/cmTC_994a6.dir/testCCompiler.c.o
          /usr/bin/ccache    -o CMakeFiles/cmTC_994a6.dir/testCCompiler.c.o -c /tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeTmp/testCCompiler.c
          ccache: error: missing equal sign in "CMakeFiles/cmTC_994a6.dir/testCCompiler.c.o"
          make[4]: *** [CMakeFiles/cmTC_994a6.dir/build.make:78: CMakeFiles/cmTC_994a6.dir/testCCompiler.c.o] Error 1
          make[4]: Leaving directory '/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeTmp'
          make[3]: *** [Makefile:127: cmTC_994a6/fast] Error 2
          make[3]: Leaving directory '/tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-build/CMakeFiles/CMakeTmp'
          
          
        
        CMake will not be able to correctly generate this project.
      Call Stack (most recent call first):
        CMakeLists.txt:7 (project)
       
      CMake Error at /tmp/RtmpuQguxd/file3b88710a7be7/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure-RELEASE.cmake:47 (message):
        Stopping after outputting logs.
      
      make[2]: *** [CMakeFiles/utf8proc_ep.dir/build.make:92: utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure] Error 1
      make[1]: *** [CMakeFiles/Makefile2:638: CMakeFiles/utf8proc_ep.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      -- boost_ep download command succeeded.  See also /tmp/RtmpuQguxd/file3b88710a7be7/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log
      [  8%] No update step for 'boost_ep'
      [  9%] No patch step for 'boost_ep'
      [ 10%] No configure step for 'boost_ep'
      [ 11%] No build step for 'boost_ep'
      [ 12%] No install step for 'boost_ep'
      [ 13%] Completed 'boost_ep'
      [ 13%] Built target boost_ep
      make: *** [Makefile:146: all] Error 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 ‘/usr/lib/R/library/arrow’
      * restoring previous ‘/usr/lib/R/library/arrow’
      Warning in install.packages :
        installation of package ‘arrow’ had non-zero exit status
      The downloaded source packages are in
          ‘/tmp/RtmpV7JvEV/downloaded_packages’ 

      Attachments

        Issue Links

          Activity

            People

              jonkeane Jonathan Keane
              grantmcd Grant McDermott
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h 40m
                  6h 40m