Lane Goolsby
07/05/2022, 2:24 PMLGoolsby@MyMachine typesense % ./build.sh
++ dirname ./build.sh
++ read a
++ cd .
++ pwd
++ break
+ PROJECT_DIR=/my/repo/dir/typesense
++ uname -s
+ SYSTEM_NAME=Darwin
+ BUILD_DIR=build-Darwin
+ '[' -z '' ']'
+ TYPESENSE_VERSION=nightly
+ [[ '' == \-\-\c\l\e\a\n ]]
+ [[ '' == \-\-\d\e\p\c\l\e\a\n ]]
+ cmake -DTYPESENSE_VERSION=nightly -DCMAKE_BUILD_TYPE=Release -H/my/repo/dir/typesense -B/my/repo/dir/typesense/build-Darwin
-- Found ICU header files in /usr/local/opt/icu4c/include
-- Found ICU libraries: /usr/local/opt/icu4c/lib/libicuuc.a
-- Found LevelDB (include: /usr/local/include, library: /usr/local/lib/libleveldb.a)
OpenSSL library: /usr/local/opt/openssl@1.1/lib/libssl.a;/usr/local/opt/openssl@1.1/lib/libcrypto.a
-- Configuring done
-- Generating done
-- Build files have been written to: /my/repo/dir/typesense/build-Darwin
+ make typesense-server typesense-test -C /my/repo/dir/typesense/build-Darwin
Consolidate compiler generated dependencies of target typesense-server
[ 0%] Building CXX object CMakeFiles/typesense-server.dir/src/app_metrics.cpp.o
In file included from /my/repo/dir/typesense/src/app_metrics.cpp2
In file included from /my/repo/dir/typesense/include/core_api.h3
In file included from /my/repo/dir/typesense/include/http_server.h6
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o.h41
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/hostinfo.h32
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/multithread.h27
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/socket.h33
/my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/picotls.h144232: warning: missing field 'capacity' initializer [-Wmissing-field-initializers]
*buf = (ptls_buffer_t){NULL};
^
In file included from /my/repo/dir/typesense/src/app_metrics.cpp2
In file included from /my/repo/dir/typesense/include/core_api.h3
In file included from /my/repo/dir/typesense/include/http_server.h6
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o.h45
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/httpclient.h29
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/quicly.h37
/my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/quicly/frame.h51093: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction]
return quicly_encode_close_frame(NULL, error_code, offending_frame_type, reason_phrase) - (uint8_t *)NULL;
^ ~~~~~~~~~~~~~~~
In file included from /my/repo/dir/typesense/src/app_metrics.cpp2
In file included from /my/repo/dir/typesense/include/core_api.h3
In file included from /my/repo/dir/typesense/include/http_server.h6
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o.h45
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/httpclient.h29
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/quicly.h40
In file included from /my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/quicly/loss.h33
/my/repo/dir/typesense/external-Darwin/h2o-6dda7d6f21610ecd5256543384fa4b4b345a88ac/include/h2o/quicly/sentmap.h25835: warning: missing field 'tail' initializer [-Wmissing-field-initializers]
*map = (quicly_sentmap_t){NULL};
^
In file included from /my/repo/dir/typesense/src/app_metrics.cpp2
In file included from /my/repo/dir/typesense/include/core_api.h4
In file included from /my/repo/dir/typesense/include/auth_manager.h11
/my/repo/dir/typesense/include/store.h1610: fatal error: 'butil/file_util.h' file not found
#include <butil/file_util.h>
^~~~~~~~~~~~~~~~~~~
3 warnings and 1 error generated.
make[3]: * [CMakeFiles/typesense-server.dir/src/app_metrics.cpp.o] Error 1
make[2]: * [CMakeFiles/typesense-server.dir/all] Error 2
make[1]: * [CMakeFiles/typesense-server.dir/rule] Error 2
make: * [typesense-server] Error 2