mxq-151 opened a new issue, #24825: URL: https://github.com/apache/doris/issues/24825
### 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 doris:2.0.2 ### What's Wrong? Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: /opt/homebrew/Cellar/maven/3.9.4/libexec Java version: 20.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/20.0.2/libexec/openjdk.jdk/Contents/Home Default locale: zh_CN_#Hans, platform encoding: UTF-8 OS name: "mac os x", version: "13.4.1", arch: "aarch64", family: "mac" cmake version 3.27.6 CMake suite maintained and supported by Kitware (kitware.com/cmake). ninja 1.11.1 ccache version 4.8.3 Update apache-orc submodule ... Update clucene submodule ... -e WARNNING: Skip building with BE Java extensions due to the environment variable JAVA_HOME is not set. Get params: BUILD_FE -- 1 BUILD_BE -- 1 BUILD_BROKER -- 1 BUILD_AUDIT -- 1 BUILD_META_TOOL -- OFF BUILD_INDEX_TOOL -- OFF BUILD_SPARK_DPP -- 1 BUILD_BE_JAVA_EXTENSIONS -- 0 BUILD_HIVE_UDF -- 1 PARALLEL -- 3 CLEAN -- 0 WITH_MYSQL -- OFF WITH_LZO -- OFF GLIBC_COMPATIBILITY -- OFF USE_AVX2 -- ON USE_LIBCPP -- ON USE_DWARF -- OFF USE_UNWIND -- OFF STRIP_DEBUG_INFO -- OFF USE_MEM_TRACKER -- OFF USE_JEMALLOC -- ON USE_BTHREAD_SCANNER -- OFF ENABLE_STACKTRACE -- ON DENABLE_CLANG_COVERAGE -- OFF DISPLAY_BUILD_TIME -- OFF ENABLE_PCH -- ON Python 3.11.5 Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9) Maven home: /opt/homebrew/Cellar/maven/3.9.4/libexec Java version: 20.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/20.0.2/libexec/openjdk.jdk/Contents/Home Default locale: zh_CN_#Hans, platform encoding: UTF-8 OS name: "mac os x", version: "13.4.1", arch: "aarch64", family: "mac" cmake version 3.27.6 CMake suite maintained and supported by Kitware (kitware.com/cmake). ninja 1.11.1 ccache version 4.8.3 Build generated code /Applications/Xcode.app/Contents/Developer/usr/bin/make -C script /Users/mxq/Desktop/work_dir/project/doris/gensrc/script/gen_build_version.sh get java cmd: /usr/bin/java get java version: openjdk full version \"11.0.13+8-LTS\" /Applications/Xcode.app/Contents/Developer/usr/bin/make -C proto make[1]: Nothing to be done for `all'. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C thrift /Users/mxq/Desktop/work_dir/project/doris/thirdparty/installed/bin/thrift -I /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift -I /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift/../build//thrift/ --gen cpp -out /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift/../build//gen_cpp --allow-64bit-consts -strict /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift/AgentService.thrift /Users/mxq/Desktop/work_dir/project/doris/thirdparty/installed/bin/thrift -I /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift -I /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift/../build//thrift/ --gen java:fullcamel -out /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift/../build//gen_java --allow-64bit-consts -strict /Users/mxq/Desktop/work_dir/project/doris/gensrc/thrift/AgentService.thrift Done Build Backend: Release -- Make program: /opt/homebrew/opt/ninja/bin/ninja -- Use ccache: -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -- Extra cxx flags: -- Build fs benchmark tool: OFF -- The CXX compiler identification is Clang 16.0.6 -- The C compiler identification is Clang 16.0.6 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /opt/homebrew/opt/llvm@16/bin/clang++ -- Check for working CXX compiler: /opt/homebrew/opt/llvm@16/bin/clang++ - broken CMake Error at /opt/homebrew/Cellar/cmake/3.27.6/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60 (message): The C++ compiler "/opt/homebrew/opt/llvm@16/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: '/Users/mxq/Desktop/work_dir/project/doris/be/build_Release/CMakeFiles/CMakeScratch/TryCompile-o1c4l8' Run Build Command(s): /opt/homebrew/opt/ninja/bin/ninja -v cmTC_edda7 [1/2] /opt/homebrew/opt/llvm@16/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -MD -MT CMakeFiles/cmTC_edda7.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_edda7.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_edda7.dir/testCXXCompiler.cxx.o -c /Users/mxq/Desktop/work_dir/project/doris/be/build_Release/CMakeFiles/CMakeScratch/TryCompile-o1c4l8/testCXXCompiler.cxx [2/2] : && /opt/homebrew/opt/llvm@16/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_edda7.dir/testCXXCompiler.cxx.o -o cmTC_edda7 && : FAILED: cmTC_edda7 : && /opt/homebrew/opt/llvm@16/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_edda7.dir/testCXXCompiler.cxx.o -o cmTC_edda7 && : ld: library not found for -lc++ clang-16: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:20 (project) -- Configuring incomplete, errors occurred! ### What You Expected? i follow the step as :https://doris.apache.org/zh-CN/docs/dev/install/source-install/compilation-mac xcode version is 14.3.1, and i been reinstall it before,is xcode does not config right? ### 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: [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]
