Created
November 17, 2022 23:16
-
-
Save darrenfu/f5c4d78f04fef65a01610364b5cf36d5 to your computer and use it in GitHub Desktop.
"make" errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/usr/bin/make cmake BUILD_DIR=release BUILD_TYPE=Release && \ | |
/Applications/Xcode_14.1.0_14B47b_fb.app/Contents/Developer/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= \ | |
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
\ | |
-- Build type: Release | |
-- Disabling Codegen | |
-- Setting folly source to AUTO | |
-- Setting Protobuf source to AUTO | |
-- Found Bison keg installed by Homebrew at /opt/homebrew/opt/bison | |
-- Found Flex keg installed by Homebrew at /opt/homebrew/opt/flex | |
-- xsimd v8.0.5 | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /Users/dofu/git/velox/_build/release | |
cmake --build _build/release -j 10 | |
[1/937] Linking CXX static library lib/libgtest.a | |
[2/937] Linking CXX static library lib/libgmock.a | |
[3/937] Linking CXX static library lib/libgmock_main.a | |
[4/937] Linking CXX static library lib/libgtest_main.a | |
[5/937] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o | |
ccache /Library/Developer/CommandLineTools/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/opt/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /opt/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /usr/local/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -fvisibility=hidden -fvisibility-inlines-hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/RuntimeMetrics.cpp.o -c /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/RuntimeMetrics.cpp:20: | |
/Users/dofu/git/velox/./velox/common/base/RuntimeMetrics.h:80:22: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness] | |
BaseRuntimeStatWriter* getThreadLocalRunTimeStatWriter(); | |
^ | |
/Users/dofu/git/velox/./velox/common/base/RuntimeMetrics.h:80:22: note: insert '_Nullable' if the pointer may be null | |
BaseRuntimeStatWriter* getThreadLocalRunTimeStatWriter(); | |
^ | |
_Nullable | |
/Users/dofu/git/velox/./velox/common/base/RuntimeMetrics.h:80:22: note: insert '_Nonnull' if the pointer should never be null | |
BaseRuntimeStatWriter* getThreadLocalRunTimeStatWriter(); | |
^ | |
_Nonnull | |
/Users/dofu/git/velox/./velox/common/base/RuntimeMetrics.h:90:52: error: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Werror,-Wnullability-completeness] | |
RuntimeStatWriterScopeGuard(BaseRuntimeStatWriter* writer) | |
^ | |
/Users/dofu/git/velox/./velox/common/base/RuntimeMetrics.h:90:52: note: insert '_Nullable' if the pointer may be null | |
RuntimeStatWriterScopeGuard(BaseRuntimeStatWriter* writer) | |
^ | |
_Nullable | |
/Users/dofu/git/velox/./velox/common/base/RuntimeMetrics.h:90:52: note: insert '_Nonnull' if the pointer should never be null | |
RuntimeStatWriterScopeGuard(BaseRuntimeStatWriter* writer) | |
^ | |
_Nonnull | |
2 errors generated. | |
[6/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/RangeTest.cpp.o | |
[7/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/SuccinctPrinterTest.cpp.o | |
[8/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/CoalesceIoTest.cpp.o | |
[9/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/RawVectorTest.cpp.o | |
[10/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/FsTest.cpp.o | |
[11/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/SemaphoreTest.cpp.o | |
[12/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/SimdUtilTest.cpp.o | |
[13/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/StatsReporterTest.cpp.o | |
[14/937] Building CXX object velox/common/base/tests/CMakeFiles/velox_base_test.dir/ExceptionTest.cpp.o | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment