SailNow opened a new issue, #30209: URL: https://github.com/apache/doris/issues/30209
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.0.2.1 ### What's Wrong? 源码编译,使用的windows wsl方式去做的,安装的oracle linux7.9 执行build.sh时出现如下异常: Python 2.7.5 Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /usr/local/apache-maven-3.6.3 Java version: 1.8.0_131, vendor: Oracle Corporation, runtime: /usr/java/jdk1.8.0_131/jre Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux", version: "5.10.16.3-microsoft-standard-wsl2", arch: "amd64", family: "unix" cmake version 3.22.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). 222 Thirdparty libraries need to be build ... Python 2.7.5 cmake version 3.22.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). Get params: PARALLEL -- 3 CLEAN -- PACKAGES -- CONTINUE -- ===== Downloading thirdparty archives... Archive libevent-release-2.1.12-stable.tar.gz already exist. Archive openssl-OpenSSL_1_1_1s.tar.gz already exist. Archive thrift-0.16.0.tar.gz already exist. Archive protobuf-3.15.0.tar.gz already exist. Archive gflags-2.2.2.tar.gz already exist. Archive glog-0.4.0.tar.gz already exist. Archive googletest-release-1.11.0.tar.gz already exist. Archive rapidjson-1a803826f1197b5e30703afe4b9c0e7dd48074f5.zip already exist. Archive snappy-1.1.8.tar.gz already exist. Archive gperftools-2.10.tar.gz already exist. Archive zlib-1.2.11.tar.gz already exist. Archive lz4-1.9.3.tar.gz already exist. Archive bzip2-1.0.8.tar.gz already exist. Archive lzo-2.10.tar.gz already exist. Archive curl-7.79.0.tar.gz already exist. Archive re2-2021-02-02.tar.gz already exist. Archive hyperscan-5.4.0.tar.gz already exist. Archive ragel-6.10.tar.gz already exist. Archive boost_1_81_0.tar.gz already exist. Archive mysql-5.7.18.tar.gz already exist. Archive unixODBC-2.3.7.tar.gz already exist. Archive leveldb-1.23.tar.gz already exist. Archive brpc-1.4.0.tar.gz already exist. Archive rocksdb-5.14.2.tar.gz already exist. Archive cyrus-sasl-2.1.27.tar.gz already exist. Archive librdkafka-1.8.2.tar.gz already exist. Archive flatbuffers-2.0.0.tar.gz already exist. Archive apache-arrow-7.0.0.tar.gz already exist. Archive brotli-1.0.9.tar.gz already exist. Archive zstd-1.5.2.tar.gz already exist. Archive abseil-cpp-20220623.1.tar.gz already exist. Archive s2geometry-0.10.0.tar.gz already exist. Archive bitshuffle-0.5.1.tar.gz already exist. Archive CRoaring-0.4.0.tar.gz already exist. Archive fmt-7.1.3.tar.gz already exist. Archive parallel-hashmap-1.3.8.tar.gz already exist. Archive orc-1.7.2.tar.gz already exist. Archive jemalloc-5.2.1.tar.bz2 already exist. Archive jemalloc-5.3.0.tar.bz2 already exist. Archive libunwind-1.6.2.tar.gz already exist. Archive cctz-2.3.tar.gz already exist. Archive DataTables.zip already exist. Archive bootstrap-table.min.js already exist. Archive bootstrap-table.min.css already exist. Archive tsan_interface_atomic.h already exist. Archive aws-sdk-cpp-1.9.272.tar.gz already exist. Archive liblzma-master.zip already exist. Archive libxml2-v2.9.10.tar.gz already exist. Archive libidn-1.38.tar.gz already exist. Archive libgsasl-1.8.0.tar.gz already exist. Archive krb5-1.19.tar.gz already exist. Archive doris-thirdparty-libhdfs3-v2.3.9.tar.gz already exist. Archive libdivide-5.0.tar.gz already exist. Archive pdqsort.h already exist. Archive v1.8.0.tar.gz already exist. Archive xsimd-aeec9c872c8b475dedd7781336710f2dd2666cb2.tar.gz already exist. Archive simdjson-3.0.1.tar.gz already exist. Archive json-3.10.1.tar.gz already exist. Archive opentelemetry-proto-0.19.0.tar.gz already exist. Archive opentelemetry-cpp-1.8.3.tar.gz already exist. Archive libbacktrace-2446c66076480ce07a6bd868badcbceb3eeecc2e.zip already exist. Archive sse2neon-1.6.0.tar.gz already exist. Archive xxHash-0.8.1.tar.gz already exist. Archive concurrentqueue-1.0.3.tar.gz already exist. Archive fast_float-3.9.0.tar.gz already exist. Archive hadoop-3.3.4.5-for-doris.tar.gz already exist. ===== Downloading thirdparty archives...done ===== Checking all thirdpart archives... ===== Checking all thirdpart archives...done ===== Unpacking all thirdparty archives... libevent-release-2.1.12-stable already unpacked. openssl-OpenSSL_1_1_1s already unpacked. thrift-0.16.0 already unpacked. protobuf-3.15.0 already unpacked. gflags-2.2.2 already unpacked. glog-0.4.0 already unpacked. googletest-release-1.11.0 already unpacked. rapidjson-1a803826f1197b5e30703afe4b9c0e7dd48074f5 already unpacked. snappy-1.1.8 already unpacked. gperftools-2.10 already unpacked. zlib-1.2.11 already unpacked. lz4-1.9.3 already unpacked. bzip2-1.0.8 already unpacked. lzo-2.10 already unpacked. curl-7.79.0 already unpacked. re2-2021-02-02 already unpacked. hyperscan-5.4.0 already unpacked. ragel-6.10 already unpacked. boost_1_81_0 already unpacked. mysql-server-mysql-5.7.18 already unpacked. unixODBC-2.3.7 already unpacked. leveldb-1.23 already unpacked. brpc-1.4.0 already unpacked. rocksdb-5.14.2 already unpacked. cyrus-sasl-2.1.27 already unpacked. librdkafka-1.8.2 already unpacked. flatbuffers-2.0.0 already unpacked. apache-arrow-7.0.0 already unpacked. brotli-1.0.9 already unpacked. zstd-1.5.2 already unpacked. abseil-cpp-20220623.1 already unpacked. s2geometry-0.10.0 already unpacked. bitshuffle-0.5.1 already unpacked. CRoaring-0.4.0 already unpacked. fmt-7.1.3 already unpacked. parallel-hashmap-1.3.8 already unpacked. orc-1.7.2 already unpacked. jemalloc-5.2.1 already unpacked. jemalloc-5.3.0 already unpacked. libunwind-1.6.2 already unpacked. cctz-2.3 already unpacked. DataTables-1.12.1 already unpacked. aws-sdk-cpp-1.9.272 already unpacked. liblzma-master already unpacked. libxml2-v2.9.10 already unpacked. libidn-1.38 already unpacked. libgsasl-1.8.0 already unpacked. krb5-1.19 already unpacked. doris-thirdparty-libhdfs3-v2.3.9 already unpacked. libdivide-5.0 already unpacked. benchmark-1.8.0 already unpacked. xsimd-aeec9c872c8b475dedd7781336710f2dd2666cb2 already unpacked. simdjson-3.0.1 already unpacked. json-3.10.1 already unpacked. opentelemetry-proto-0.19.0 already unpacked. opentelemetry-cpp-1.8.3 already unpacked. libbacktrace-2446c66076480ce07a6bd868badcbceb3eeecc2e already unpacked. sse2neon-1.6.0 already unpacked. xxHash-0.8.1 already unpacked. concurrentqueue-1.0.3 already unpacked. fast_float-3.9.0 already unpacked. doris-thirdparty-hadoop-3.3.4.5-for-doris already unpacked. ===== Unpacking all thirdparty archives...done ===== Patching thirdparty archives... /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching abseil-cpp-20220623.1 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching glog-0.4.0 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching googletest-release-1.11.0 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching mysql-server-mysql-5.7.18 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching libevent-release-2.1.12-stable /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching libgsasl-1.8.0 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching cyrus-sasl-2.1.27 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching unixODBC-2.3.7 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching rocksdb-5.14.2 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching opentelemetry-cpp-1.8.3 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching apache-arrow-7.0.0 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching librdkafka-1.8.2 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching jemalloc-5.3.0 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching hyperscan-5.4.0 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching aws-sdk-cpp-1.9.272 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching simdjson-3.0.1 /opt/apache-doris-2.0.2.1-src/thirdparty Finished patching brpc-1.4.0 /opt/apache-doris-2.0.2.1-src/thirdparty/installed /opt/apache-doris-2.0.2.1-src/thirdparty /opt/apache-doris-2.0.2.1-src/thirdparty PKG_CONFIG_PATH: /opt/apache-doris-2.0.2.1-src/thirdparty/installed/lib64/pkgconfig CMAKE_PREFIX_PATH: /opt/apache-doris-2.0.2.1-src/thirdparty/installed cmake version 3.22.1 CMake suite maintained and supported by Kitware (kitware.com/cmake). cmake is found byacc - 1.9 20130304 byacc is found flex 2.6.0 flex is found automake (GNU automake) 1.13.4 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tro...@redhat.com> and Alexandre Duret-Lutz <a...@gnu.org>. automake is found libtoolize (GNU libtool) 2.4.2 Written by Gary V. Vaughan <g...@gnu.org>, 2003 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. libtool is found Strip thirdparty libraries ===== begin build unixODBC-2.3.7 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) gawk checking for bison... bison -y checking for style of include used by make... GNU checking for gcc... ./../bin/clang checking whether the C compiler works... no configure: error: in `/opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7': configure: error: C compiler cannot create executables See `config.log' for more details ============================================= 查看其中unixODBC-2.3.7中config.log,内容如下: ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CC_set=set ac_cv_env_CC_value=./../bin/clang ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-I/opt/apache-doris-2.0.2.1-src/thirdparty/installed/include -Wno-int-conversion -Wno-implicit-function-declaration' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-L/opt/apache-doris-2.0.2.1-src/thirdparty/installed/lib ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_YACC='bison -y' ac_cv_prog_ac_ct_CC=./../bin/clang ac_cv_prog_make_make_set=yes am_cv_make_support_nested_variables=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7/missing aclocal-1.15' ALLOCA='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='' AS='' AUTOCONF='${SHELL} /opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7/missing autoconf' AUTOHEADER='${SHELL} /opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7/missing autoheader' AUTOMAKE='${SHELL} /opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7/missing automake-1.15' AWK='gawk' BIN_PREFIX='' CC='./../bin/clang' CCDEPMODE='' CFLAGS='-I/opt/apache-doris-2.0.2.1-src/thirdparty/installed/include -Wno-int-conversion -Wno-implicit-function-declaration' CONVENIENCE_LTDL_FALSE='' CONVENIENCE_LTDL_TRUE='' CPP='' CPPFLAGS='' CYGPATH_W='echo' DEFLIB_PATH='' DEFS='' DEPDIR='.deps' DLLTOOL='' DRIVERC_FALSE='' DRIVERC_TRUE='' DRIVERS_FALSE='' DRIVERS_TRUE='' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEC_PREFIX='' EXEEXT='' FGREP='' GREP='' HAVE_FLEX_FALSE='' HAVE_FLEX_TRUE='' ICONV_CHAR_ENCODING='' ICONV_UNICODE_ENCODING='' INCLTDL='' INCLUDE_PREFIX='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_LTDL_FALSE='' INSTALL_LTDL_TRUE='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='' LDFLAGS='-L/opt/apache-doris-2.0.2.1-src/thirdparty/installed/lib' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LFLAGS='' LIBADD_CRYPT='' LIBADD_DL='' LIBADD_DLD_LINK='' LIBADD_DLOPEN='' LIBADD_POW='' LIBADD_SHL_LOAD='' LIBICONV='' LIBLTDL='' LIBOBJS='' LIBS='' LIBTOOL='' LIB_PREFIX='' LIB_VERSION='' LIPO='' LN_S='' LTDLDEPS='' LTDLINCL='' LTDLOPEN='' LTLIBOBJS='' LT_ARGZ_H='' LT_CONFIG_H='' LT_DLLOADERS='' LT_DLPREOPEN='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7/missing makeinfo' MANIFEST_TOOL='' MKDIR_P='/usr/bin/mkdir -p' MSQL_FALSE='' MSQL_TRUE='' NM='' NMEDIT='' OBJDUMP='' OBJEXT='' OTOOL64='' OTOOL='' PACKAGE='unixODBC' PACKAGE_BUGREPORT='n...@unixodbc.org' PACKAGE_NAME='unixODBC' PACKAGE_STRING='unixODBC 2.3.7' PACKAGE_TARNAME='unixODBC' PACKAGE_URL='' PACKAGE_VERSION='2.3.7' PATH_SEPARATOR=':' PREFIX='' PTH_CFLAGS='' PTH_CPPFLAGS='' PTH_LDFLAGS='' PTH_LIBS='' QNX_FALSE='' QNX_TRUE='' RANLIB='' READLINE='' SED='' SET_MAKE='' SHELL='/bin/sh' SHLIBEXT='' STATS_FTOK_NAME='' STRIP='' SYSTEM_FILE_PATH='' SYSTEM_LIB_PATH='' VERSION='2.3.7' WITHLT_FALSE='' WITHLT_TRUE='' YACC='bison -y' YFLAGS='' ac_ct_AR='' ac_ct_CC='./../bin/clang' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='' build_alias='' build_cpu='' build_os='' build_vendor='' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='' host_alias='' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /opt/apache-doris-2.0.2.1-src/thirdparty/src/unixODBC-2.3.7/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' ltdl_LIBOBJS='' ltdl_LTLIBOBJS='' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' msql_headers='' msql_libraries='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/opt/apache-doris-2.0.2.1-src/thirdparty/installed' program_transform_name='s,x,x,' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sys_symbol_underscore='' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "unixODBC" #define PACKAGE_TARNAME "unixODBC" #define PACKAGE_VERSION "2.3.7" #define PACKAGE_STRING "unixODBC 2.3.7" #define PACKAGE_BUGREPORT "n...@unixodbc.org" #define PACKAGE_URL "" #define PACKAGE "unixODBC" #define VERSION "2.3.7" configure: exit 77 ### What You Expected? 执行build.sh无异常 ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org