[ 
https://issues.apache.org/jira/browse/ARROW-8805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108785#comment-17108785
 ] 

Tanveer commented on ARROW-8805:
--------------------------------

 

With CMake command:
{code:java}
cmake -DCMAKE_BUILD_TYPE=Release -DARROW_PARQUET=ON -DARROW_PLASMA=ON 
-DARROW_PLASMA_JAVA_CLIENT=ON -DARROW_PYTHON=ON ..{code}
{code:java}
$ git clone https://github.com/apache/arrow.git
Cloning into 'arrow'...
remote: Enumerating objects: 86, done.
remote: Counting objects: 100% (86/86), done.
remote: Compressing objects: 100% (70/70), done.
remote: Total 99863 (delta 20), reused 45 (delta 12), pack-reused 99777
Receiving objects: 100% (99863/99863), 53.01 MiB | 1.22 MiB/s, done.
Resolving deltas: 100% (68594/68594), done.
Checking connectivity... done.
tahmad@Rezkuh-7480: ~
$ cd arrow/cpp/
tahmad@Rezkuh-7480: ~/arrow/cpp(master)
$ mkdir release
tahmad@Rezkuh-7480: ~/arrow/cpp(master)
$ cd release/
tahmad@Rezkuh-7480: ~/arrow/cpp/release(master)
$ cmake -DCMAKE_BUILD_TYPE=Release -DARROW_PARQUET=ON -DARROW_PLASMA=ON 
-DARROW_PLASMA_JAVA_CLIENT=ON -DARROW_PYTHON=ON ..
-- Building using CMake version: 3.5.1
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- 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/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Arrow version: 0.18.0 (full: '0.18.0-SNAPSHOT')
-- Arrow SO version: 18 (full: 18.0.0)
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- clang-tidy not found
-- clang-format not found
-- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN) 
-- infer not found
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
-- Found cpplint executable at /home/tahmad/arrow/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 - Failed
-- 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_AWSSDK_BUILD_VERSION: 1.7.160
-- ARROW_BOOST_BUILD_VERSION: 1.71.0
-- ARROW_BROTLI_BUILD_VERSION: v1.0.7
-- ARROW_BZIP2_BUILD_VERSION: 1.0.8
-- ARROW_CARES_BUILD_VERSION: 1.15.0
-- ARROW_GBENCHMARK_BUILD_VERSION: v1.5.0
-- ARROW_GFLAGS_BUILD_VERSION: v2.2.0
-- ARROW_GLOG_BUILD_VERSION: v0.3.5
-- ARROW_GRPC_BUILD_VERSION: v1.25.0
-- ARROW_GTEST_BUILD_VERSION: 1.8.1
-- ARROW_JEMALLOC_BUILD_VERSION: 5.2.1
-- ARROW_LZ4_BUILD_VERSION: v1.9.2
-- ARROW_MIMALLOC_BUILD_VERSION: 270e765454f98e8bab9d42609b153425f749fff6
-- ARROW_ORC_BUILD_VERSION: 1.6.2
-- ARROW_PROTOBUF_BUILD_VERSION: v3.7.1
-- ARROW_RAPIDJSON_BUILD_VERSION: 2bbd33b33217ff4a73434ebf10cdac41e2ef5e34
-- ARROW_RE2_BUILD_VERSION: 2019-08-01
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.7
-- ARROW_THRIFT_BUILD_VERSION: 0.12.0
-- ARROW_THRIFT_BUILD_MD5_CHECKSUM: 3deebbb4d1ca77dd9c9e009a1ea02183
-- ARROW_ZLIB_BUILD_VERSION: 1.2.11
-- ARROW_ZSTD_BUILD_VERSION: v1.4.3
-- 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 
-- 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_STATIC_LIB-NOTFOUND)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- regex
-- system
-- filesystem
-- Boost include dir: /usr/include
-- Boost libraries: Boost::system;Boost::filesystem
-- Building without OpenSSL support. Minimum OpenSSL version 1.0.2 required.
Building Apache Thrift from source
-- Building (vendored) jemalloc from source
-- Could NOT find RapidJSONAlt (missing: RAPIDJSON_INCLUDE_DIR) (Required is at 
least version "1.1.0")
-- Building rapidjson from source
-- Found hdfs.h at: /home/tahmad/arrow/cpp/thirdparty/hadoop/include/hdfs.h
-- CMAKE_C_FLAGS: -O3 -DNDEBUG -Wall -Wno-attributes -msse4.2
-- CMAKE_CXX_FLAGS: -fdiagnostics-color=always -O3 -DNDEBUG -Wall 
-Wno-attributes -msse4.2 
-- Found JNI: /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so 
-- JNI_INCLUDE_DIRS = 
/usr/lib/jvm/java-8-openjdk-amd64/include;/usr/lib/jvm/java-8-openjdk-amd64/include/linux;/usr/lib/jvm/java-8-openjdk-amd64/include
-- JNI_LIBRARIES = 
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so;/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include 
-- Searching for Python libs in 
/usr/lib64;/usr/lib;/usr/lib/python2.7/config-x86_64-linux-gnu
-- Looking for python2.7
-- Found Python lib /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
-- Found PythonLibs: /usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so
-- Found NumPy: version "1.15.2" 
/home/tahmad/.local/lib/python2.7/site-packages/numpy/core/include
-- Found Python3Alt: /usr/bin/python 
-- ---------------------------------------------------------------------
-- Arrow version: 0.18.0-SNAPSHOT
-- 
-- Build configuration summary:
-- Generator: Unix Makefiles
-- Build type: RELEASE
-- Source directory: /home/tahmad/arrow/cpp
-- Install prefix: /usr/local
-- 
-- 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=ON [default=ON]
-- Build shared libraries
-- 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]
-- SIMD compiler 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=shared [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_HDFS=ON [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=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=ON [default=OFF]
-- Build the plasma object store along with Arrow
-- ARROW_PLASMA_JAVA_CLIENT=ON [default=OFF]
-- Build the plasma object store java client
-- ARROW_PYTHON=ON [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
-- 
-- Thirdparty toolchain options:
-- 
-- ARROW_DEPENDENCY_SOURCE=AUTO [default=AUTO|BUNDLED|SYSTEM|CONDA|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_BOOST_USE_SHARED=ON [default=ON]
-- Rely on boost shared libraries where relevant
-- ARROW_PROTOBUF_USE_SHARED=ON [default=ON]
-- Rely on Protocol Buffers shared libraries where relevant
-- ARROW_GFLAGS_USE_SHARED=ON [default=ON]
-- Rely on GFlags shared libraries where relevant
-- ARROW_WITH_BACKTRACE=ON [default=ON]
-- Build with backtrace support
-- ARROW_USE_GLOG=OFF [default=OFF]
-- Build libraries with glog support for pluggable logging
-- 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
-- 
-- 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/tahmad/arrow/cpp/release/cmake_summary.json
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tahmad/arrow/cpp/release
tahmad@Rezkuh-7480: ~/arrow/cpp/release(master)
$ make
Scanning dependencies of target jemalloc_ep
[ 0%] Creating directories for 'jemalloc_ep'
[ 1%] Performing download step (download, verify and extract) for 'jemalloc_ep'
-- jemalloc_ep download command succeeded. See also 
/home/tahmad/arrow/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-download-*.log
[ 2%] Performing patch step for 'jemalloc_ep'
[ 2%] No update step for 'jemalloc_ep'
[ 2%] Performing configure step for 'jemalloc_ep'
-- jemalloc_ep configure command succeeded. See also 
/home/tahmad/arrow/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-configure-*.log
[ 2%] Performing build step for 'jemalloc_ep'
-- jemalloc_ep build command succeeded. See also 
/home/tahmad/arrow/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-build-*.log
[ 2%] Performing install step for 'jemalloc_ep'
-- jemalloc_ep install command succeeded. See also 
/home/tahmad/arrow/cpp/release/jemalloc_ep-prefix/src/jemalloc_ep-stamp/jemalloc_ep-install-*.log
[ 3%] Completed 'jemalloc_ep'
[ 3%] Built target jemalloc_ep
Scanning dependencies of target thrift_ep
[ 4%] Creating directories for 'thrift_ep'
[ 4%] Performing download step (download, verify and extract) for 'thrift_ep'
-- thrift_ep download command succeeded. See also 
/home/tahmad/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-download-*.log
[ 5%] No patch step for 'thrift_ep'
[ 5%] No update step for 'thrift_ep'
[ 5%] Performing configure step for 'thrift_ep'
-- thrift_ep configure command succeeded. See also 
/home/tahmad/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-*.log
[ 6%] Performing build step for 'thrift_ep'
-- thrift_ep build command succeeded. See also 
/home/tahmad/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-build-*.log
[ 6%] Performing install step for 'thrift_ep'
-- thrift_ep install command succeeded. See also 
/home/tahmad/arrow/cpp/release/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-install-*.log
[ 7%] Completed 'thrift_ep'
[ 7%] Built target thrift_ep
Scanning dependencies of target rapidjson_ep
[ 7%] Creating directories for 'rapidjson_ep'
[ 8%] Performing download step (download, verify and extract) for 'rapidjson_ep'
-- rapidjson_ep download command succeeded. See also 
/home/tahmad/arrow/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-download-*.log
[ 9%] No patch step for 'rapidjson_ep'
[ 9%] No update step for 'rapidjson_ep'
[ 9%] Performing configure step for 'rapidjson_ep'
-- rapidjson_ep configure command succeeded. See also 
/home/tahmad/arrow/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-configure-*.log
[ 9%] Performing build step for 'rapidjson_ep'
-- rapidjson_ep build command succeeded. See also 
/home/tahmad/arrow/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-build-*.log
[ 9%] Performing install step for 'rapidjson_ep'
-- rapidjson_ep install command succeeded. See also 
/home/tahmad/arrow/cpp/release/src/rapidjson_ep-stamp/rapidjson_ep-install-*.log
[ 10%] Completed 'rapidjson_ep'
[ 10%] Built target rapidjson_ep
Scanning dependencies of target toolchain
[ 10%] Built target toolchain
Scanning dependencies of target arrow_dependencies
[ 10%] Built target arrow_dependencies
Scanning dependencies of target arrow_objlib
[ 11%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/array.cc.o
[ 11%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/builder.cc.o
[ 11%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_adaptive.cc.o
[ 12%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_base.cc.o
[ 12%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_binary.cc.o
[ 13%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_decimal.cc.o
[ 13%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_dict.cc.o
[ 13%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_nested.cc.o
[ 14%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_primitive.cc.o
[ 14%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/builder_union.cc.o
[ 15%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/concatenate.cc.o
[ 15%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/dict_internal.cc.o
[ 15%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/array/diff.cc.o
[ 16%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/array/validate.cc.o
[ 16%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/buffer.cc.o
[ 17%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compare.cc.o
[ 17%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/device.cc.o
[ 17%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/extension_type.cc.o
[ 18%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/memory_pool.cc.o
[ 18%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/pretty_print.cc.o
[ 19%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/record_batch.cc.o
[ 19%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/result.cc.o
[ 19%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/scalar.cc.o
In file included from /home/tahmad/arrow/cpp/src/arrow/scalar.cc:33:0:
/home/tahmad/arrow/cpp/src/arrow/util/time.h:35:45: warning: 
‘arrow::util::kTimestampConversionTable’ defined but not used 
[-Wunused-variable]
 static std::pair<DivideOrMultiply, int64_t> kTimestampConversionTable[4][4] = {
 ^
[ 20%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/sparse_tensor.cc.o
[ 20%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/status.cc.o
[ 21%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/table.cc.o
[ 21%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/table_builder.cc.o
[ 21%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/tensor.cc.o
[ 22%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/coo_converter.cc.o
[ 22%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/csc_converter.cc.o
[ 23%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/csf_converter.cc.o
[ 23%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/tensor/csr_converter.cc.o
[ 23%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/type.cc.o
[ 24%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/visitor.cc.o
[ 24%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/c/bridge.cc.o
[ 25%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/buffered.cc.o
[ 25%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/caching.cc.o
[ 25%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/compressed.cc.o
[ 26%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/file.cc.o
[ 26%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/hdfs.cc.o
[ 27%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/hdfs_internal.cc.o
[ 27%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/io/interfaces.cc.o
[ 27%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/memory.cc.o
[ 28%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/io/slow.cc.o
[ 28%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/testing/util.cc.o
[ 29%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/basic_decimal.cc.o
[ 29%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/bit_util.cc.o
[ 29%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/compression.cc.o
[ 30%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/cpu_info.cc.o
[ 30%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/decimal.cc.o
[ 31%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/delimiting.cc.o
[ 31%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/formatting.cc.o
[ 31%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/future.cc.o
[ 32%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/int_util.cc.o
[ 32%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/io_util.cc.o
[ 33%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/iterator.cc.o
[ 33%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/logging.cc.o
[ 33%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/key_value_metadata.cc.o
[ 34%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/memory.cc.o
[ 34%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/string.cc.o
[ 35%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/string_builder.cc.o
[ 35%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/task_group.cc.o
[ 35%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/thread_pool.cc.o
[ 36%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/time.cc.o
[ 36%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/trie.cc.o
[ 37%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/uri.cc.o
[ 37%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/util/utf8.cc.o
[ 37%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/util/value_parsing.cc.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/base64.cpp.o
[ 38%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/datetime/tz.cpp.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum.cc.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/double-conversion.cc.o
[ 39%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/bignum-dtoa.cc.o
[ 40%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/fast-dtoa.cc.o
[ 40%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/cached-powers.cc.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/fixed-dtoa.cc.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/diy-fp.cc.o
[ 41%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/double-conversion/strtod.cc.o
[ 42%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/csv/converter.cc.o
[ 42%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/csv/chunker.cc.o
[ 43%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/csv/column_builder.cc.o
[ 43%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/csv/column_decoder.cc.o
[ 43%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/csv/options.cc.o
[ 44%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/csv/parser.cc.o
[ 44%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/csv/reader.cc.o
[ 45%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/context.cc.o
[ 45%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/aggregate.cc.o
[ 45%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/boolean.cc.o
[ 46%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/cast.cc.o
[ 46%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/compare.cc.o
[ 47%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/count.cc.o
[ 47%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/hash.cc.o
[ 47%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/filter.cc.o
[ 48%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/mean.cc.o
[ 48%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/minmax.cc.o
[ 49%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/sort_to_indices.cc.o
[ 49%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/nth_to_indices.cc.o
[ 49%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/sum.cc.o
[ 50%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/add.cc.o
[ 50%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/take.cc.o
[ 51%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/isin.cc.o
[ 51%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/match.cc.o
[ 51%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/util_internal.cc.o
[ 52%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/filesystem.cc.o
[ 52%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/localfs.cc.o
[ 53%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/mockfs.cc.o
[ 53%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/path_forest.cc.o
[ 53%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/path_util.cc.o
[ 54%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/util_internal.cc.o
[ 54%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/filesystem/hdfs.cc.o
[ 55%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/dictionary.cc.o
[ 55%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/feather.cc.o
[ 55%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/message.cc.o
[ 56%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/metadata_internal.cc.o
[ 56%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/options.cc.o
[ 56%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/reader.cc.o
[ 57%] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/writer.cc.o
[ 57%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_integration.cc.o
[ 58%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_internal.cc.o
[ 58%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_simple.cc.o
[ 58%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/json/options.cc.o
[ 59%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/json/chunked_builder.cc.o
[ 59%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/json/chunker.cc.o
[ 60%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/json/converter.cc.o
[ 60%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/json/parser.cc.o
[ 60%] Building CXX object 
src/arrow/CMakeFiles/arrow_objlib.dir/json/reader.cc.o
[ 61%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/musl/strptime.c.o
[ 61%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriCommon.c.o
[ 62%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriCompare.c.o
[ 62%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriEscape.c.o
[ 62%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriFile.c.o
[ 63%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriIp4Base.c.o
[ 63%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriIp4.c.o
[ 64%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriMemory.c.o
[ 64%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriNormalizeBase.c.o
[ 64%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriNormalize.c.o
[ 65%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriParseBase.c.o
[ 65%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriParse.c.o
[ 66%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriQuery.c.o
[ 66%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriRecompose.c.o
[ 66%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriResolve.c.o
[ 67%] Building C object 
src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriShorten.c.o
[ 67%] Built target arrow_objlib
Scanning dependencies of target arrow_shared
[ 68%] Linking CXX shared library ../../release/libarrow.so
[ 68%] Built target arrow_shared
Scanning dependencies of target plasma_objlib
[ 68%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/client.cc.o
[ 68%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/common.cc.o
[ 69%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/fling.cc.o
[ 69%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/io.cc.o
[ 70%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/malloc.cc.o
[ 70%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/plasma.cc.o
[ 70%] Building CXX object src/plasma/CMakeFiles/plasma_objlib.dir/protocol.cc.o
[ 70%] Built target plasma_objlib
Scanning dependencies of target plasma_shared
[ 71%] Linking CXX shared library ../../release/libplasma.so
[ 71%] Built target plasma_shared
Scanning dependencies of target arrow_static
[ 71%] Linking CXX static library ../../release/libarrow.a
[ 71%] Built target arrow_static
Scanning dependencies of target plasma_static
[ 71%] Linking CXX static library ../../release/libplasma.a
[ 71%] Built target plasma_static
Scanning dependencies of target plasma-store-server
[ 71%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/external_store.cc.o
[ 72%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/hash_table_store.cc.o
[ 72%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/dlmalloc.cc.o
[ 72%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/events.cc.o
[ 73%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/eviction_policy.cc.o
[ 73%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/quota_aware_policy.cc.o
[ 74%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/plasma_allocator.cc.o
[ 74%] Building CXX object 
src/plasma/CMakeFiles/plasma-store-server.dir/store.cc.o
[ 74%] Building C object 
src/plasma/CMakeFiles/plasma-store-server.dir/thirdparty/ae/ae.c.o
[ 75%] Linking CXX executable ../../release/plasma-store-server
[ 75%] Built target plasma-store-server
Scanning dependencies of target plasma_java
[ 75%] Building CXX object 
src/plasma/CMakeFiles/plasma_java.dir/lib/java/org_apache_arrow_plasma_PlasmaClientJNI.cc.o
[ 76%] Linking CXX shared library ../../release/libplasma_java.so
[ 76%] Built target plasma_java
Scanning dependencies of target arrow_dataset_objlib
[ 76%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/dataset.cc.o
[ 76%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/discovery.cc.o
[ 77%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_base.cc.o
[ 77%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_ipc.cc.o
[ 77%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/filter.cc.o
[ 78%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/partition.cc.o
[ 78%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/projector.cc.o
[ 79%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/scanner.cc.o
[ 79%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_csv.cc.o
[ 79%] Building CXX object 
src/arrow/dataset/CMakeFiles/arrow_dataset_objlib.dir/file_parquet.cc.o
[ 79%] Built target arrow_dataset_objlib
Scanning dependencies of target parquet_objlib
[ 80%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/path_internal.cc.o
[ 80%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/reader.cc.o
[ 81%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/reader_internal.cc.o
[ 81%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/schema.cc.o
[ 81%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/arrow/writer.cc.o
[ 82%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/bloom_filter.cc.o
[ 82%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/column_reader.cc.o
[ 83%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/column_scanner.cc.o
[ 83%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/column_writer.cc.o
[ 83%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/deprecated_io.cc.o
[ 84%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/encoding.cc.o
[ 84%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/encryption.cc.o
[ 85%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/file_reader.cc.o
[ 85%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/file_writer.cc.o
[ 85%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/internal_file_decryptor.cc.o
[ 86%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/internal_file_encryptor.cc.o
[ 86%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/metadata.cc.o
[ 87%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/murmur3.cc.o
[ 87%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/__/generated/parquet_constants.cpp.o
[ 87%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/__/generated/parquet_types.cpp.o
[ 88%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/platform.cc.o
[ 88%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/printer.cc.o
[ 89%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/properties.cc.o
[ 89%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/schema.cc.o
[ 89%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/statistics.cc.o
[ 90%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/stream_reader.cc.o
[ 90%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/stream_writer.cc.o
[ 91%] Building CXX object src/parquet/CMakeFiles/parquet_objlib.dir/types.cc.o
[ 91%] Building CXX object 
src/parquet/CMakeFiles/parquet_objlib.dir/encryption_internal_nossl.cc.o
[ 91%] Built target parquet_objlib
Scanning dependencies of target parquet_shared
[ 91%] Linking CXX shared library ../../release/libparquet.so
[ 91%] Built target parquet_shared
Scanning dependencies of target arrow_dataset_shared
[ 92%] Linking CXX shared library ../../../release/libarrow_dataset.so
[ 92%] Built target arrow_dataset_shared
Scanning dependencies of target parquet_static
[ 93%] Linking CXX static library ../../release/libparquet.a
[ 93%] Built target parquet_static
Scanning dependencies of target arrow_dataset_static
[ 93%] Linking CXX static library ../../../release/libarrow_dataset.a
[ 93%] Built target arrow_dataset_static
Scanning dependencies of target arrow_python_objlib
[ 93%] Building CXX object 
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/arrow_to_pandas.cc.o
In file included from 
/home/tahmad/arrow/cpp/src/arrow/python/arrow_to_pandas.cc:50:0:
/home/tahmad/arrow/cpp/src/arrow/python/common.h: In member function 
‘arrow::Status arrow::py::PyBytesView::FromUnicode(PyObject*)’:
/home/tahmad/arrow/cpp/src/arrow/python/common.h:213:58: error: 
‘PyUnicode_AsUTF8AndSize’ was not declared in this scope
 const char* data = PyUnicode_AsUTF8AndSize(obj, &size);
 ^
In file included from 
/home/tahmad/arrow/cpp/src/arrow/python/arrow_to_pandas.cc:52:0:
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h: In function ‘int64_t 
arrow::py::internal::PyDelta_to_s(PyDateTime_Delta*)’:
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h:125:60: error: 
‘PyDateTime_DELTA_GET_SECONDS’ was not declared in this scope
 total_seconds += PyDateTime_DELTA_GET_SECONDS(pytimedelta);
 ^
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h:126:57: error: 
‘PyDateTime_DELTA_GET_DAYS’ was not declared in this scope
 total_seconds += PyDateTime_DELTA_GET_DAYS(pytimedelta) * 24 * 3600;
 ^
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h: In function ‘int64_t 
arrow::py::internal::PyDelta_to_ms(PyDateTime_Delta*)’:
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h:133:60: error: 
‘PyDateTime_DELTA_GET_MICROSECONDS’ was not declared in this scope
 total_ms += PyDateTime_DELTA_GET_MICROSECONDS(pytimedelta) / 1000;
 ^
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h: In function ‘int64_t 
arrow::py::internal::PyDelta_to_us(PyDateTime_Delta*)’:
/home/tahmad/arrow/cpp/src/arrow/python/datetime.h:141:60: error: 
‘PyDateTime_DELTA_GET_MICROSECONDS’ was not declared in this scope
 total_us += PyDateTime_DELTA_GET_MICROSECONDS(pytimedelta);
 ^
src/arrow/python/CMakeFiles/arrow_python_objlib.dir/build.make:62: recipe for 
target 
'src/arrow/python/CMakeFiles/arrow_python_objlib.dir/arrow_to_pandas.cc.o' 
failed
make[2]: *** 
[src/arrow/python/CMakeFiles/arrow_python_objlib.dir/arrow_to_pandas.cc.o] 
Error 1
CMakeFiles/Makefile2:1981: recipe for target 
'src/arrow/python/CMakeFiles/arrow_python_objlib.dir/all' failed
make[1]: *** [src/arrow/python/CMakeFiles/arrow_python_objlib.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
{code}
Though I need Python library, when I turn off the Python flag in building CPP, 
build succeeds. In this case, I get the following errors in building C_GLib:
{code:java}
$ cd c_glib/tahmad@Rezkuh-7480: ~/arrow/c_glib(master)
$ ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
libtoolize: copying file 'config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:86: installing 'config/compile'
configure.ac:73: installing 'config/config.guess'
configure.ac:73: installing 'config/config.sub'
configure.ac:31: installing 'config/install-sh'
configure.ac:31: installing 'config/missing'
arrow-cuda-glib/Makefile.am: installing 'config/depcomp'tahmad@Rezkuh-7480: 
~/arrow/c_glib(master)
$ ./configure --enable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for macOS... no
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu 
format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared 
libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.32.4... yes (version 2.48.2)
checking for gobject-introspection... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... yes
checking for GTKDOC_DEPS... yes
checking for ARROW... yes
checking for ARROW_ORC... yes
checking for ARROW_CUDA... yes
checking for GANDIVA... no
checking for PARQUET... yes
checking for PLASMA... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating arrow-cuda-glib/Makefile
config.status: creating arrow-cuda-glib/arrow-cuda-glib.pc
config.status: creating arrow-glib/Makefile
config.status: creating arrow-glib/arrow-glib.pc
config.status: creating arrow-glib/arrow-orc-glib.pc
config.status: creating arrow-glib/version.h
config.status: creating gandiva-glib/Makefile
config.status: creating gandiva-glib/gandiva-glib.pc
config.status: creating gandiva-glib/version.h
config.status: creating parquet-glib/Makefile
config.status: creating parquet-glib/parquet-glib.pc
config.status: creating parquet-glib/version.h
config.status: creating plasma-glib/Makefile
config.status: creating plasma-glib/plasma-glib.pc
config.status: creating doc/Makefile
config.status: creating doc/arrow-glib/Makefile
config.status: creating doc/arrow-glib/entities.xml
config.status: creating doc/gandiva-glib/Makefile
config.status: creating doc/gandiva-glib/entities.xml
config.status: creating doc/parquet-glib/Makefile
config.status: creating doc/parquet-glib/entities.xml
config.status: creating doc/plasma-glib/Makefile
config.status: creating doc/plasma-glib/entities.xml
config.status: creating example/Makefile
config.status: creating example/lua/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commandstahmad@Rezkuh-7480: 
~/arrow/c_glib(master)
$ make
make  all-recursive
make[1]: Entering directory '/home/tahmad/arrow/c_glib'
Making all in arrow-glib
make[2]: Entering directory '/home/tahmad/arrow/c_glib/arrow-glib'
  GEN      stamp-enums.h
touch stamp-enums.h
  GEN      stamp-enums.c
touch stamp-enums.c
make  all-am
make[3]: Entering directory '/home/tahmad/arrow/c_glib/arrow-glib'
  CXX      libarrow_glib_la-array-builder.lo
  CXX      libarrow_glib_la-basic-array.lo
  CXX      libarrow_glib_la-basic-data-type.lo
  CXX      libarrow_glib_la-buffer.lo
  CXX      libarrow_glib_la-chunked-array.lo
  CXX      libarrow_glib_la-codec.lo
  CXX      libarrow_glib_la-composite-array.lo
  CXX      libarrow_glib_la-composite-data-type.lo
  CXX      libarrow_glib_la-decimal128.lo
  CXX      libarrow_glib_la-error.lo
  CXX      libarrow_glib_la-field.lo
  CXX      libarrow_glib_la-record-batch.lo
  CXX      libarrow_glib_la-schema.lo
  CXX      libarrow_glib_la-table.lo
  CXX      libarrow_glib_la-table-builder.lo
  CXX      libarrow_glib_la-tensor.lo
  CXX      libarrow_glib_la-type.lo
  CC       enums.lo
  CXX      libarrow_glib_la-file.lo
  CXX      libarrow_glib_la-file-mode.lo
  CXX      libarrow_glib_la-input-stream.lo
  CXX      libarrow_glib_la-output-stream.lo
  CXX      libarrow_glib_la-readable.lo
  CXX      libarrow_glib_la-writable.lo
  CXX      libarrow_glib_la-writable-file.lo
  CXX      libarrow_glib_la-ipc-options.lo
  CXX      libarrow_glib_la-metadata-version.lo
  CXX      libarrow_glib_la-reader.lo
  CXX      libarrow_glib_la-writer.lo
  CXX      libarrow_glib_la-compute.lo
  CXX      libarrow_glib_la-file-system.lo
  CXX      libarrow_glib_la-local-file-system.lo
  CXX      libarrow_glib_la-orc-file-reader.lo
  CXXLD    libarrow-glib.la
ar: `u' modifier ignored since `D' is the default (see `U')
  GISCAN   Arrow-1.0.gir
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::SlowFileSystem::SlowFileSystem(std::shared_ptr<arrow::fs::FileSystem>,
 double)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::NumberOfRows()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::FileInfo::ToString[abi:cxx11]() const'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::csv::TableReader::Make(arrow::MemoryPool*, 
std::shared_ptr<arrow::io::InputStream>, arrow::csv::ReadOptions const&, 
arrow::csv::ParseOptions const&, arrow::csv::ConvertOptions const&)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::LocalFileSystemOptions::Defaults()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::ReadSchema(std::shared_ptr<arrow::Schema>*)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::Open(std::shared_ptr<arrow::io::RandomAccessFile>
 const&, arrow::MemoryPool*, 
std::unique_ptr<arrow::adapters::orc::ORCFileReader, 
std::default_delete<arrow::adapters::orc::ORCFileReader> >*)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::NumberOfStripes()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::LocalFileSystem::LocalFileSystem(arrow::fs::LocalFileSystemOptions 
const&)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::SubTreeFileSystem::SubTreeFileSystem(std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&, 
std::shared_ptr<arrow::fs::FileSystem>)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::csv::ConvertOptions::Defaults()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::ReadStripe(long, std::vector<int, 
std::allocator<int> > const&, std::shared_ptr<arrow::RecordBatch>*)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::Read(std::vector<int, std::allocator<int> 
> const&, std::shared_ptr<arrow::Table>*)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::~ORCFileReader()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::json::TableReader::Make(arrow::MemoryPool*, 
std::shared_ptr<arrow::io::InputStream>, arrow::json::ReadOptions const&, 
arrow::json::ParseOptions const&, std::shared_ptr<arrow::json::TableReader>*)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::FileInfo::dir_name[abi:cxx11]() const'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::SlowFileSystem::SlowFileSystem(std::shared_ptr<arrow::fs::FileSystem>,
 double, int)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::FileInfo::base_name[abi:cxx11]() const'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::json::ParseOptions::Defaults()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::ReadStripe(long, 
std::shared_ptr<arrow::RecordBatch>*)'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::csv::ParseOptions::Defaults()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::FileInfo::extension[abi:cxx11]() const'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::fs::LocalFileSystem::LocalFileSystem()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::json::ReadOptions::Defaults()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::csv::ReadOptions::Defaults()'
./.libs/libarrow-glib.so: undefined reference to 
`arrow::adapters::orc::ORCFileReader::Read(std::shared_ptr<arrow::Table>*)'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/bash', '../libtool', 
'--mode=link', '--tag=CC', '--silent', 'gcc', '-o', 
'/home/tahmad/arrow/c_glib/arrow-glib/tmp-introspectAOqRIh/Arrow-1.0', 
'-export-dynamic', '-g', '-O2', 
'tmp-introspectAOqRIh/home/tahmad/arrow/c_glib/arrow-glib/tmp-introspectAOqRIh/Arrow-1.0.o',
 '-L.', 'libarrow-glib.la', '-L/usr/local/lib', '-rpath', '/usr/local/lib', 
'-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lgio-2.0', 
'-lgobject-2.0', '-lglib-2.0']' returned non-zero exit status 1
/usr/share/gobject-introspection-1.0/Makefile.introspection:155: recipe for 
target 'Arrow-1.0.gir' failed
make[3]: *** [Arrow-1.0.gir] Error 1
make[3]: Leaving directory '/home/tahmad/arrow/c_glib/arrow-glib'
Makefile:643: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/tahmad/arrow/c_glib/arrow-glib'
Makefile:554: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tahmad/arrow/c_glib'
Makefile:465: recipe for target 'all' failed
make: *** [all] Error 2
{code}
 

 

> [C++] Arrow (master) build error from sources
> ---------------------------------------------
>
>                 Key: ARROW-8805
>                 URL: https://issues.apache.org/jira/browse/ARROW-8805
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Tanveer
>            Priority: Major
>         Attachments: Screenshot from 2020-05-14 22-22-01.png
>
>
> !Screenshot from 2020-05-14 22-22-01.png!
> Building Arrow C++ from sources (with following flags: cmake 
> -DARROW_PLASMA=ON  -DARROW_PYTHON=ON ..) is not possible due to some errors 
> as shown in the attached figure.
> Can someone fix them or suggest me some solution? Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to