facebookincubator / velox

A composable and fully extensible C++ execution engine library for data management systems.
https://velox-lib.io/
Apache License 2.0
3.54k stars 1.17k forks source link

Build Failing: Could NOT find Boost (missing: Boost_INCLUDE_DIR) #11636

Open dharanad opened 5 days ago

dharanad commented 5 days ago

Problem description

Release & Debug build failing with due to Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least version "1.56"). Seems like its failing to build thrift

System information

Velox System Info v0.0.2 Commit: 9ba0197e72d3803ac2ba91f908db6db3f374b5a8 CMake Version: 3.31.1 System: Darwin-24.1.0 Arch: arm64 C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++ C++ Compiler Version: 16.0.0.16000026 C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc C Compiler Version: 16.0.0.16000026 CMake Prefix Path: /Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk/usr;/opt/homebrew;/usr/local;/usr;/;/opt/homebrew;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local

CMake log

/Library/Developer/CommandLineTools/usr/bin/make cmake BUILD_DIR=release BUILD_TYPE=Release && \
    /Library/Developer/CommandLineTools/usr/bin/make build BUILD_DIR=release
mkdir -p _build/release && \
    cmake  -B \
        "_build/release" \
        -DTREAT_WARNINGS_AS_ERRORS=1 -DENABLE_ALL_WARNINGS=1 -DVELOX_BUILD_MINIMAL="OFF" -DVELOX_BUILD_TESTING="ON" -DCMAKE_BUILD_TYPE=Release \
        -GNinja -DMAX_LINK_JOBS= -DMAX_HIGH_MEM_JOBS= -DVELOX_FORCE_COLORED_OUTPUT=ON \

-- Building using CMake version: 3.31.1
-- Dependency install directory set to: /Users/dharanaditya/Workspace/velox/deps-install
-- Build type: Release
-- Building cpr from source
-- CXX standard: 17
-- C++ Requests CMake Options
-- =======================================================
--   CPR_GENERATE_COVERAGE: OFF
--   CPR_CURL_NOSIGNAL: OFF
--   CURL_VERBOSE_LOGGING: OFF
--   CPR_USE_SYSTEM_GTEST: OFF
--   CPR_USE_SYSTEM_CURL: OFF
--   CPR_ENABLE_CURL_HTTP_ONLY: ON
--   CPR_ENABLE_SSL: ON
--   CPR_FORCE_OPENSSL_BACKEND: OFF
--   CPR_FORCE_WINSSL_BACKEND: OFF
--   CPR_FORCE_DARWINSSL_BACKEND: OFF
--   CPR_FORCE_MBEDTLS_BACKEND: OFF
--   CPR_ENABLE_LINTING: OFF
--   CPR_ENABLE_CPPCHECK: OFF
--   CPR_BUILD_TESTS: OFF
--   CPR_BUILD_TESTS_SSL: OFF
--   CPR_BUILD_TESTS_PROXY: OFF
--   CPR_SKIP_CA_BUNDLE_SEARCH: OFF
--   CPR_USE_BOOST_FILESYSTEM: OFF
--   CPR_DEBUG_SANITIZER_FLAG_THREAD: OFF
--   CPR_DEBUG_SANITIZER_FLAG_ADDR: OFF
--   CPR_DEBUG_SANITIZER_FLAG_LEAK: OFF
--   CPR_DEBUG_SANITIZER_FLAG_UB: OFF
--   CPR_DEBUG_SANITIZER_FLAG_ALL: OFF
-- =======================================================
-- Automatically detecting SSL backend.
-- Detecting SSL backend...
-- SSL auto detect: Using DarwinSSL.
-- Configuring built-in curl...
-- Enabled curl SSL
-- curl version=[8.4.0]
-- Picky compiler options: -Wextra -Wall -pedantic -Wbad-function-cast -Wconversion -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-long-long -Wno-multichar -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wunused -Wwrite-strings -Wcast-align -Wdeclaration-after-statement -Wempty-body -Wendif-labels -Wfloat-equal -Wignored-qualifiers -Wno-format-nonliteral -Wno-sign-conversion -Wno-system-headers -Wstrict-prototypes -Wtype-limits -Wvla -Wshift-sign-overflow -Wshorten-64-to-32 -Wdouble-promotion -Wenum-conversion -Wunused-const-variable -Wcomma -Wmissing-variable-declarations -Wassign-enum -Wextra-semi-stmt
-- Could NOT find LibPSL (missing: LIBPSL_LIBRARY LIBPSL_INCLUDE_DIR)
-- Could NOT find LibSSH2 (missing: LIBSSH2_LIBRARY LIBSSH2_INCLUDE_DIR)
-- CA path only supported by OpenSSL, wolfSSL, GnuTLS or mbedTLS. Set CURL_CA_PATH=none or enable one of those TLS backends.
-- Enabled features: SSL IPv6 unixsockets AsynchDNS Largefile alt-svc HSTS HTTPS-proxy threadsafe
-- Enabled protocols: HTTP HTTPS
-- Enabled SSL backends: Secure Transport
-- Setting DuckDB source to AUTO
-- Using SYSTEM DuckDB
Setting CMAKE_CXX_FLAGS=-mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden
FINAL CMAKE_CXX_FLAGS= -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wall -Wextra -Wno-unused        -Wno-unused-parameter        -Wno-sign-compare        -Wno-ignored-qualifiers        -Wno-range-loop-analysis          -Wno-mismatched-tags          -Wno-nullability-completeness
-- Found icu4c installed by Homebrew at /opt/homebrew/opt/icu4c@76
-- Setting ICU source to AUTO
-- Using SYSTEM ICU
-- Setting Boost source to AUTO
CMake Warning (dev) at CMake/ResolveDependency.cmake:70 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:424 (velox_resolve_dependency)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /Users/dharanaditya/Workspace/velox/deps-install/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.77.0") found components: atomic context date_time filesystem program_options regex system thread
-- Using SYSTEM Boost
-- Setting gflags source to AUTO
-- Using SYSTEM gflags
-- Setting fmt source to AUTO
-- Using SYSTEM fmt
-- Setting re2 source to AUTO
-- Found RE2 via CMake.
-- Using SYSTEM re2
-- Setting Protobuf source to AUTO
CMake Warning at CMake/ResolveDependency.cmake:70 (find_package):
  Could not find a configuration file for package "Protobuf" that is
  compatible with requested version "3.21.7".

  The following configuration files were considered but not accepted:

    /opt/homebrew/lib/cmake/protobuf/protobuf-config.cmake, version: 28.3.0

Call Stack (most recent call first):
  CMakeLists.txt:489 (velox_resolve_dependency)

-- Building Protobuf from source
CMake Deprecation Warning at _build/release/_deps/protobuf-src/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

--
-- 3.21.8.0
-- Using BUNDLED Protobuf
-- Setting simdjson source to AUTO
CMake Warning at CMake/ResolveDependency.cmake:70 (find_package):
  By not providing "Findsimdjson.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "simdjson",
  but CMake did not find one.

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

    simdjsonConfig.cmake
    simdjson-config.cmake

  Add the installation prefix of "simdjson" to CMAKE_PREFIX_PATH or set
  "simdjson_DIR" to a directory containing one of the above files.  If
  "simdjson" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  CMakeLists.txt:494 (velox_resolve_dependency)

-- Building simdjson from source
-- Adding -Og to compile flag
-- Using BUNDLED simdjson
-- Setting folly source to AUTO
CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  deps-install/lib/cmake/folly/folly-config.cmake:59 (find_dependency)
  CMake/ResolveDependency.cmake:70 (find_package)
  CMakeLists.txt:499 (velox_resolve_dependency)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /Users/dharanaditya/Workspace/velox/deps-install/lib/cmake/Boost-1.84.0/BoostConfig.cmake (found suitable version "1.84.0", minimum required is "1.51.0") found components: context filesystem program_options regex system thread
-- Found folly: /Users/dharanaditya/Workspace/velox/deps-install
-- Using SYSTEM folly
-- Setting absl source to AUTO
-- Using SYSTEM absl
-- Setting c-ares source to AUTO
-- Could NOT find c-ares (missing: c-ares_DIR)
-- Could NOT find c-ares (missing: C_ARES_LIBRARY C_ARES_INCLUDE_DIR)
-- Building C-ARES from source
CMake Deprecation Warning at _build/release/_deps/c-ares-src/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

-- Using BUNDLED c-ares
-- Setting gRPC source to AUTO
CMake Warning at CMake/ResolveDependency.cmake:70 (find_package):
  By not providing "FindgRPC.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "gRPC", but
  CMake did not find one.

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

    gRPCConfig.cmake
    grpc-config.cmake

  Add the installation prefix of "gRPC" to CMAKE_PREFIX_PATH or set
  "gRPC_DIR" to a directory containing one of the above files.  If "gRPC"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:512 (velox_resolve_dependency)

-- Setting absl source to SYSTEM
-- Building gRPC from source
CMake Deprecation Warning at _build/release/_deps/grpc-src/CMakeLists.txt:25 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

-- Found RE2 via CMake.
-- Using BUNDLED gRPC
-- Found Bison keg installed by Homebrew at /opt/homebrew/opt/bison
-- Found Flex keg installed by Homebrew at /opt/homebrew/opt/flex
-- Setting GTest source to AUTO
-- Using SYSTEM GTest
CMake Warning (dev) at CMakeLists.txt:601 (set):
  Cannot set "VELOX_GTEST_INCUDE_DIR": current scope has no parent.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Setting xsimd source to AUTO
CMake Warning at CMake/ResolveDependency.cmake:70 (find_package):
  By not providing "Findxsimd.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "xsimd", but
  CMake did not find one.

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

    xsimdConfig.cmake
    xsimd-config.cmake

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

-- Building xsimd from source
CMake Deprecation Warning at _build/release/_deps/xsimd-src/CMakeLists.txt:12 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

-- xsimd v10.0.0
-- Using BUNDLED xsimd
-- Setting stemmer source to AUTO
-- Using SYSTEM stemmer
-- Setting Arrow source to AUTO
-- Checking for module 'thrift'
--   Package 'thrift' not found
-- Could NOT find Thrift (missing: THRIFT_LIB THRIFT_INCLUDE_DIR) (found version "")
-- Using BUNDLED Arrow
CMake Deprecation Warning at velox/tpch/gen/dbgen/CMakeLists.txt:14 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

-- Configuring done (1.8s)
-- Generating done (0.7s)
-- Build files have been written to: /Users/dharanaditya/Workspace/velox/_build/release
cmake --build _build/release -j 12
[0/2] Re-checking globbed directories...
[4/2513] Performing build step for 'arrow_ep'
FAILED: CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-stamp/arrow_ep-build CMake/resolve_dependency_modules/arrow/arrow_ep/install/lib/libarrow.a CMake/resolve_dependency_modules/arrow/arrow_ep/install/lib/libparquet.a CMake/resolve_dependency_modules/arrow/arrow_ep/install/lib/libarrow_testing.a CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-install/lib/libthrift.a /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-stamp/arrow_ep-build /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/install/lib/libarrow.a /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/install/lib/libparquet.a /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/install/lib/libarrow_testing.a /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-install/lib/libthrift.a
cd /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build && /opt/homebrew/bin/cmake --build . && /opt/homebrew/bin/cmake -E touch /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-stamp/arrow_ep-build
[1/206] Performing configure step for 'thrift_ep'
FAILED: thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure
cd /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-build && /opt/homebrew/bin/cmake -P /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-RELEASE.cmake && /opt/homebrew/bin/cmake -E touch /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure
CMake Error at /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-RELEASE.cmake:37 (message):
  Command failed: 1

   '/opt/homebrew/bin/cmake' '-DCMAKE_C_COMPILER=/Library/Developer/CommandLineTools/usr/bin/cc' '-DCMAKE_CXX_COMPILER=/Library/Developer/CommandLineTools/usr/bin/c++' '-DCMAKE_AR=/Library/Developer/CommandLineTools/usr/bin/ar' '-DCMAKE_RANLIB=/Library/Developer/CommandLineTools/usr/bin/ranlib' '-DBUILD_SHARED_LIBS=OFF' '-DBUILD_STATIC_LIBS=ON' '-DBUILD_TESTING=OFF' '-DCMAKE_BUILD_TYPE=RELEASE' '-DCMAKE_CXX_FLAGS= -Qunused-arguments -fcolor-diagnostics -fPIC' '-DCMAKE_CXX_FLAGS_DEBUG=-g -O0 -ggdb   -Wno-error' '-DCMAKE_CXX_FLAGS_MISIZEREL=-Os -DNDEBUG ' '-DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG -O2  ' '-DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG -ggdb  ' '-DCMAKE_CXX_STANDARD=17' '-DCMAKE_C_FLAGS= -Qunused-arguments -fPIC' '-DCMAKE_C_FLAGS_DEBUG=-g -O0 -ggdb   -Wno-error' '-DCMAKE_C_FLAGS_MISIZEREL=-Os -DNDEBUG ' '-DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG -O2  ' '-DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG -ggdb  ' '-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=' '-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=' '-DCMAKE_INSTALL_LIBDIR=lib' '-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX15.1.sdk' '-DCMAKE_VERBOSE_MAKEFILE=FALSE' '-DCMAKE_INSTALL_PREFIX=/Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-install' '-DCMAKE_INSTALL_RPATH=/Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-install/lib' '-DBoost_NO_BOOST_CMAKE=ON' '-DBUILD_COMPILER=OFF' '-DBUILD_EXAMPLES=OFF' '-DBUILD_TUTORIALS=OFF' '-DCMAKE_DEBUG_POSTFIX=' '-DWITH_AS3=OFF' '-DWITH_CPP=ON' '-DWITH_C_GLIB=OFF' '-DWITH_JAVA=OFF' '-DWITH_JAVASCRIPT=OFF' '-DWITH_LIBEVENT=OFF' '-DWITH_NODEJS=OFF' '-DWITH_PYTHON=OFF' '-DWITH_QT5=OFF' '-DWITH_ZLIB=OFF' '-GNinja' '-S' '/Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep' '-B' '/Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-build'

  See also

    /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-*.log

-- stdout output is:
-- Configuring thrift 0.16.0
-- Could NOT find clang-tidy (missing: clang-tidy_BINARY)
-- Could NOT find clang-apply-replacements (missing: clang-apply-replacements_BINARY)
-- Could NOT find run-clang-tidy (missing: run-clang-tidy_BINARY)
-- Building without tests
-- Configuring incomplete, errors occurred!

-- stderr output is:
CMake Deprecation Warning at CMakeLists.txt:20 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

CMake Warning (dev) at build/cmake/DefineOptions.cmake:120 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:44 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/cmake/DefineOptions.cmake:121 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  CMakeLists.txt:44 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (clang-tidy)
  does not match the name of the calling package (ClangTools).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  build/cmake/FindClangTools.cmake:16 (find_package_handle_standard_args)
  build/cmake/StaticCodeAnalysis.cmake:1 (find_package)
  CMakeLists.txt:51 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args`
  (clang-apply-replacements) does not match the name of the calling package
  (ClangTools).  This can lead to problems in calling code that expects
  `find_package` result variables (e.g., `_FOUND`) to follow a certain
  pattern.
Call Stack (most recent call first):
  build/cmake/FindClangTools.cmake:16 (find_package_handle_standard_args)
  build/cmake/StaticCodeAnalysis.cmake:1 (find_package)
  CMakeLists.txt:51 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args`
  (run-clang-tidy) does not match the name of the calling package
  (ClangTools).  This can lead to problems in calling code that expects
  `find_package` result variables (e.g., `_FOUND`) to follow a certain
  pattern.
Call Stack (most recent call first):
  build/cmake/FindClangTools.cmake:24 (find_package_handle_standard_args)
  build/cmake/StaticCodeAnalysis.cmake:1 (find_package)
  CMakeLists.txt:51 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at build/cmake/BoostMacros.cmake:23 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

Call Stack (most recent call first):
  lib/cpp/CMakeLists.txt:22 (REQUIRE_BOOST_HEADERS)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least
  version "1.56")
Call Stack (most recent call first):
  /opt/homebrew/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /opt/homebrew/share/cmake/Modules/FindBoost.cmake:2409 (find_package_handle_standard_args)
  build/cmake/BoostMacros.cmake:23 (find_package)
  lib/cpp/CMakeLists.txt:22 (REQUIRE_BOOST_HEADERS)

CMake Error at /Users/dharanaditya/Workspace/velox/_build/release/CMake/resolve_dependency_modules/arrow/arrow_ep/src/arrow_ep-build/thrift_ep-prefix/src/thrift_ep-stamp/thrift_ep-configure-RELEASE.cmake:47 (message):
  Stopping after outputting logs.

ninja: build stopped: subcommand failed.
[15/2513] Building CXX object velox/dwio/common/CMakeFiles/velox_dwio_common.dir/ColumnSelector.cpp.o
ninja: build stopped: subcommand failed.
make[1]: *** [build] Error 1
make: *** [release] Error 2
zuyu commented 2 days ago

Hi @dharanad, have you installed required dependencies, and export INSTALL_PREFIX, per https://github.com/facebookincubator/velox/blob/main/README.md#setting-up-dependencies?

A quick workaround is just brew install boost on your macOS.

dharanad commented 2 days ago

Hi @dharanad, have you installed required dependencies, and export INSTALL_PREFIX, per https://github.com/facebookincubator/velox/blob/main/README.md#setting-up-dependencies?

A quick workaround is just brew install boost on your macOS.

Hello, Yes i did install dependencies and did export. Thank You installing boost via brew worked