apache / arrow

Apache Arrow is the universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics
https://arrow.apache.org/
Apache License 2.0
14.55k stars 3.54k forks source link

[C++][CMake] 16.0.0: build fails because missing boost detection #41624

Open kloczek opened 6 months ago

kloczek commented 6 months ago

Describe the bug, including details regarding any error messages, version, and platform.

cmake output looks like do not shows any tries to detect boost

```text + /usr/bin/cmake -B x86_64-redhat-linux-gnu -D BUILD_SHARED_LIBS=ON -D CMAKE_AR=/usr/bin/gcc-ar -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_C_FLAGS_RELEASE=-DNDEBUG -D CMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -D CMAKE_Fortran_FLAGS_RELEASE=-DNDEBUG -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_NM=/usr/bin/gcc-nm -D CMAKE_RANLIB=/usr/bin/gcc-ranlib -D CMAKE_VERBOSE_MAKEFILE=ON -D INCLUDE_INSTALL_DIR=/usr/include -D LIB_INSTALL_DIR=/usr/lib64 -D LIB_SUFFIX=64 -D SHARE_INSTALL_PREFIX=/usr/share -D SYSCONF_INSTALL_DIR=/etc -S . -D ARROW_BUILD_STATIC=OFF -D ARROW_FUZZING=OFF -D ARROW_JEMALLOC=OFF -D ARROW_ORC=ON -D ARROW_PARQUET=ON -D ARROW_PYTHON=ON -D ARROW_SIMD_LEVEL:STRING=NONE -D ARROW_USE_CCACHE=OFF -D ARROW_USE_XSIMD=ON -D ARROW_WITH_BROTLI=ON -D ARROW_WITH_BZ2=ON -D ARROW_WITH_LZ4=ON -D ARROW_WITH_SNAPPY=ON -D ARROW_WITH_ZLIB=ON -D ARROW_WITH_ZSTD=ON -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_COLOR_MAKEFILE=OFF -D CMAKE_UNITY_BUILD=ON -D GRPC_SOURCE=SYSTEM -D PARQUET_REQUIRE_ENCRYPTION=ON -D PythonInterp_FIND_VERSION=ON -D PythonInterp_FIND_VERSION_MAJOR=3 -D xsimd_SOURCE=SYSTEM -- Building using CMake version: 3.29.1 -- The C compiler identification is GNU 14.1.1 -- The CXX compiler identification is GNU 14.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - 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: 16.0.0 (full: '16.0.0') -- Arrow SO version: 1600 (full: 1600.0.0) -- clang-tidy found, but version did not match "LLVM version 14" -- clang-tidy 14 not found -- clang-format found, but version did not match "clang-format version 14" -- clang-format 14 not found -- Could NOT find ClangTools (missing: CLANG_FORMAT_BIN CLANG_TIDY_BIN) -- infer not found -- Found Python3: /usr/bin/python3 (found version "3.10.14") found components: Interpreter fatal: not a git repository (or any parent up to mount point /home/tkloczko) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). -- Found cpplint executable at /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/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: CHECKIN -- Using ld linker -- Build Type: RELWITHDEBINFO -- 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: 20211102.0 -- ARROW_ABSL_BUILD_SHA256_CHECKSUM: dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4 -- ARROW_AWS_C_AUTH_BUILD_VERSION: v0.6.22 -- ARROW_AWS_C_AUTH_BUILD_SHA256_CHECKSUM: 691a6b4418afcd3dc141351b6ad33fccd8e3ff84df0e9e045b42295d284ee14c -- ARROW_AWS_C_CAL_BUILD_VERSION: v0.5.20 -- ARROW_AWS_C_CAL_BUILD_SHA256_CHECKSUM: acc352359bd06f8597415c366cf4ec4f00d0b0da92d637039a73323dd55b6cd0 -- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.8.9 -- ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM: 2f3fbaf7c38eae5a00e2a816d09b81177f93529ae8ba1b82dc8f31407565327a -- ARROW_AWS_C_COMPRESSION_BUILD_VERSION: v0.2.16 -- ARROW_AWS_C_COMPRESSION_BUILD_SHA256_CHECKSUM: 044b1dbbca431a07bde8255ef9ec443c300fc60d4c9408d4b862f65e496687f4 -- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.2.18 -- ARROW_AWS_C_EVENT_STREAM_BUILD_SHA256_CHECKSUM: 310ca617f713bf664e4c7485a3d42c1fb57813abd0107e49790d107def7cde4f -- ARROW_AWS_C_HTTP_BUILD_VERSION: v0.7.3 -- ARROW_AWS_C_HTTP_BUILD_SHA256_CHECKSUM: 07e16c6bf5eba6f0dea96b6f55eae312a7c95b736f4d2e4a210000f45d8265ae -- ARROW_AWS_C_IO_BUILD_VERSION: v0.13.14 -- ARROW_AWS_C_IO_BUILD_SHA256_CHECKSUM: 12b66510c3d9a4f7e9b714e9cfab2a5bf835f8b9ce2f909d20ae2a2128608c71 -- ARROW_AWS_C_MQTT_BUILD_VERSION: v0.8.4 -- ARROW_AWS_C_MQTT_BUILD_SHA256_CHECKSUM: 232eeac63e72883d460c686a09b98cdd811d24579affac47c5c3f696f956773f -- ARROW_AWS_C_S3_BUILD_VERSION: v0.2.3 -- ARROW_AWS_C_S3_BUILD_SHA256_CHECKSUM: a00b3c9f319cd1c9aa2c3fa15098864df94b066dcba0deaccbb3caa952d902fe -- ARROW_AWS_C_SDKUTILS_BUILD_VERSION: v0.1.6 -- ARROW_AWS_C_SDKUTILS_BUILD_SHA256_CHECKSUM: 8a2951344b2fb541eab1e9ca17c18a7fcbfd2aaff4cdd31d362d1fad96111b91 -- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.13 -- ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM: 0f897686f1963253c5069a0e495b85c31635ba146cd3ac38cc2ea31eaf54694d -- ARROW_AWS_CRT_CPP_BUILD_VERSION: v0.18.16 -- ARROW_AWS_CRT_CPP_BUILD_SHA256_CHECKSUM: 9e69bc1dc4b50871d1038aa9ff6ddeb4c9b28f7d6b5e5b1b69041ccf50a13483 -- ARROW_AWS_LC_BUILD_VERSION: v1.3.0 -- ARROW_AWS_LC_BUILD_SHA256_CHECKSUM: ae96a3567161552744fc0cae8b4d68ed88b1ec0f3d3c98700070115356da5a37 -- ARROW_AWSSDK_BUILD_VERSION: 1.10.55 -- ARROW_AWSSDK_BUILD_SHA256_CHECKSUM: 2d552fb1a84bef4a9b65e34aa7031851ed2aef5319e02cc6e4cb735c48aa30de -- ARROW_AZURE_SDK_BUILD_VERSION: azure-core_1.10.3 -- ARROW_AZURE_SDK_BUILD_SHA256_CHECKSUM: dd624c2f86adf474d2d0a23066be6e27af9cbd7e3f8d9d8fd7bf981e884b7b48 -- ARROW_BOOST_BUILD_VERSION: 1.81.0 -- ARROW_BOOST_BUILD_SHA256_CHECKSUM: 9e0ffae35528c35f90468997bc8d99500bf179cbae355415a89a600c38e13574 -- 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.8.3 -- ARROW_GBENCHMARK_BUILD_SHA256_CHECKSUM: 6bc180a57d23d4d9515519f92b0c83d61b05b5bab188961f36ac7b06b0d9e9ce -- 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: v2.12.0 -- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: 8cda870803925c62de8716a765e03eb9d34249977e5cdb7d0d20367e997a55e2 -- ARROW_GRPC_BUILD_VERSION: v1.46.3 -- ARROW_GRPC_BUILD_SHA256_CHECKSUM: d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964 -- ARROW_GTEST_BUILD_VERSION: 1.11.0 -- ARROW_GTEST_BUILD_SHA256_CHECKSUM: b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5 -- ARROW_JEMALLOC_BUILD_VERSION: 5.3.0 -- ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM: 2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa -- ARROW_LZ4_BUILD_VERSION: v1.9.4 -- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b -- ARROW_MIMALLOC_BUILD_VERSION: v2.0.6 -- ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM: 9f05c94cc2b017ed13698834ac2a3567b6339a8bde27640df5a1581d49d05ce5 -- ARROW_NLOHMANN_JSON_BUILD_VERSION: v3.10.5 -- ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4 -- ARROW_OPENTELEMETRY_BUILD_VERSION: v1.8.1 -- ARROW_OPENTELEMETRY_BUILD_SHA256_CHECKSUM: 3d640201594b07f08dade9cd1017bd0b59674daca26223b560b9bb6bf56264c2 -- ARROW_OPENTELEMETRY_PROTO_BUILD_VERSION: v0.17.0 -- ARROW_OPENTELEMETRY_PROTO_BUILD_SHA256_CHECKSUM: f269fbcb30e17b03caa1decd231ce826e59d7651c0f71c3b28eb5140b4bb5412 -- ARROW_ORC_BUILD_VERSION: 2.0.0 -- ARROW_ORC_BUILD_SHA256_CHECKSUM: 9107730919c29eb39efaff1b9e36166634d1d4d9477e5fee76bfd6a8fec317df -- ARROW_PROTOBUF_BUILD_VERSION: v21.3 -- ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM: 2f723218f6cb709ae4cdc4fb5ed56a5951fc5d466f0128ce4c946b8c78c8c49f -- ARROW_RAPIDJSON_BUILD_VERSION: 232389d4f1012dddec4ef84861face2d2ba85709 -- ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM: b9290a9a6d444c8e049bd589ab804e0ccf2b05dc5984a19ed5ae75d090064806 -- ARROW_RE2_BUILD_VERSION: 2022-06-01 -- ARROW_RE2_BUILD_SHA256_CHECKSUM: f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f -- ARROW_SNAPPY_BUILD_VERSION: 1.1.10 -- ARROW_SNAPPY_BUILD_SHA256_CHECKSUM: 49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90 -- ARROW_SUBSTRAIT_BUILD_VERSION: v0.44.0 -- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: f989a862f694e7dbb695925ddb7c4ce06aa6c51aca945105c075139aed7e55a2 -- ARROW_S2N_TLS_BUILD_VERSION: v1.3.35 -- ARROW_S2N_TLS_BUILD_SHA256_CHECKSUM: 9d32b26e6bfcc058d98248bf8fc231537e347395dd89cf62bb432b55c5da990d -- ARROW_THRIFT_BUILD_VERSION: 0.16.0 -- ARROW_THRIFT_BUILD_SHA256_CHECKSUM: f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be8981f6209 -- ARROW_UCX_BUILD_VERSION: 1.12.1 -- ARROW_UCX_BUILD_SHA256_CHECKSUM: 9bef31aed0e28bf1973d28d74d9ac4f8926c43ca3b7010bd22a084e164e31b71 -- ARROW_UTF8PROC_BUILD_VERSION: v2.7.0 -- ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM: 4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1 -- ARROW_XSIMD_BUILD_VERSION: 9.0.1 -- ARROW_XSIMD_BUILD_SHA256_CHECKSUM: b1bb5f92167fd3a4f25749db0be7e61ed37e0a5d943490f3accdcd2cd2918cc0 -- ARROW_ZLIB_BUILD_VERSION: 1.3.1 -- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23 -- ARROW_ZSTD_BUILD_VERSION: 1.5.6 -- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: 8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for _M_ARM64 -- Looking for _M_ARM64 - not found -- Looking for __SIZEOF_INT128__ -- Looking for __SIZEOF_INT128__ - found -- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.58") -- Boost include dir: Boost_INCLUDE_DIR-NOTFOUND -- Providing CMake module for FindSnappyAlt as part of Arrow CMake package -- Checking for modules 'libbrotlicommon;libbrotlienc;libbrotlidec' -- Found libbrotlicommon, version 1.1.0 -- Found libbrotlienc, version 1.1.0 -- Found libbrotlidec, version 1.1.0 -- Found BrotliAlt: /usr/lib64/libbrotlicommon.so -- Providing CMake module for FindBrotliAlt as part of Arrow CMake package -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.2.1", minimum required is "1.0.2") -- Providing CMake module for FindOpenSSLAlt as part of Arrow CMake package -- Found OpenSSL Crypto Library: /usr/lib64/libcrypto.so -- Building with OpenSSL (Version: 3.2.1) support -- Found thrift: -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.0") -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.2.1") -- Found libevent: /usr/lib64/libevent.so -- Providing CMake module for FindThriftAlt as part of Parquet CMake package -- Found Protobuf: /usr/lib64/libprotobuf.so (found version "3.21.12") -- Providing CMake module for FindProtobufAlt as part of Arrow CMake package -- Found protoc: /usr/bin/protoc -- RapidJSON found. Headers: /usr/include -- xsimd found. Headers: /usr/include CMake Warning at cmake_modules/Findlz4Alt.cmake:29 (find_package): By not providing "Findlz4.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "lz4", but CMake did not find one. Could not find a package configuration file provided by "lz4" with any of the following names: lz4Config.cmake lz4-config.cmake Add the installation prefix of "lz4" to CMAKE_PREFIX_PATH or set "lz4_DIR" to a directory containing one of the above files. If "lz4" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake_modules/ThirdpartyToolchain.cmake:291 (find_package) cmake_modules/ThirdpartyToolchain.cmake:2599 (resolve_dependency) CMakeLists.txt:543 (include) -- Checking for module 'liblz4' -- Found liblz4, version 1.9.4 -- Found lz4Alt: /usr/lib64/liblz4.so -- Providing CMake module for Findlz4Alt as part of Arrow CMake package CMake Warning at cmake_modules/FindzstdAlt.cmake:29 (find_package): By not providing "Findzstd.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "zstd", but CMake did not find one. Could not find a package configuration file provided by "zstd" (requested version 1.4.0) with any of the following names: zstdConfig.cmake zstd-config.cmake Add the installation prefix of "zstd" to CMAKE_PREFIX_PATH or set "zstd_DIR" to a directory containing one of the above files. If "zstd" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake_modules/ThirdpartyToolchain.cmake:291 (find_package) cmake_modules/ThirdpartyToolchain.cmake:2654 (resolve_dependency) CMakeLists.txt:543 (include) -- Checking for module 'libzstd' -- Found libzstd, version 1.5.6 -- Found zstdAlt: /usr/lib64/libzstd.so (found suitable version "1.5.6", minimum required is "1.4.0") -- Zstandard library: /usr/lib64/libzstd.so -- Zstandard include directory: /usr/include -- Providing CMake module for FindzstdAlt as part of Arrow CMake package -- Found Zstandard: zstd::libzstd_shared -- Providing CMake module for Findre2Alt as part of Arrow CMake package -- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) -- Building BZip2 from source -- Found utf8proc: /usr/lib64/libutf8proc.so (found suitable version "2.9.0", minimum required is "2.2.0") -- Providing CMake module for Findutf8proc as part of Arrow CMake package -- Found hdfs.h at: /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/thirdparty/hadoop/include/hdfs.h CMake Warning at cmake_modules/FindorcAlt.cmake:29 (find_package): By not providing "Findorc.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "orc", but CMake did not find one. Could not find a package configuration file provided by "orc" with any of the following names: orcConfig.cmake orc-config.cmake Add the installation prefix of "orc" to CMAKE_PREFIX_PATH or set "orc_DIR" to a directory containing one of the above files. If "orc" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake_modules/ThirdpartyToolchain.cmake:291 (find_package) cmake_modules/ThirdpartyToolchain.cmake:4578 (resolve_dependency) CMakeLists.txt:543 (include) -- Found orcAlt: /usr/lib64/liborc.so (found version "1.9.2") -- Providing CMake module for FindorcAlt as part of Arrow CMake package -- Found ORC static library: /usr/lib64/liborc.so -- Found ORC headers: /usr/include -- All bundled static libraries: BZip2::BZip2 -- CMAKE_C_FLAGS: -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -Wdate-time -fno-semantic-interposition -- CMAKE_CXX_FLAGS: -Wno-noexcept-type -Wno-self-move -Wno-subobject-linkage -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -fdiagnostics-color=always -Wall -Wno-conversion -Wno-sign-conversion -Wunused-result -Wdate-time -fno-semantic-interposition -- CMAKE_C_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG -ftree-vectorize -ggdb -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O2 -g -DNDEBUG -ftree-vectorize -ggdb -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- --------------------------------------------------------------------- -- Arrow version: 16.0.0 -- -- Build configuration summary: -- Generator: Unix Makefiles -- Build type: RELWITHDEBINFO -- Source directory: /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp -- Install prefix: /usr -- -- Compile and link options: -- -- ARROW_CXXFLAGS="" [default=""] -- Compiler flags to append when compiling Arrow -- ARROW_BUILD_STATIC=OFF [default=ON] -- Build static libraries -- ARROW_BUILD_SHARED=ON [default=ON] -- Build shared libraries -- ARROW_PACKAGE_KIND="" [default=""] -- Arbitrary string that identifies the kind of package -- (for informational purposes) -- ARROW_GIT_ID="" [default=""] -- The Arrow git commit id (if any) -- ARROW_GIT_DESCRIPTION="" [default=""] -- The Arrow git commit description (if any) -- ARROW_NO_DEPRECATED_API=OFF [default=OFF] -- Exclude deprecated APIs from build -- ARROW_POSITION_INDEPENDENT_CODE=ON [default=ON] -- Whether to create position-independent target -- ARROW_USE_CCACHE=OFF [default=ON] -- Use ccache when compiling (if available) -- ARROW_USE_SCCACHE=ON [default=ON] -- Use sccache when compiling (if available), -- takes precedence over ccache if a storage backend is configured -- ARROW_USE_LD_GOLD=OFF [default=OFF] -- Use ld.gold for linking on Linux (if available) -- ARROW_USE_LLD=OFF [default=OFF] -- Use the LLVM lld for linking (if available) -- ARROW_USE_MOLD=OFF [default=OFF] -- Use mold for linking on Linux (if available) -- ARROW_USE_PRECOMPILED_HEADERS=OFF [default=OFF] -- Use precompiled headers when compiling -- ARROW_SIMD_LEVEL=NONE [default=DEFAULT|NONE|SSE4_2|AVX2|AVX512|NEON|SVE|SVE128|SVE256|SVE512] -- Compile-time SIMD optimization level -- ARROW_RUNTIME_SIMD_LEVEL=MAX [default=MAX|NONE|SSE4_2|AVX2|AVX512] -- Max runtime SIMD optimization level -- 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 -- ARROW_WITH_MUSL=OFF [default=OFF] -- Whether the system libc is musl or not -- ARROW_ENABLE_THREADING=ON [default=ON] -- Enable threading in Arrow core -- -- 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=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_ACERO=ON [default=OFF] -- Build the Arrow Acero Engine Module -- ARROW_AZURE=OFF [default=OFF] -- Build Arrow with Azure support (requires the Azure SDK for C++) -- ARROW_BUILD_UTILITIES=OFF [default=OFF] -- Build Arrow commandline utilities -- ARROW_COMPUTE=ON [default=OFF] -- Build all Arrow Compute kernels -- 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_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=ON [default=OFF] -- Build the Arrow HDFS bridge -- ARROW_IPC=ON [default=ON] -- Build the Arrow IPC extensions -- ARROW_JEMALLOC=OFF [default=ON] -- Build the Arrow jemalloc-based allocator -- ARROW_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=ON [default=OFF] -- Build the Arrow ORC adapter -- ARROW_PYTHON=ON [default=OFF] -- Build some components needed by PyArrow. -- (This is a deprecated option. Use CMake presets instead.) -- 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_SUBSTRAIT=OFF [default=OFF] -- Build the Arrow Substrait Consumer Module -- 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=ON [default=ON] -- Rely on Boost shared libraries where relevant -- ARROW_BROTLI_USE_SHARED=ON [default=ON] -- Rely on Brotli shared libraries where relevant -- ARROW_BZ2_USE_SHARED=ON [default=ON] -- Rely on Bz2 shared libraries where relevant -- ARROW_GFLAGS_USE_SHARED=ON [default=ON] -- Rely on GFlags shared libraries where relevant -- ARROW_GRPC_USE_SHARED=ON [default=ON] -- Rely on gRPC shared libraries where relevant -- ARROW_JEMALLOC_USE_SHARED=ON [default=ON] -- Rely on jemalloc shared libraries where relevant -- ARROW_LLVM_USE_SHARED=ON [default=ON] -- Rely on LLVM shared libraries where relevant -- ARROW_LZ4_USE_SHARED=ON [default=ON] -- Rely on lz4 shared libraries where relevant -- ARROW_OPENSSL_USE_SHARED=ON [default=ON] -- Rely on OpenSSL shared libraries where relevant -- ARROW_PROTOBUF_USE_SHARED=ON [default=ON] -- Rely on Protocol Buffers shared libraries where relevant -- ARROW_SNAPPY_USE_SHARED=ON [default=ON] -- Rely on snappy shared libraries where relevant -- ARROW_THRIFT_USE_SHARED=ON [default=ON] -- Rely on thrift shared libraries where relevant -- ARROW_UTF8PROC_USE_SHARED=ON [default=ON] -- Rely on utf8proc shared libraries where relevant -- ARROW_ZSTD_USE_SHARED=ON [default=ON] -- Rely on zstd shared libraries where relevant -- ARROW_USE_GLOG=OFF [default=OFF] -- Build libraries with glog support for pluggable logging -- ARROW_WITH_BACKTRACE=ON [default=ON] -- Build with backtrace support -- ARROW_WITH_OPENTELEMETRY=OFF [default=OFF] -- Build libraries with OpenTelemetry support for distributed tracing -- ARROW_WITH_BROTLI=ON [default=OFF] -- Build with Brotli compression -- ARROW_WITH_BZ2=ON [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=ON [default=OFF] -- Build with zlib compression -- ARROW_WITH_ZSTD=ON [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=ON [default=OFF] -- Build support for encryption. Fail if OpenSSL is not found -- -- Gandiva options: -- -- 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 -- ARROW_GDB_INSTALL_DIR="" [default=""] -- Use a custom install directory for GDB plugin. -- In general, you don't need to specify this because the default -- (CMAKE_INSTALL_FULL_BINDIR on Windows, CMAKE_INSTALL_FULL_LIBDIR otherwise) -- is reasonable. CMake Warning at cmake_modules/DefineOptions.cmake:716 (message): ARROW_PYTHON is deprecated. Use CMake presets instead. Call Stack (most recent call first): CMakeLists.txt:755 (config_summary_message) -- Outputting build configuration summary to /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu/cmake_summary.json -- Configuring done (5.3s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE GRPC_SOURCE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX PythonInterp_FIND_VERSION PythonInterp_FIND_VERSION_MAJOR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu ```

