You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve dependency install and build (#10920) installs all dependencies in deps-install subfolder, and set the include directory to it in front of other include directories. The duckdb build failed with the following message:
FAILED: _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o
/usr/local/bin/ccache /Library/Developer/CommandLineTools/usr/bin/c++ -DVELOX_ENABLE_PARQUET -I/Users/yingsu/repo/velox7/velox/deps-install/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duc
kdb-src/src/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fsst -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/include -I/Users/yingsu
/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/hyperloglog -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fastpforlib -I/Users/yingsu/repo/velox7/velox/_build/de
bug/_deps/duckdb-src/third_party/fast_float -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/re2 -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/mini
z -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/utf8proc/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/miniparquet -I/Users/yingsu/repo/
velox7/velox/_build/debug/_deps/duckdb-src/third_party/concurrentqueue -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/pcg -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/
duckdb-src/third_party/tdigest -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/mbedtls/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/jaro_
winkler -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-ig
nored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -Wno-nullability-completeness -Wno-non-virtual-dtor -O3 -DNDEBUG -O3 -DNDEBUG -Werror -std=c++11 -arch arm64 -isys
root /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -fPIC -fcolor-diagnostics -w -MD -MT _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o -MF _deps/duckdb-build/third_part
y/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o.d -o _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o -c /Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/f
ormat.cc
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:22:23: error: use of undeclared identifier 'FMT_SNPRINTF'
auto snprintf_ptr = FMT_SNPRINTF;
^
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:32:52: error: expected ')'
constexpr sprintf_specs(basic_format_specs<Char> specs)
^
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:32:26: note: to match this '('
constexpr sprintf_specs(basic_format_specs<Char> specs)
^
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:33:9: error: invalid use of non-static data member 'precision'
: precision(specs.precision), type(specs.type), alt(specs.alt) {}
^~~~~~~~~
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:33:19: error: use of undeclared identifier 'specs'
: precision(specs.precision), type(specs.type), alt(specs.alt) {}
Duckdb carries a fmt package as a third party library. But we can see that -I/Users/yingsu/repo/velox7/velox/deps-install/include was put in front of -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/src/include. The fmt version installed in deps-install doesn't have FMT_SNPRINTF definition.
The fix is to remove BEFORE from include_directories(BEFORE "$ENV{INSTALL_PREFIX}/include")
System information
Velox System Info v0.0.2
Commit: b78bb3a
CMake Version: 3.30.3
System: Darwin-23.4.0
Arch: arm64
C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
C++ Compiler Version: 15.0.0.15000309
C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
C Compiler Version: 15.0.0.15000309
CMake Prefix Path: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr;/opt/homebrew;/usr/local;/usr;/;/opt/homebrew/Cellar/cmake/3.30.3;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
CMake log
cmake VERBOSE=1
...
/Library/Developer/CommandLineTools/usr/bin/make cmake BUILD_DIR=debug BUILD_TYPE=Debug
mkdir -p _build/debug && \
cmake -B \
"_build/debug" \
-DTREAT_WARNINGS_AS_ERRORS=1 -DENABLE_ALL_WARNINGS=1 -DVELOX_BUILD_MINIMAL="OFF" -DVELOX_BUILD_TESTING="ON" -DCMAKE_BUILD_TYPE=Debug \
-GNinja -DMAX_LINK_JOBS= -DMAX_HIGH_MEM_JOBS= -DVELOX_FORCE_COLORED_OUTPUT=ON \
-- Building using CMake version: 3.30.3
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - 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: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Dependency install directory set to: /Users/yingsu/repo/velox7/velox/deps-install
-- Build type: Debug
-- 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.
...skipping...
[139/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/function.cc.o
[140/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/registry.cc.o
[141/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/vector_hash.cc.o
[142/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/vector_selection.cc.o
[143/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/light_array.cc.o
[144/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/vector_selection_filter_internal.cc.o
[145/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/key_hash.cc.o
[146/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/vector_selection_internal.cc.o
[147/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/vector_selection_take_internal.cc.o
[148/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/key_map.cc.o
[149/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/scalar_cast_boolean.cc.o
[150/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/scalar_cast_numeric.cc.o
[151/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/dictionary.cc.o
[152/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/kernels/scalar_cast_temporal.cc.o
[153/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/options.cc.o
[154/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/metadata_internal.cc.o
[155/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/extension/fixed_shape_tensor.cc.o
[156/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/options.cc.o
[157/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/chunked_builder.cc.o
[158/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/chunker.cc.o
[159/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/object_parser.cc.o
[160/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/object_writer.cc.o
[161/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/parser.cc.o
[162/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/row/encode_internal.cc.o
[163/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/musl/strptime.c.o
[164/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/row/grouper.cc.o
[165/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriCommon.c.o
[166/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriCompare.c.o
[167/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriEscape.c.o
[168/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/writer.cc.o
[169/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriFile.c.o
[170/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriIp4Base.c.o
[171/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/util.cc.o
[172/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriIp4.c.o
[173/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriMemory.c.o
[174/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriNormalizeBase.c.o
[175/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriNormalize.c.o
[176/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriParseBase.c.o
[177/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/row/compare_internal.cc.o
[178/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriParse.c.o
[179/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriQuery.c.o
[180/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriResolve.c.o
[181/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/compute/row/row_internal.cc.o
[182/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriRecompose.c.o
[183/202] Building C object src/arrow/CMakeFiles/arrow_objlib.dir/vendored/uriparser/UriShorten.c.o
[184/202] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/ipc/test_common.cc.o
[185/202] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/generator.cc.o
[186/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/message.cc.o
[187/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/reader.cc.o
[188/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/feather.cc.o
[189/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/converter.cc.o
[190/202] Building CXX object src/arrow/compute/kernels/CMakeFiles/arrow_compute_kernels_testing.dir/test_util.cc.o
[191/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/ipc/json_simple.cc.o
[192/202] Building CXX object src/arrow/CMakeFiles/arrow_objlib.dir/json/reader.cc.o
[193/202] Linking CXX shared library debug/libarrow.1500.0.0.dylib
[194/202] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/util.cc.o
[195/202] Creating library symlink debug/libarrow.1500.dylib debug/libarrow.dylib
[196/202] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/io/test_common.cc.o
[197/202] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/gtest_util.cc.o
[198/202] Building CXX object src/arrow/CMakeFiles/arrow_testing_objlib.dir/testing/random.cc.o
[199/202] Linking CXX shared library debug/libarrow_testing.1500.0.0.dylib
[200/202] Creating library symlink debug/libarrow_testing.1500.dylib debug/libarrow_testing.dylib
[201/202] Linking CXX static library debug/libarrow.a
[202/202] Linking CXX static library debug/libarrow_testing.a
[419/3207] Building CXX object velox/expression/CMakeFiles/velox_expression.dir/FunctionCallToSpecialForm.cpp.o
[420/3207] Building CXX object velox/expression/CMakeFiles/velox_expression.dir/CastExpr.cpp.o
[421/3207] Building CXX object velox/expression/CMakeFiles/velox_expression.dir/LambdaExpr.cpp.o
[422/3207] Building CXX object velox/expression/CMakeFiles/velox_expression.dir/PeeledEncoding.cpp.o
[423/3207] Linking CXX static library velox/functions/lib/libvelox_functions_util.a
[424/3207] Building CXX object velox/expression/CMakeFiles/velox_expression.dir/PrestoCastHooks.cpp.o
[425/3207] Building CXX object _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o
FAILED: _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o
/usr/local/bin/ccache /Library/Developer/CommandLineTools/usr/bin/c++ -DVELOX_ENABLE_PARQUET -I/Users/yingsu/repo/velox7/velox/deps-install/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duc
kdb-src/src/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fsst -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/include -I/Users/yingsu
/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/hyperloglog -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fastpforlib -I/Users/yingsu/repo/velox7/velox/_build/de
bug/_deps/duckdb-src/third_party/fast_float -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/re2 -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/mini
z -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/utf8proc/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/miniparquet -I/Users/yingsu/repo/
velox7/velox/_build/debug/_deps/duckdb-src/third_party/concurrentqueue -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/pcg -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/
duckdb-src/third_party/tdigest -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/mbedtls/include -I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/jaro_
winkler -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-ig
nored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -Wno-nullability-completeness -Wno-non-virtual-dtor -O3 -DNDEBUG -O3 -DNDEBUG -Werror -std=c++11 -arch arm64 -isys
root /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -fPIC -fcolor-diagnostics -w -MD -MT _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o -MF _deps/duckdb-build/third_part
y/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o.d -o _deps/duckdb-build/third_party/fmt/CMakeFiles/duckdb_fmt.dir/format.cc.o -c /Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/f
ormat.cc
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:22:23: error: use of undeclared identifier 'FMT_SNPRINTF'
auto snprintf_ptr = FMT_SNPRINTF;
^
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:32:52: error: expected ')'
constexpr sprintf_specs(basic_format_specs<Char> specs)
^
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:32:26: note: to match this '('
constexpr sprintf_specs(basic_format_specs<Char> specs)
^
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:33:9: error: invalid use of non-static data member 'precision': precision(specs.precision), type(specs.type), alt(specs.alt) {}
^~~~~~~~~
/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/third_party/fmt/format.cc:33:19: error: use of undeclared identifier 'specs': precision(specs.precision), type(specs.type), alt(specs.alt) {}
CCACHE_PATH=/usr/local/bin/ccache
CFLAGS=' -I/opt/homebrew/opt/openjdk@11/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include '
COLORFGBG='7;0'
COLORTERM=truecolor
COMMAND_MODE=unix2003
CPPFLAGS='-I/opt/homebrew/opt/openjdk@11/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include '
HOME=/Users/yingsu
HOMEBREW_CELLAR=/opt/homebrew/Cellar
HOMEBREW_PREFIX=/opt/homebrew
HOMEBREW_REPOSITORY=/opt/homebrew
INFOPATH=/opt/homebrew/share/info:
INSTALL_PREFIX=/Users/yingsu/repo/velox7/velox/deps-install
INSTALL_PREREQUISITES=Y
ITERM_PROFILE=Default
ITERM_SESSION_ID=w0t6p0:587E1BF7-17DA-4CD4-99EC-0A6AA54424F4
LANG=en_US.UTF-8
LC_TERMINAL=iTerm2
LC_TERMINAL_VERSION=3.5.0
LOGNAME=yingsu
OLDPWD=/Users/yingsu/repo/velox7
PATH=/Users/yingsu/bin:/opt/homebrew/bin:/opt/homebrew/opt/bison/bin:/opt/homebrew/opt/m4/bin:/usr/local/bin:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/bin:/opt/homebrew/opt/openjdk@11/bin:/opt/homebrew/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/yingsu/bin
PROMPT_ALWAYS_RESPOND=y
PWD=/Users/yingsu/repo/velox7/velox
SHELL=/bin/zsh
SHLVL=1
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.mlJmFYChVi/Listeners
TERM=xterm-256color
TERMINFO_DIRS=/Applications/iTerm.app/Contents/Resources/terminfo:/usr/share/terminfo
TERM_FEATURES=T3LrMSc7UUw9Ts3BFGsSyHNoSxF
TERM_PROGRAM=iTerm.app
TERM_PROGRAM_VERSION=3.5.0
TERM_SESSION_ID=w0t6p0:587E1BF7-17DA-4CD4-99EC-0A6AA54424F4
TMPDIR=/var/folders/dp/yfj8bxwd1r50xd9lbd48whl80000gn/T/
USER=yingsu
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
__CFBundleIdentifier=com.googlecode.iterm2
__CF_USER_TEXT_ENCODING=0x0:0:0
artifactory_token=cmVmdGtuOjAxOjE3MTA2NTg2NjQ6M1hpZHA1OTB2ZEtIcVN5S3hWdk1WR210dWFj
[email protected]
The text was updated successfully, but these errors were encountered:
Problem description
Improve dependency install and build (#10920) installs all dependencies in deps-install subfolder, and set the include directory to it in front of other include directories. The duckdb build failed with the following message:
Duckdb carries a fmt package as a third party library. But we can see that
-I/Users/yingsu/repo/velox7/velox/deps-install/include
was put in front of-I/Users/yingsu/repo/velox7/velox/_build/debug/_deps/duckdb-src/src/include
. The fmt version installed in deps-install doesn't have FMT_SNPRINTF definition.The fix is to remove
BEFORE
frominclude_directories(BEFORE "$ENV{INSTALL_PREFIX}/include")
System information
Velox System Info v0.0.2
Commit: b78bb3a
CMake Version: 3.30.3
System: Darwin-23.4.0
Arch: arm64
C++ Compiler: /Library/Developer/CommandLineTools/usr/bin/c++
C++ Compiler Version: 15.0.0.15000309
C Compiler: /Library/Developer/CommandLineTools/usr/bin/cc
C Compiler Version: 15.0.0.15000309
CMake Prefix Path: /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr;/opt/homebrew;/usr/local;/usr;/;/opt/homebrew/Cellar/cmake/3.30.3;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
CMake log
The text was updated successfully, but these errors were encountered: