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

[R][C++] Can't build with jemalloc on RHEL8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.0.0
    • None
    • C++, R
    • None

    Description

      I've tried many different combinations to install with R 4.10 on a RHEL8 machine, including multiple versions of GCC. I am unable to install arrow with ARROW_JEMALLOC=ON. The error says I need to add an "--host" option within the configure for this step but its entirely unclear in any existing documentation where that needs to be added and what the option should be. 

       

      Sys.setenv("ARROW_JEMALLOC" = "ON")
      Sys.setenv("ARROW_MIMALLOC" = "ON")
      Sys.setenv("ARROW_R_DEV" = TRUE)
      Sys.setenv("ARROW_PARQUET" = "ON")
      Sys.setenv("ARROW_S3" = "ON")
      Sys.setenv("LIBARROW_DEBUG_DIR" = '/home/ruser/arrow79')
      options(repos = c(REPO_NAME = "https://packagemanager.rstudio.com/all/__linux__/centos8/latest"))
      install.packages('arrow', '/home/ruser/R/x86_64-pc-linux-gnu-library/4.1')
      

       

      Full dev log here:

       

      trying URL 'https://packagemanager.rstudio.com/all/__linux__/centos8/latest/src/contrib/arrow_8.0.0.tar.gz'
      Content type 'binary/octet-stream' length 4815444 bytes (4.6 MB)
      ==================================================
      downloaded 4.6 MB
      * installing *source* package ‘arrow’ ...
      ** package ‘arrow’ successfully unpacked and MD5 sums checked
      ** using staged installation
      trying URL 'https://github.com'
      downloaded 205 KB
      *** Found local C++ source: 'tools/cpp'
      *** Building libarrow from source
          For a faster, more complete installation, set the environment variable NOT_CRAN=true before installing
          See install vignette for details:
          https://cran.r-project.org/web/packages/arrow/vignettes/install.html
      *** Building with MAKEFLAGS= -j2
      **** S3 support requires libcurl-devel (rpm) or libcurl4-openssl-dev (deb); building with ARROW_S3=OFF
      **** arrow with SOURCE_DIR='tools/cpp' BUILD_DIR='/home/ruser/arrow79' DEST_DIR='libarrow/arrow-8.0.0' CMAKE='/bin/cmake' EXTRA_CMAKE_FLAGS='' CC='gcc -m64' CXX='g++ -m64 -std=gnu++11' LDFLAG
      S='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ARROW_S3='OFF' ARROW_MIMALLOC='ON'
      ++ pwd
      + : /tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow
      + : tools/cpp
      + : /home/ruser/arrow79
      + : libarrow/arrow-8.0.0
      + : /bin/cmake
      ++ cd tools/cpp
      ++ pwd
      + SOURCE_DIR=/tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/tools/cpp
      ++ mkdir -p libarrow/arrow-8.0.0
      ++ cd libarrow/arrow-8.0.0
      ++ pwd
      + DEST_DIR=/tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/libarrow/arrow-8.0.0
      + '[' '' '!=' '' ']'
      + '[' '' = false ']'
      + ARROW_DEFAULT_PARAM=OFF
      + mkdir -p /home/ruser/arrow79
      + pushd /home/ruser/arrow79
      /home/ruser/arrow79 /tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow
      + /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_SOUR
      CE=AUTO -DAWSSDK_SOURCE= -DARROW_FILESYSTEM=ON -DARROW_JEMALLOC=ON -DARROW_MIMALLOC=ON -DARROW_JSON=ON -DARROW_PARQUET=ON -DARROW_S3=OFF -DARROW_WITH_BROTLI=OFF -DARROW_WITH_BZ2=OFF -DARROW_W
      ITH_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 -DCM
      AKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/libarrow/arrow-8.0.0 -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=
      ON -DCMAKE_UNITY_BUILD=OFF -G 'Unix Makefiles' /tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/tools/cpp
      -- Building using CMake version: 3.20.2
      -- The C compiler identification is GNU 8.5.0
      -- The CXX compiler identification is GNU 8.5.0
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - failed
      -- Check for working C compiler: /bin/gcc
      -- Check for working C compiler: /bin/gcc - works
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - failed
      -- Check for working CXX compiler: /bin/g++
      -- Check for working CXX compiler: /bin/g++ - works
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Arrow version: 8.0.0 (full: '8.0.0')
      -- Arrow SO version: 800 (full: 800.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: not a git repository (or any of the parent directories): .git
      -- Found Python3: /home/ruser/anaconda3/bin/python3.9 (found version "3.9.7") found components: Interpreter
      -- Found cpplint executable at /tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/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 AUTO 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.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.39.0
      -- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: 73e4e840018b24bec2beb49e036a3c2d8c471d4dc4a18b9026ccc4d8ab8e78cc
      -- ARROW_GRPC_BUILD_VERSION: v1.35.0
      -- ARROW_GRPC_BUILD_SHA256_CHECKSUM: 27dd2fc5c9809ddcde8eb6fa1fa278a3486566dfc28335fca13eb8df8bd3b958
      -- ARROW_GTEST_BUILD_VERSION: 1.11.0
      -- ARROW_GTEST_BUILD_SHA256_CHECKSUM: b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
      -- ARROW_JEMALLOC_BUILD_VERSION: 5.2.1
      -- ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM: 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
      -- ARROW_LZ4_BUILD_VERSION: 8f61d8eb7c6979769a484cde8df61ff7c4c77765
      -- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 5b072d848f2f93fddb97e1143e22c1bd7fa19fc8431ee69e21758190a88125b4
      -- ARROW_MIMALLOC_BUILD_VERSION: v1.7.3
      -- ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM: 0f987bda01ca9df87ec90e9d98c63fa893ee61f3cca565e5ca5ed744fdcc5109
      -- ARROW_NLOHMANN_JSON_BUILD_VERSION: v3.10.2
      -- ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM: 081ed0f9f89805c2d96335c3acfa993b39a0a5b4b4cef7edb68dd2210a13458c
      -- ARROW_OPENTELEMETRY_BUILD_VERSION: v1.3.0
      -- ARROW_OPENTELEMETRY_BUILD_SHA256_CHECKSUM: 6a4c43b9c9f753841ebc0fe2717325271f02e2a1d5ddd0b52735c35243629ab3
      -- ARROW_OPENTELEMETRY_PROTO_BUILD_VERSION: v0.11.0
      -- ARROW_OPENTELEMETRY_PROTO_BUILD_SHA256_CHECKSUM: 985367f8905e91018e636cbf0d83ab3f834b665c4f5899a27d10cae9657710e2
      -- ARROW_ORC_BUILD_VERSION: 1.7.3
      -- ARROW_ORC_BUILD_SHA256_CHECKSUM: 535c4d7588172e85b8fc941cd0575d67f2155a55e4cd65d87d5b194b0bb28a31
      -- ARROW_PROTOBUF_BUILD_VERSION: v3.18.1
      -- ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM: b8ab9bbdf0c6968cf20060794bc61e231fae82aaf69d6e3577c154181991f576
      -- ARROW_RAPIDJSON_BUILD_VERSION: 1a803826f1197b5e30703afe4b9c0e7dd48074f5
      -- ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM: 0b6b780b6c534bfb0b23d29910bfe361e486bcfeaf106db8bc8995792072905a
      -- ARROW_RE2_BUILD_VERSION: 2021-11-01
      -- ARROW_RE2_BUILD_SHA256_CHECKSUM: 8c45f7fba029ab41f2a7e6545058d9eec94eef97ce70df58e92d85cfc08b4669
      -- 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: e1b4c04a
      -- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: 65f83e5f5d979ede5fc8ac9f8bbaf793e0c72d9c415f1a162ba522f6d0bb5bbe
      -- ARROW_THRIFT_BUILD_VERSION: 0.13.0
      -- ARROW_THRIFT_BUILD_SHA256_CHECKSUM: 7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179
      -- ARROW_UTF8PROC_BUILD_VERSION: v2.7.0
      -- ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM: 4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1
      -- ARROW_XSIMD_BUILD_VERSION: 7d1778c3b38d63db7cec7145d939f40bc5d859d1
      -- ARROW_XSIMD_BUILD_SHA256_CHECKSUM: d861f4f3034550cdc62ad93fd60e8b0f2413a6ea49081c8698922b7b4f043ec6
      -- ARROW_ZLIB_BUILD_VERSION: 1.2.12
      -- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: 91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9
      -- ARROW_ZSTD_BUILD_VERSION: v1.5.1
      -- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: dc05773342b28f11658604381afd22cb0a13e8ba17ff2bd7516df377060c18dd
      -- 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
      -- Checking for module 'thrift'
      --   Package 'thrift', required by 'virtual:world', not found
      -- Could NOT find Thrift: Found unsuitable version "", but required is at least "0.11.0" (found THRIFT_LIB-NOTFOUND)
      -- Looking for _M_ARM64
      -- Looking for _M_ARM64 - not found
      -- Looking for __SIZEOF_INT128__
      -- Looking for __SIZEOF_INT128__ - found
      -- Could NOT find Boost (missing: Boost_INCLUDE_DIR system filesystem) (Required is at least version "1.58")
      -- Boost include dir: /home/ruser/arrow79/boost_ep-prefix/src/boost_ep
      -- Boost libraries: boost_system_static;boost_filesystem_static
      -- Could NOT find Snappy (missing: Snappy_LIB)
      -- Building snappy from source
      -- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
      Building Apache Thrift from source
      -- Building (vendored) jemalloc from source
      -- Building (vendored) mimalloc 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:237 (find_package)
        cmake_modules/ThirdpartyToolchain.cmake:2123 (resolve_dependency)
        CMakeLists.txt:552 (include)
      
      -- Could NOT find RapidJSONAlt (missing: RAPIDJSON_INCLUDE_DIR) (Required is at least version "1.1.0")
      -- Building RapidJSON from source
      -- Building xsimd from source
      -- Checking for module 'liblz4'
      --   Found liblz4, version 1.8.3
      -- Found Lz4: /usr/lib64/liblz4.so
      -- Providing CMake module for Lz4
      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:237 (find_package)
        cmake_modules/ThirdpartyToolchain.cmake:2397 (resolve_dependency)
        CMakeLists.txt:552 (include)
      
      -- Checking for module 're2'
      --   Found re2, version 0.0.0
      -- Found re2Alt: /usr/lib64/libre2.so
      -- Providing CMake module for re2Alt
      -- 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/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/tools/cpp/thirdparty/hadoop/include/hdfs.h
      -- All bundled static libraries: Snappy::snappy;thrift::thrift;jemalloc::jemalloc;mimalloc::mimalloc;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 /home/ruser/arrow79/release/libarrow_bundled_dependencies.a
      -- ---------------------------------------------------------------------
      -- Arrow version:                                 8.0.0
      --
      -- Build configuration summary:
      --   Generator: Unix Makefiles
      --   Build type: RELEASE
      --   Source directory: /tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/tools/cpp
      --   Install prefix: /tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/libarrow/arrow-8.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_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_HIVESERVER2=OFF [default=OFF]
      --       Build the HiveServer2 client and Arrow adapter
      --   ARROW_IPC=ON [default=ON]
      --       Build the Arrow IPC extensions
      --   ARROW_JEMALLOC=ON [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=ON [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_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_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 /home/ruser/arrow79/cmake_summary.json
      -- Configuring done
      -- Generating done
      -- Build files have been written to: /home/ruser/arrow79
      + /bin/cmake --build . --target install
      [  1%] Creating directories for 'utf8proc_ep'
      [  1%] Creating directories for 'boost_ep'
      [  1%] Performing download step (download, verify and extract) for 'boost_ep'
      [  1%] Performing download step (download, verify and extract) for 'utf8proc_ep'
      -- utf8proc_ep download command succeeded.  See also /home/ruser/arrow79/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-download-*.log
      [  1%] No update step for 'utf8proc_ep'
      [  1%] No patch step for 'utf8proc_ep'
      [  2%] Performing configure step for 'utf8proc_ep'
      -- utf8proc_ep configure command succeeded.  See also /home/ruser/arrow79/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-configure-*.log
      [  2%] Performing build step for 'utf8proc_ep'
      -- utf8proc_ep build command succeeded.  See also /home/ruser/arrow79/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-build-*.log
      [  2%] Performing install step for 'utf8proc_ep'
      -- utf8proc_ep install command succeeded.  See also /home/ruser/arrow79/utf8proc_ep-prefix/src/utf8proc_ep-stamp/utf8proc_ep-install-*.log
      [  2%] Completed 'utf8proc_ep'
      [  2%] Built target utf8proc_ep
      [  2%] Creating directories for 'jemalloc_ep'
      [  2%] Performing download step (download, verify and extract) for 'jemalloc_ep'
      -- jemalloc_ep download command succeeded.  See also /home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-download-*.log
      [  2%] No update step for 'jemalloc_ep'
      [  3%] Performing patch step for 'jemalloc_ep'
      [  4%] Performing configure step for 'jemalloc_ep'
      CMake Error at /home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-RELEASE.cmake:37 (message):
        Command failed: 1
         './configure' 'AR=/bin/ar' 'CC=/bin/gcc' '--prefix=/home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep/dist/' '--libdir=/home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep/dist//lib'
       '--with-jemalloc-prefix=je_arrow_' '--with-private-namespace=je_arrow_private_' '--without-export' '--disable-shared' '--disable-cxx' '--disable-libdl' '--disable-initial-exec-tls'
        See also
          /home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-*.log
      
      -- stdout output is:
      checking for xsltproc... /home/ruser/anaconda3/bin/xsltproc
      checking for gcc... /bin/gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.out
      checking for suffix of executables...
      checking whether we are cross compiling...
      -- stderr output is:
      configure: error: in `/home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep':
      configure: error: cannot run C compiled programs.
      If you meant to cross compile, use `--host'.
      See `config.log' for more details
      CMake Error at /home/ruser/arrow79/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-RELEASE.cmake:47 (message):
        Stopping after outputting logs.
      
      make[2]: *** [CMakeFiles/jemalloc_ep.dir/build.make:92: jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure] Error 1
      make[1]: *** [CMakeFiles/Makefile2:903: CMakeFiles/jemalloc_ep.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....
      -- boost_ep download command succeeded.  See also /home/ruser/arrow79/boost_ep-prefix/src/boost_ep-stamp/boost_ep-download-*.log
      [  5%] No update step for 'boost_ep'
      [  5%] No patch step for 'boost_ep'
      [  5%] No configure step for 'boost_ep'
      [  5%] No build step for 'boost_ep'
      [  6%] No install step for 'boost_ep'
      [  7%] Completed 'boost_ep'
      [  7%] Built target boost_ep
      gmake: *** [Makefile:146: all] Error 2
      **** Error building Arrow C++.
      PKG_CFLAGS=-I/tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/libarrow/arrow-8.0.0/include  -DARROW_R_WITH_ARROW
      PKG_LIBS= -larrow
      ** libs
      g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I/tmp/Rtmp3EjzMc/R.INSTALL3272e67a14bb5/arrow/libarrow/arrow-8.0.0/include  -DARROW_R_WITH_ARROW -I'/home/ruser/R/x86_64-pc-linux-gnu-librar
      y/4.1/cpp11/include' -I/usr/local/include   -fpic  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-
      gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protec
      tion  -c RTasks.cpp -o RTasks.o
      

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgerry2002 Justin Gerry
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: