CrazyBeeline commented on issue #58039:
URL: https://github.com/apache/doris/issues/58039#issuecomment-3667598036
@yiguolei
build.sh --cloud error
FAILED: src/common/CMakeFiles/Common.dir/bvars.cpp.o
/bigtop/bigdata_build/ldb_toolchain/bin/g++ -DENABLE_HDFS_STORAGE_VAULT
-DFDB_API_VERSION=710 -DGLOG_CUSTOM_PREFIX_SUPPORT -DHAVE_INTTYPES_H
-DHAVE_NETINET_IN_H -DUSE_AZURE -DUSE_HADOOP_HDFS
-I/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src
-I/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/test
-I/usr/java/jdk-17/include -I/usr/java/jdk-17/include/linux -isystem
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/../gensrc/build
-isystem /bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/../common
-isystem
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/thirdparty/installed/include
-isystem
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/thirdparty/installed/gperftools/include
-Wall -Wno-sign-compare -pthread -Werror -fstrict-aliasing
-fno-omit-frame-pointer -std=gnu++20 -D__STDC_FORMAT_MACROS
-DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED
-DBRPC_ENABLE_CPU_PROFILER -Wno-array-bounds -Wno-stringop-overread -D
USE_JEMALLOC -faligned-new -ggdb -Wno-unused-local-typedefs -O0 -g -D
OS_LINUX -Wno-stringop-overflow -fdiagnostics-color=always -MD -MT
src/common/CMakeFiles/Common.dir/bvars.cpp.o -MF
src/common/CMakeFiles/Common.dir/bvars.cpp.o.d -o
src/common/CMakeFiles/Common.dir/bvars.cpp.o -c
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src/common/bvars.cpp
In file included from
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src/common/bvars.cpp:18:
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src/common/bvars.h:174:15:
error: explicit specialization in non-namespace scope 'class
mBvarWrapper<BvarType>'
174 | template <>
| ^
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src/common/bvars.h:175:12:
error: too few template-parameter-lists
175 | struct is_valid_bvar_type<bvar::IntRecorder> : std::true_type {};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src/common/bvars.h:180:15:
error: explicit specialization in non-namespace scope 'class
mBvarWrapper<BvarType>'
180 | template <>
| ^
/bigtop/build/doris/rpm/BUILD/apache-doris-3.1.3-src/cloud/src/common/bvars.h:181:12:
error: too few template-parameter-lists
181 | struct is_valid_bvar_type<bvar::LatencyRecorder> :
std::true_type {};
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
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]