zhangbutao opened a new issue, #50840:
URL: https://github.com/apache/doris/issues/50840

   Build Doris with master branch, and you can see the error logs.
   Related this PR https://github.com/apache/doris/pull/42932
   
   ```
   [0/2] Re-checking globbed directories...
   [422/1439] Building CXX object 
src/exec/CMakeFiles/Exec.dir/schema_scanner/schema_table_privileges_scanner.cpp.o
   [915/1439] Building CXX object 
src/index-tools/CMakeFiles/index_tool.dir/index_tool.cpp.o
   FAILED: src/index-tools/CMakeFiles/index_tool.dir/index_tool.cpp.o
   ccache /var/local/ldb-toolchain/bin/clang++ -DBOOST_CONTAINER_NO_LIB 
-DBOOST_DATE_TIME_NO_LIB -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG 
-DBOOST_STACKTRACE_USE_BACKTRACE -DBOOST_SYSTEM_NO_DEPRECATED 
-DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX=1 -DBRPC_ENABLE_CPU_PROFILER 
-DGLOG_CUSTOM_PREFIX_SUPPORT -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H 
-DLIBDIVIDE_AVX2 -DLIBDIVIDE_SSE2 -DLIBJVM -DS2_USE_GFLAGS -DS2_USE_GLOG 
-DUSE_AVX2 -DUSE_AZURE -DUSE_DORIS_HADOOP_HDFS -DUSE_HADOOP_HDFS -DUSE_JEMALLOC 
-DUSE_UNWIND -D__STDC_FORMAT_MACROS -Dindex_tool_EXPORTS 
-I/root/doris-source/be/src/apache-orc/c++/include 
-I/root/doris-source/be/build_Debug/src/apache-orc/c++/include 
-I/root/doris-source/be/build_Debug/src/clucene/src/shared 
-I/root/doris-source/be/src/clucene/src/core 
-I/root/doris-source/be/src/clucene/src/shared 
-I/root/doris-source/be/src/clucene/src/contribs-lib 
-I/root/doris-source/be/src -I/usr/lib/jvm/jdk-17.0.2/include 
-I/usr/lib/jvm/jdk-17.0.2/include/linux -I/root/doris-source/be/../gensr
 c/build/common -isystem /root/doris-source/be/../common -isystem 
/root/doris-source/be/../gensrc/build -isystem 
/var/local/thirdparty/installed/include -isystem 
/var/local/thirdparty/installed/gperftools/include -isystem 
/var/local/thirdparty/installed/include/lz4 -isystem 
/var/local/thirdparty/installed/include/zstd -DENABLE_CACHE_LOCK_DEBUG -O0  -g  
 -D OS_LINUX -g -Wall -Wextra -Werror -pthread -fstrict-aliasing 
-fno-omit-frame-pointer -Wnon-virtual-dtor -Wno-unused-parameter 
-Wno-incompatible-pointer-types -Wno-deprecated-declarations -Wno-sign-compare 
-fcolor-diagnostics -Wpedantic -Wshadow-field -Wunused 
-Wunused-command-line-argument -Wunused-exception-parameter 
-Wunused-volatile-lvalue -Wunused-template -Wunused-member-function 
-Wunused-macros -Wconversion -Wno-gnu-statement-expression 
-Wno-implicit-float-conversion -Wno-implicit-int-conversion 
-Wno-sign-conversion -Wno-shorten-64-to-32 -msse4.2 -mavx2 -gdwarf-aranges 
-std=gnu++20 -Winvalid-pch -Xclang -include-pch -Xclang /
 root/doris-source/be/build_Debug/CMakeFiles/pch.dir/cmake_pch.hxx.pch -Xclang 
-include -Xclang 
/root/doris-source/be/build_Debug/CMakeFiles/pch.dir/cmake_pch.hxx -MD -MT 
src/index-tools/CMakeFiles/index_tool.dir/index_tool.cpp.o -MF 
src/index-tools/CMakeFiles/index_tool.dir/index_tool.cpp.o.d -o 
src/index-tools/CMakeFiles/index_tool.dir/index_tool.cpp.o -c 
/root/doris-source/be/src/index-tools/index_tool.cpp
   /root/doris-source/be/src/index-tools/index_tool.cpp:173:38: error: too many 
arguments to function call, expected single argument 'query_info', have 2 
arguments
           conjunct_query.add(field_ws, terms);
           ~~~~~~~~~~~~~~~~~~           ^~~~~
   
/root/doris-source/be/src/olap/rowset/segment_v2/inverted_index/query/conjunction_query.h:33:10:
 note: 'add' declared here
       void add(const InvertedIndexQueryInfo& query_info) override;
            ^
   /root/doris-source/be/src/index-tools/index_tool.cpp:609:41: error: use of 
undeclared identifier 'StripSuffixString'; did you mean 
'google::protobuf::StripSuffixString'?
           std::string index_path_prefix = 
StripSuffixString(FLAGS_idx_file_path, ".idx");
                                           ^~~~~~~~~~~~~~~~~
                                           google::protobuf::StripSuffixString
   
/var/local/thirdparty/installed/include/google/protobuf/stubs/strutil.h:144:20: 
note: 'google::protobuf::StripSuffixString' declared here
   inline std::string StripSuffixString(const std::string& str,
                      ^
   /root/doris-source/be/src/index-tools/index_tool.cpp:655:41: error: use of 
undeclared identifier 'StripSuffixString'; did you mean 
'google::protobuf::StripSuffixString'?
           std::string index_path_prefix = 
StripSuffixString(FLAGS_idx_file_path, ".idx");
                                           ^~~~~~~~~~~~~~~~~
                                           google::protobuf::StripSuffixString
   
/var/local/thirdparty/installed/include/google/protobuf/stubs/strutil.h:144:20: 
note: 'google::protobuf::StripSuffixString' declared here
   inline std::string StripSuffixString(const std::string& str,
                      ^
   3 errors generated.
   [959/1439] Building CXX object 
src/olap/CMakeFiles/Olap.dir/tablet_reader.cpp.o
   ninja: build stopped: subcommand failed.
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to