and build fails because missing boost in build env

```text In file included from /usr/include/thrift/transport/TTransport.h:25, from /usr/include/thrift/protocol/TProtocol.h:46, from /usr/include/thrift/TBase.h:24, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/generated/parquet_types.h:14, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/generated/parquet_constants.h:10, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/generated/parquet_constants.cpp:7: /usr/include/thrift/transport/TTransportException.h:23:10: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from /usr/include/thrift/transport/TTransport.h:25, from /usr/include/thrift/protocol/TProtocol.h:46, from /usr/include/thrift/TBase.h:24, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/generated/parquet_types.h:14, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/generated/parquet_types.cpp:7: /usr/include/thrift/transport/TTransportException.h:23:10: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:163: src/parquet/CMakeFiles/parquet_objlib.dir/__/generated/parquet_constants.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:177: src/parquet/CMakeFiles/parquet_objlib.dir/__/generated/parquet_types.cpp.o] Error 1 In file included from /usr/include/thrift/transport/TTransport.h:25, from /usr/include/thrift/protocol/TProtocol.h:46, from /usr/include/thrift/protocol/TVirtualProtocol.h:23, from /usr/include/thrift/protocol/TCompactProtocol.h:23, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/thrift_internal.h:36, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/metadata.cc:37, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu/src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_2_cxx.cxx:16: /usr/include/thrift/transport/TTransportException.h:23:10: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:121: src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_2_cxx.cxx.o] Error 1 In file included from /usr/include/thrift/transport/TTransport.h:25, from /usr/include/thrift/protocol/TProtocol.h:46, from /usr/include/thrift/protocol/TVirtualProtocol.h:23, from /usr/include/thrift/protocol/TCompactProtocol.h:23, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/thrift_internal.h:36, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/schema.cc:30, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu/src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_3_cxx.cxx:10: /usr/include/thrift/transport/TTransportException.h:23:10: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:107: src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_3_cxx.cxx.o] Error 1 In file included from /usr/include/thrift/transport/TTransport.h:25, from /usr/include/thrift/protocol/TProtocol.h:46, from /usr/include/thrift/protocol/TVirtualProtocol.h:23, from /usr/include/thrift/protocol/TCompactProtocol.h:23, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/thrift_internal.h:36, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/column_reader.cc:56, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu/src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_1_cxx.cxx:4: /usr/include/thrift/transport/TTransportException.h:23:10: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:135: src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_1_cxx.cxx.o] Error 1 In file included from /usr/include/thrift/transport/TTransport.h:25, from /usr/include/thrift/protocol/TProtocol.h:46, from /usr/include/thrift/TBase.h:24, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/generated/parquet_types.h:14, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/src/parquet/bloom_filter.cc:26, from /home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu/src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_0_cxx.cxx:22: /usr/include/thrift/transport/TTransportException.h:23:10: fatal error: boost/numeric/conversion/cast.hpp: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. gmake[2]: *** [src/parquet/CMakeFiles/parquet_objlib.dir/build.make:149: src/parquet/CMakeFiles/parquet_objlib.dir/Unity/unity_0_cxx.cxx.o] Error 1 gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:1703: src/parquet/CMakeFiles/parquet_objlib.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu' [ 93%] Built target arrow_acero_objlib gmake[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/apache-arrow-16.0.0/cpp/x86_64-redhat-linux-gnu' ```

Component(s)

C++

kloczek commented 6 months ago

BTW looks like 16.1.0 dist tarball has not been uploaded to https://dist.apache.org/repos/dist/release/arrow/

assignUser commented 6 months ago

-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.58") -- Boost include dir: Boost_INCLUDE_DIR-NOTFOUND

Boost wasn't found (correctly), you can set -DBoost_SOURCE=BUNDLED to try our build from source.

16.1.0 is still in the release vote so it makes senses that it's not uploaded yet.

kloczek commented 6 months ago

OK my mistake (I've been looking for 'boost` (all lowercase). So issue is different that boost has not been found and cmake fished with exit 0.

assignUser commented 6 months ago

Have you tried my suggestion? And do you have boost installed? If so which version and where?

kloczek commented 6 months ago

I've solved that by add boost devel repackage to build env but issue still remains as I've defined that: cmake finished with exit 0 without boost found.

kloczek commented 6 months ago

Looking on cmake output:

-- Using AUTO approach to find dependencies
-- ARROW_ABSL_BUILD_VERSION: 20211102.0
-- ARROW_ABSL_BUILD_SHA256_CHECKSUM: dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4
-- ARROW_AWS_C_AUTH_BUILD_VERSION: v0.6.22
-- ARROW_AWS_C_AUTH_BUILD_SHA256_CHECKSUM: 691a6b4418afcd3dc141351b6ad33fccd8e3ff84df0e9e045b42295d284ee14c
-- ARROW_AWS_C_CAL_BUILD_VERSION: v0.5.20
-- ARROW_AWS_C_CAL_BUILD_SHA256_CHECKSUM: acc352359bd06f8597415c366cf4ec4f00d0b0da92d637039a73323dd55b6cd0
-- ARROW_AWS_C_COMMON_BUILD_VERSION: v0.8.9
-- ARROW_AWS_C_COMMON_BUILD_SHA256_CHECKSUM: 2f3fbaf7c38eae5a00e2a816d09b81177f93529ae8ba1b82dc8f31407565327a
-- ARROW_AWS_C_COMPRESSION_BUILD_VERSION: v0.2.16
-- ARROW_AWS_C_COMPRESSION_BUILD_SHA256_CHECKSUM: 044b1dbbca431a07bde8255ef9ec443c300fc60d4c9408d4b862f65e496687f4
-- ARROW_AWS_C_EVENT_STREAM_BUILD_VERSION: v0.2.18
-- ARROW_AWS_C_EVENT_STREAM_BUILD_SHA256_CHECKSUM: 310ca617f713bf664e4c7485a3d42c1fb57813abd0107e49790d107def7cde4f
-- ARROW_AWS_C_HTTP_BUILD_VERSION: v0.7.3
-- ARROW_AWS_C_HTTP_BUILD_SHA256_CHECKSUM: 07e16c6bf5eba6f0dea96b6f55eae312a7c95b736f4d2e4a210000f45d8265ae
-- ARROW_AWS_C_IO_BUILD_VERSION: v0.13.14
-- ARROW_AWS_C_IO_BUILD_SHA256_CHECKSUM: 12b66510c3d9a4f7e9b714e9cfab2a5bf835f8b9ce2f909d20ae2a2128608c71
-- ARROW_AWS_C_MQTT_BUILD_VERSION: v0.8.4
-- ARROW_AWS_C_MQTT_BUILD_SHA256_CHECKSUM: 232eeac63e72883d460c686a09b98cdd811d24579affac47c5c3f696f956773f
-- ARROW_AWS_C_S3_BUILD_VERSION: v0.2.3
-- ARROW_AWS_C_S3_BUILD_SHA256_CHECKSUM: a00b3c9f319cd1c9aa2c3fa15098864df94b066dcba0deaccbb3caa952d902fe
-- ARROW_AWS_C_SDKUTILS_BUILD_VERSION: v0.1.6
-- ARROW_AWS_C_SDKUTILS_BUILD_SHA256_CHECKSUM: 8a2951344b2fb541eab1e9ca17c18a7fcbfd2aaff4cdd31d362d1fad96111b91
-- ARROW_AWS_CHECKSUMS_BUILD_VERSION: v0.1.13
-- ARROW_AWS_CHECKSUMS_BUILD_SHA256_CHECKSUM: 0f897686f1963253c5069a0e495b85c31635ba146cd3ac38cc2ea31eaf54694d
-- ARROW_AWS_CRT_CPP_BUILD_VERSION: v0.18.16
-- ARROW_AWS_CRT_CPP_BUILD_SHA256_CHECKSUM: 9e69bc1dc4b50871d1038aa9ff6ddeb4c9b28f7d6b5e5b1b69041ccf50a13483
-- ARROW_AWS_LC_BUILD_VERSION: v1.3.0
-- ARROW_AWS_LC_BUILD_SHA256_CHECKSUM: ae96a3567161552744fc0cae8b4d68ed88b1ec0f3d3c98700070115356da5a37
-- ARROW_AWSSDK_BUILD_VERSION: 1.10.55
-- ARROW_AWSSDK_BUILD_SHA256_CHECKSUM: 2d552fb1a84bef4a9b65e34aa7031851ed2aef5319e02cc6e4cb735c48aa30de
-- ARROW_AZURE_SDK_BUILD_VERSION: azure-core_1.10.3
-- ARROW_AZURE_SDK_BUILD_SHA256_CHECKSUM: dd624c2f86adf474d2d0a23066be6e27af9cbd7e3f8d9d8fd7bf981e884b7b48
-- ARROW_BOOST_BUILD_VERSION: 1.81.0
-- ARROW_BOOST_BUILD_SHA256_CHECKSUM: 9e0ffae35528c35f90468997bc8d99500bf179cbae355415a89a600c38e13574
-- 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.8.3
-- ARROW_GBENCHMARK_BUILD_SHA256_CHECKSUM: 6bc180a57d23d4d9515519f92b0c83d61b05b5bab188961f36ac7b06b0d9e9ce
-- 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: v2.12.0
-- ARROW_GOOGLE_CLOUD_CPP_BUILD_SHA256_CHECKSUM: 8cda870803925c62de8716a765e03eb9d34249977e5cdb7d0d20367e997a55e2
-- ARROW_GRPC_BUILD_VERSION: v1.46.3
-- ARROW_GRPC_BUILD_SHA256_CHECKSUM: d6cbf22cb5007af71b61c6be316a79397469c58c82a942552a62e708bce60964
-- ARROW_GTEST_BUILD_VERSION: 1.11.0
-- ARROW_GTEST_BUILD_SHA256_CHECKSUM: b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
-- ARROW_JEMALLOC_BUILD_VERSION: 5.3.0
-- ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM: 2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa
-- ARROW_LZ4_BUILD_VERSION: v1.9.4
-- ARROW_LZ4_BUILD_SHA256_CHECKSUM: 0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b
-- ARROW_MIMALLOC_BUILD_VERSION: v2.0.6
-- ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM: 9f05c94cc2b017ed13698834ac2a3567b6339a8bde27640df5a1581d49d05ce5
-- ARROW_NLOHMANN_JSON_BUILD_VERSION: v3.10.5
-- ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM: 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4
-- ARROW_OPENTELEMETRY_BUILD_VERSION: v1.8.1
-- ARROW_OPENTELEMETRY_BUILD_SHA256_CHECKSUM: 3d640201594b07f08dade9cd1017bd0b59674daca26223b560b9bb6bf56264c2
-- ARROW_OPENTELEMETRY_PROTO_BUILD_VERSION: v0.17.0
-- ARROW_OPENTELEMETRY_PROTO_BUILD_SHA256_CHECKSUM: f269fbcb30e17b03caa1decd231ce826e59d7651c0f71c3b28eb5140b4bb5412
-- ARROW_ORC_BUILD_VERSION: 2.0.0
-- ARROW_ORC_BUILD_SHA256_CHECKSUM: 9107730919c29eb39efaff1b9e36166634d1d4d9477e5fee76bfd6a8fec317df
-- ARROW_PROTOBUF_BUILD_VERSION: v21.3
-- ARROW_PROTOBUF_BUILD_SHA256_CHECKSUM: 2f723218f6cb709ae4cdc4fb5ed56a5951fc5d466f0128ce4c946b8c78c8c49f
-- ARROW_RAPIDJSON_BUILD_VERSION: 232389d4f1012dddec4ef84861face2d2ba85709
-- ARROW_RAPIDJSON_BUILD_SHA256_CHECKSUM: b9290a9a6d444c8e049bd589ab804e0ccf2b05dc5984a19ed5ae75d090064806
-- ARROW_RE2_BUILD_VERSION: 2022-06-01
-- ARROW_RE2_BUILD_SHA256_CHECKSUM: f89c61410a072e5cbcf8c27e3a778da7d6fd2f2b5b1445cd4f4508bee946ab0f
-- ARROW_SNAPPY_BUILD_VERSION: 1.1.10
-- ARROW_SNAPPY_BUILD_SHA256_CHECKSUM: 49d831bffcc5f3d01482340fe5af59852ca2fe76c3e05df0e67203ebbe0f1d90
-- ARROW_SUBSTRAIT_BUILD_VERSION: v0.44.0
-- ARROW_SUBSTRAIT_BUILD_SHA256_CHECKSUM: f989a862f694e7dbb695925ddb7c4ce06aa6c51aca945105c075139aed7e55a2
-- ARROW_S2N_TLS_BUILD_VERSION: v1.3.35
-- ARROW_S2N_TLS_BUILD_SHA256_CHECKSUM: 9d32b26e6bfcc058d98248bf8fc231537e347395dd89cf62bb432b55c5da990d
-- ARROW_THRIFT_BUILD_VERSION: 0.16.0
-- ARROW_THRIFT_BUILD_SHA256_CHECKSUM: f460b5c1ca30d8918ff95ea3eb6291b3951cf518553566088f3f2be8981f6209
-- ARROW_UCX_BUILD_VERSION: 1.12.1
-- ARROW_UCX_BUILD_SHA256_CHECKSUM: 9bef31aed0e28bf1973d28d74d9ac4f8926c43ca3b7010bd22a084e164e31b71
-- ARROW_UTF8PROC_BUILD_VERSION: v2.7.0
-- ARROW_UTF8PROC_BUILD_SHA256_CHECKSUM: 4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1
-- ARROW_XSIMD_BUILD_VERSION: 9.0.1
-- ARROW_XSIMD_BUILD_SHA256_CHECKSUM: b1bb5f92167fd3a4f25749db0be7e61ed37e0a5d943490f3accdcd2cd2918cc0
-- ARROW_ZLIB_BUILD_VERSION: 1.3.1
-- ARROW_ZLIB_BUILD_SHA256_CHECKSUM: 9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
-- ARROW_ZSTD_BUILD_VERSION: 1.5.6
-- ARROW_ZSTD_BUILD_SHA256_CHECKSUM: 8c29e06cf42aacc1eafc4077ae2ec6c6fcb96a626157e0593d5e82a34fd403c1
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success

I think that all those bundled bits should be replaced by simple detection and all those detections should exit with non-zero if some needed component has not been found. This will make everything much shorter and simpler to maintain.

kou commented 6 months ago

Could you try this?

diff --git a/cpp/src/parquet/CMakeLists.txt b/cpp/src/parquet/CMakeLists.txt
index 93f2e72d8d..28d9991629 100644
--- a/cpp/src/parquet/CMakeLists.txt
+++ b/cpp/src/parquet/CMakeLists.txt
@@ -262,13 +262,13 @@ if(NOT PARQUET_MINIMAL_DEPENDENCY)

   # These are libraries that we will link privately with parquet_shared (as they
   # do not need to be linked transitively by other linkers)
-  list(APPEND PARQUET_SHARED_PRIVATE_LINK_LIBS thrift::thrift)
+  list(APPEND PARQUET_SHARED_PRIVATE_LINK_LIBS thrift::thrift Boost::headers)

   # Link publicly with parquet_static (because internal users need to
   # transitively link all dependencies)
-  list(APPEND PARQUET_STATIC_LINK_LIBS thrift::thrift)
+  list(APPEND PARQUET_STATIC_LINK_LIBS thrift::thrift Boost::headers)
   if(NOT THRIFT_VENDORED)
-    list(APPEND PARQUET_STATIC_INSTALL_INTERFACE_LIBS thrift::thrift)
+    list(APPEND PARQUET_STATIC_INSTALL_INTERFACE_LIBS thrift::thrift Boost::headers)
   endif()
 endif()
 if(ARROW_WITH_OPENTELEMETRY)
kou commented 5 months ago

@kloczek Could you try https://github.com/apache/arrow/issues/41624#issuecomment-2106148559 ?