sh build.sh
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 2.7.18
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /home/apache-maven-3.9.5
Java version: 1.8.0_391, vendor: Oracle Corporation, runtime: /usr/lib/jvm/jdk-1.8-oracle-aarch64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: “linux”, version: “4.19.90-52.15.v2207.ky10.aarch64”, arch: “aarch64”, family: “unix”
Get params:
BUILD_BE – 1
BE_CMAKE_TYPE – Release
BUILD_FE – 1
BUILD_SPARK_DPP – 1
CLEAN – 0
RUN_UT – 0
WITH_GCOV – OFF
WITH_BENCH – OFF
USE_STAROS – OFF
USE_AVX2 – OFF
USE_AVX512 – OFF
PARALLEL – 25
ENABLE_QUERY_DEBUG_TRACE – OFF
WITH_CACHELIB – OFF
USE_JEMALLOC – ON
Build generated code
make -C script
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/gensrc/script’
python /home/source/starrocks-3.1.3/gensrc/script/…/…/build-support/gen_build_version.py --cpp /home/source/starrocks-3.1.3/gensrc/script/…/build//gen_cpp --java /home/source/starrocks-3.1.3/gensrc/script/…/…/fe/fe-core/target/generated-sources/build
gen_build_version.py /home/source/starrocks-3.1.3/gensrc/script/…/build//gen_cpp/version.cpp: old fingerprint = 0fc4204963f4c3ce224d63d19ddb7bca, new fingerprint = 0fc4204963f4c3ce224d63d19ddb7bca
gen_build_version.py /home/source/starrocks-3.1.3/gensrc/script/…/…/fe/fe-core/target/generated-sources/build/com/starrocks/common/Version.java: old fingerprint = 7b1e361180a443fd2a5d208bf8068278, new fingerprint = 7b1e361180a443fd2a5d208bf8068278
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc/script’
make -C proto
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/gensrc/proto’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc/proto’
make -C thrift
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/gensrc/thrift’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc/thrift’
cmake version 3.16.5
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Build Backend: Release
– Build type is RELEASE
– Build target arch is aarch64
– make test: OFF
– defined PIC_LIB_PATH
– build gensrc if necessary
make: Entering directory ‘/home/source/starrocks-3.1.3/gensrc’
make -C script
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/gensrc/script’
python /home/source/starrocks-3.1.3/gensrc/script/…/…/build-support/gen_build_version.py --cpp /home/source/starrocks-3.1.3/gensrc/script/…/build//gen_cpp --java /home/source/starrocks-3.1.3/gensrc/script/…/…/fe/fe-core/target/generated-sources/build
gen_build_version.py /home/source/starrocks-3.1.3/gensrc/script/…/build//gen_cpp/version.cpp: old fingerprint = 0fc4204963f4c3ce224d63d19ddb7bca, new fingerprint = 0fc4204963f4c3ce224d63d19ddb7bca
gen_build_version.py /home/source/starrocks-3.1.3/gensrc/script/…/…/fe/fe-core/target/generated-sources/build/com/starrocks/common/Version.java: old fingerprint = 7b1e361180a443fd2a5d208bf8068278, new fingerprint = 7b1e361180a443fd2a5d208bf8068278
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc/script’
make -C proto
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/gensrc/proto’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc/proto’
make -C thrift
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/gensrc/thrift’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc/thrift’
make: Leaving directory ‘/home/source/starrocks-3.1.3/gensrc’
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1161 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake/Modules/FindBoost.cmake:1921 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:162 (find_package)
– /home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_thread.a-pthread/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_regex.a/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_program_options.a/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_filesystem.a/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_context.a/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_chrono.a/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_date_time.a/home/source/starrocks-3.1.3/thirdparty/installed/lib/libboost_atomic.a
– Using OpenSSL Root Dir: /home/source/starrocks-3.1.3/thirdparty/installed/
– Found AWS SDK for C++, Version: 1.10.36, Install Root:/home/source/starrocks-3.1.3/thirdparty/installed, Platform Prefix:, Platform Dependent Libraries: pthread;crypto;ssl;z;curl
– Components specified for AWSSDK: core;s3;s3-crt;transfer;identity-management;sts, application will be depending on libs: aws-cpp-sdk-s3-crt;aws-cpp-sdk-transfer;aws-cpp-sdk-identity-management;aws-cpp-sdk-cognito-identity;aws-cpp-sdk-sts;aws-cpp-sdk-s3;aws-cpp-sdk-core;aws-crt-cpp;aws-c-auth;aws-c-cal;aws-c-common;aws-c-compression;aws-c-event-stream;aws-c-http;aws-c-io;aws-c-mqtt;aws-c-s3;aws-checksums;aws-c-sdkutils;pthread;crypto;ssl;z;curl
– Try finding aws-cpp-sdk-core
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– S2N found target: crypto
– crypto Include Dir: crypto_INCLUDE_DIR-NOTFOUND
– Found aws-cpp-sdk-core
– Try finding aws-cpp-sdk-s3
– Found aws-cpp-sdk-s3
– Try finding aws-cpp-sdk-sts
– Found aws-cpp-sdk-sts
– Try finding aws-cpp-sdk-cognito-identity
– Found aws-cpp-sdk-cognito-identity
– Try finding aws-cpp-sdk-identity-management
– Found aws-cpp-sdk-identity-management
– Try finding aws-cpp-sdk-transfer
– Found aws-cpp-sdk-transfer
– Try finding aws-cpp-sdk-s3-crt
– Found aws-cpp-sdk-s3-crt
– Compiler Flags: -Wall -Wno-sign-compare -Wno-unknown-pragmas -pthread -Wno-register -Wno-strict-aliasing -fno-omit-frame-pointer -std=gnu++17 -D__STDC_FORMAT_MACROS -Wno-deprecated -Wno-vla -Wno-comment -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -Werror=return-type -Werror=switch -march=armv8-a+crc -Wno-attributes -DS2_USE_GFLAGS -DS2_USE_GLOG -faligned-new -Werror -g -Wno-unused-local-typedefs -O3 -gdwarf-4 -DNDEBUG
use jemalloc
++++ <STARROCKS_HOME> is set. formats/orc/apache-orc is compiled in StarRocks env ++++
– Build type: RELEASE
– compiler GNU version 10.3.0
– SNAPPY_HOME: /home/source/starrocks-3.1.3/thirdparty/installed
– Found the Snappy header: /home/source/starrocks-3.1.3/thirdparty/installed/include/snappy.h
– Found the Snappy library: /home/source/starrocks-3.1.3/thirdparty/installed/lib64/libsnappy.a
– ZLIB_HOME: /home/source/starrocks-3.1.3/thirdparty/installed
– Found the ZLIB header: /home/source/starrocks-3.1.3/thirdparty/installed/include/zlib.h
– Found the ZLIB library: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libz.a
– Found the ZLIB static library: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libz.a
– ZSTD_HOME: /home/source/starrocks-3.1.3/thirdparty/installed
– Found the zstd header: /home/source/starrocks-3.1.3/thirdparty/installed/include/zstd/zstd.h
– Found the zstd library: /home/source/starrocks-3.1.3/thirdparty/installed/lib
– Found the zstd static library: /home/source/starrocks-3.1.3/thirdparty/installed/lib64/libzstd.a
– LZ4_HOME: /home/source/starrocks-3.1.3/thirdparty/installed
– Found the LZ4 header: /home/source/starrocks-3.1.3/thirdparty/installed/include/lz4/lz4.h
– Found the LZ4 library: /home/source/starrocks-3.1.3/thirdparty/installed/lib
– PROTOBUF_HOME: /home/source/starrocks-3.1.3/thirdparty/installed
– Found the Protobuf headers: /home/source/starrocks-3.1.3/thirdparty/installed/include
– Found the Protobuf library: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libprotobuf.a
– Found the Protoc library: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libprotoc.a
– Found the Protoc executable: /home/source/starrocks-3.1.3/thirdparty/installed/bin/protoc
– Found the Protobuf static library: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libprotobuf.a
– Found the Protoc static library: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libprotoc.a
– Configuring done
– Generating done
– Build files have been written to: /home/source/starrocks-3.1.3/be/build_Release
make[1]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 1%] Built target build_version
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 2%] Built target Geo
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 5%] Built target orc
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 5%] Built target BlockCache
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 6%] Built target TestUtil
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 6%] Built target Script
[ 6%] Built target Serde
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 7%] Built target IO
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 8%] Built target Types
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 11%] Built target Gutil
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 11%] Built target Tools
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 12%] Built target Rowset
[ 12%] Built target ServiceCN
[ 13%] Built target Common
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 14%] Built target Udf
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 15%] Built target Service
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 16%] Built target FileSystem
[ 17%] Built target Agent
[ 18%] Built target ServiceBE
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 19%] Built target Connector
[ 21%] Built target Column
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 28%] Built target StarRocksGen
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 31%] Built target Webserver
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 38%] Built target Util
[ 42%] Built target Formats
[ 50%] Built target Exprs
[ 57%] Built target Runtime
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 74%] Built target Storage
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[ 99%] Built target Exec
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[2]: Entering directory ‘/home/source/starrocks-3.1.3/be/build_Release’
[100%] Linking CXX executable …/…/…/output/lib/starrocks_be
/usr/bin/ld: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libcurl.a(libcurl_la-psl.o): in function Curl_psl_destroy': /home/source/starrocks-3.1.3/thirdparty/src/curl-7.79.0/lib/psl.c:41: undefined reference to
psl_free’
/usr/bin/ld: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libcurl.a(libcurl_la-psl.o): in function Curl_psl_use': /home/source/starrocks-3.1.3/thirdparty/src/curl-7.79.0/lib/psl.c:79: undefined reference to
psl_latest’
/usr/bin/ld: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libcurl.a(libcurl_la-psl.o): in function Curl_psl_destroy': /home/source/starrocks-3.1.3/thirdparty/src/curl-7.79.0/lib/psl.c:41: undefined reference to
psl_free’
/usr/bin/ld: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libcurl.a(libcurl_la-psl.o): in function Curl_psl_use': /home/source/starrocks-3.1.3/thirdparty/src/curl-7.79.0/lib/psl.c:88: undefined reference to
psl_builtin’
/usr/bin/ld: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libcurl.a(libcurl_la-version.o): in function curl_version': /home/source/starrocks-3.1.3/thirdparty/src/curl-7.79.0/lib/version.c:206: undefined reference to
psl_get_version’
/usr/bin/ld: /home/source/starrocks-3.1.3/thirdparty/installed/lib/libcurl.a(libcurl_la-cookie.o): in function Curl_cookie_add': /home/source/starrocks-3.1.3/thirdparty/src/curl-7.79.0/lib/cookie.c:1000: undefined reference to
psl_is_cookie_domain_acceptable’
collect2: error: ld returned 1 exit status
make[2]: *** [src/service/CMakeFiles/starrocks_be.dir/build.make:195: …/output/lib/starrocks_be] Error 1
make[2]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make[1]: *** [CMakeFiles/Makefile2:1260: src/service/CMakeFiles/starrocks_be.dir/all] Error 2
make[1]: Leaving directory ‘/home/source/starrocks-3.1.3/be/build_Release’
make: *** [Makefile:152: all] Error 2
real 1m52.161s
user 1m49.554s
sys 0m9.882s
全部的编译信息