Skip to content

Instantly share code, notes, and snippets.

@frozenspider
Created March 3, 2021 20:52
Show Gist options
  • Save frozenspider/ce617e1d652ca45b74e101610c4a1d4f to your computer and use it in GitHub Desktop.
Save frozenspider/ce617e1d652ca45b74e101610c4a1d4f to your computer and use it in GitHub Desktop.
(take 2) ./yb_build.sh --clang11 --clean --dltp
20:50 ~/code/yugabyte [arcpatch-D10786] $ ./yb_build.sh --clang11 --clean --dltp
[2021-03-03T20:50:15 common-build-env.sh:503 set_cmake_build_type_and_compiler_type] Setting build type to 'debug' by default
[2021-03-03T20:50:15 yb_build.sh:1068 main] YugabyteDB build is running on host 'dev-server-alex'
[2021-03-03T20:50:15 yb_build.sh:1069 main] YB_COMPILER_TYPE=clang11
[2021-03-03T20:50:15 common-build-env.sh:2277 set_prebuilt_thirdparty_url] Setting third-party URL to https://github.com/yugabyte/yugabyte-db-thirdparty/releases/download/v20210210192530-45c97f45f1-centos7-clang11/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11.tar.gz
[2021-03-03T20:50:15 common-build-env.sh:1813 find_or_download_thirdparty] Using downloaded third-party directory: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11
Details of third-party dependencies:
YB_THIRDPARTY_DIR: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11 (downloaded from https://github.com/yugabyte/yugabyte-db-thirdparty/releases/download/v20210210192530-45c97f45f1-centos7-clang11/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11.tar.gz)
YB_LLVM_TOOLCHAIN_DIR: /opt/yb-build/llvm/yb-llvm-v11.0.0-1607398732 (downloaded from https://github.com/yugabyte/build-clang/releases/download/v11.0.0-1607398732/yb-llvm-v11.0.0-1607398732.tar.gz)
YB_THIRDPARTY_URL: https://github.com/yugabyte/yugabyte-db-thirdparty/releases/download/v20210210192530-45c97f45f1-centos7-clang11/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11.tar.gz
YB_DOWNLOAD_THIRDPARTY: 1
NO_REBUILD_THIRDPARTY: 1
[2021-03-03T20:50:15 yb_build.sh:1261 main] Removing '/home/centos/code/yugabyte/build/debug-clang11-dynamic' (--clean specified)
+ rm -rf /home/centos/code/yugabyte/build/debug-clang11-dynamic
[2021-03-03T20:50:16 yb_build.sh:1287 main] This build is NOT using Ninja. Consider specifying --ninja or setting YB_USE_NINJA=1.
[2021-03-03T20:50:16 yb_build.sh:1309 main] Using make parallelism of 16 (YB_REMOTE_COMPILATION=0)
Saving BUILD_ROOT to /home/centos/code/yugabyte/build/latest_build_root
[2021-03-03T20:50:16 yb_build.sh:363 run_cxx_build] Using cmake binary: /usr/local/bin/cmake
[2021-03-03T20:50:16 yb_build.sh:364 run_cxx_build] Running cmake in /home/centos/code/yugabyte/build/debug-clang11-dynamic
+ export YB_REMOTE_COMPILATION=0
+ YB_REMOTE_COMPILATION=0
+ cmake -DCMAKE_BUILD_TYPE=debug -DCMAKE_C_COMPILER=/home/centos/code/yugabyte/build-support/compiler-wrappers/cc -DCMAKE_CXX_COMPILER=/home/centos/code/yugabyte/build-support/compiler-wrappers/c++ -DCMAKE_MAKE_PROGRAM=make /home/centos/code/yugabyte
-- The C compiler identification is Clang 11.0.0
-- The CXX compiler identification is Clang 11.0.0
-- Check for working C compiler: /home/centos/code/yugabyte/build-support/compiler-wrappers/cc
-- Check for working C compiler: /home/centos/code/yugabyte/build-support/compiler-wrappers/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /home/centos/code/yugabyte/build-support/compiler-wrappers/c++
-- Check for working CXX compiler: /home/centos/code/yugabyte/build-support/compiler-wrappers/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SYSTEM_INFO_FILE: Platform/Linux
-- CMAKE_SYSTEM_NAME: Linux
-- CMAKE_SYSTEM_PROCESSOR: x86_64
-- CMAKE_SYSTEM: Linux-3.10.0-957.21.3.el7.x86_64
YB_BUILD_TYPE: debug
CMAKE_MAKE_PROGRAM: make
YB_SRC_ROOT: /home/centos/code/yugabyte
YB_THIRDPARTY_DIR: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11
YB_BUILD_ROOT: /home/centos/code/yugabyte/build/debug-clang11-dynamic
Detected the number of logical CPUs: 16
Using shared library suffix '.so'.
CMAKE_C_COMPILER=/home/centos/code/yugabyte/build-support/compiler-wrappers/cc
CMAKE_CXX_COMPILER=/home/centos/code/yugabyte/build-support/compiler-wrappers/c++
LATEST SYMLINK PATH: /home/centos/code/yugabyte/build/latest
Decided that we should not rebuild third-party dependencies. Criteria: NO_REBUILD_THIRDPARTY env var: '1', YB_NO_REBUILD_THIRDPARTY CMake var: '', YB_THIRDPARTY_DIR: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11.
YB_COMPILER_TYPE env var: clang11
Including the CompilerInfo module before determining the third-party instrumentation type to use. Criteria: REBUILD_THIRDPARTY=FALSE, YB_COMPILER_TYPE=clang11.
YB_COMPILER_TYPE env var: clang11
CMAKE_CXX_COMPILER=/home/centos/code/yugabyte/build-support/compiler-wrappers/c++
Compiler version information:
clang version 11.0.0 (/opt/yb-build/llvm/yb-llvm-v11.0.0-1607398732-build/src/llvm-project/clang 176249bd6732a8044d457092ed932768724a6f06)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/yb-build/llvm/yb-llvm-v11.0.0-1607398732/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.2
Found candidate GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Selected GCC installation: /usr/lib/gcc/x86_64-redhat-linux/4.8.5
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
Selected compiler family 'clang', version '11.0.0'
THIRDPARTY_INSTRUMENTATION_TYPE=uninstrumented
Skipping the third-party build (reasons logged earlier).
Using COMPILER_FAMILY=clang
YB_ENABLE_STATIC_ANALYZER is not set to 1, not enabling Clang static analyzer
Specifying linker flags to not allow any undefined symbols
Configured for DEBUG build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
Running without a controlling terminal or in a dumb terminal
YB_SETUP_CLANG: THIRDPARTY_BUILD_TYPE=uninstrumented
Adding a global rpath entry: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/libcxx/lib
Adding a global rpath entry: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib
Adding a global rpath entry: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib
-- Found OpenSSL: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libcrypto.so (found version "1.0.2u")
Added shared library dependency openssl: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libcrypto.so
OPENSSL_CRYPTO_LIBRARY=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libcrypto.so
OPENSSL_SSL_LIBRARY=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libssl.so
OPENSSL_FOUND=TRUE
OPENSSL_INCLUDE_DIR=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/include
OPENSSL_LIBRARIES=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libssl.so;/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libcrypto.so
OPENSSL_VERSION=1.0.2u
-- Found GLOG: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libglog.so
Added shared library dependency glog: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libglog.so
-- Found CDS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcds.so
Added shared library dependency cds: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcds.so
-- Found UNWIND: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libunwind.so
Added shared library dependency unwind: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libunwind.so
-- Found LIBUUID: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libuuid.so
Added shared library dependency libuuid: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libuuid.so
-- Found GFLAGS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libgflags.so
Added shared library dependency gflags: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libgflags.so
-- Found GMOCK: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libgmock.so
Added shared library dependency gmock: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libgmock.so
-- Found PROTOBUF: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libprotobuf.so
Added shared library dependency protobuf: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libprotobuf.so
Added static library dependency protoc: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libprotoc.a
-- Found SNAPPY: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libsnappy.so
Added shared library dependency snappy: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libsnappy.so
-- Found LIBEV: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libev.so
Added shared library dependency libev: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libev.so
-- Found LIBBACKTRACE: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libbacktrace.so
Added shared library dependency libbacktrace: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libbacktrace.so
-- Found LZ4: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/liblz4.a
Added static library dependency lz4: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/liblz4.a
-- Found ZLIB: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libz.so
Added shared library dependency zlib: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libz.so
-- Found SQUEASEL: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libsqueasel.a
Added static library dependency squeasel: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libsqueasel.a
-- Found HIREDIS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libhiredis.a
Added static library dependency hiredis: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libhiredis.a
Using tcmalloc due to build type debug
Using tcmalloc
-- Found GOOGLE_PERFTOOLS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libtcmalloc.so
Added shared library dependency tcmalloc: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libtcmalloc.so
Added shared library dependency profiler: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libprofiler.so
-- Found CURL: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libcurl.so (found version "7.70.0")
Added static library dependency curl: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib/libcurl.so
-- Found CRCUTIL: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcrcutil.so
Added shared library dependency crcutil: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcrcutil.so
-- Found CRYPT_BLOWFISH: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcrypt_blowfish.a
Added static library dependency crypt_blowfish: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcrypt_blowfish.a
Added shared library dependency rt: /usr/lib64/librt.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.69.0
-- Found the following Boost libraries:
-- system
-- thread
Results of finding Boost static libraries:
Boost_FOUND: 1
Boost_INCLUDE_DIRS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/include
Boost_LIBRARY_DIRS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib
Boost_LIBRARIES: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_system.a;/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_thread.a
Boost_SYSTEM_FOUND: ON
Boost_SYSTEM_LIBRARY: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_system.a
Boost_THREAD_FOUND: ON
Boost_THREAD_LIBRARY: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_thread.a
Boost_VERSION: 106900
Boost_LIB_VERSION: 1_69
Boost_MAJOR_VERSION: 1
Boost_MINOR_VERSION: 69
Boost_SUBMINOR_VERSION: 0
Boost_LIB_DIAGNOSTIC_DEFINITIONS:
-- Boost version: 1.69.0
-- Found the following Boost libraries:
-- system
-- thread
Results of finding Boost shared libraries:
Boost_FOUND: 1
Boost_INCLUDE_DIRS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/include
Boost_LIBRARY_DIRS: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib
Boost_LIBRARIES: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_system.so;/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_thread.so
Boost_SYSTEM_FOUND: ON
Boost_SYSTEM_LIBRARY: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_system.so
Boost_THREAD_FOUND: ON
Boost_THREAD_LIBRARY: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_thread.so
Boost_VERSION: 106900
Boost_LIB_VERSION: 1_69
Boost_MAJOR_VERSION: 1
Boost_MINOR_VERSION: 69
Boost_SUBMINOR_VERSION: 0
Boost_LIB_DIAGNOSTIC_DEFINITIONS:
Added shared library dependency boost_system: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_system.so
Added shared library dependency boost_thread: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libboost_thread.so
-- Found the following ICU libraries:
-- i18n (required)
-- uc (required)
-- Found ICU: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/include (found version "67.1")
Added shared library dependency icui18n: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libicui18n.so
Added shared library dependency icuuc: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libicuuc.so
ICU_I18N_LIBRARIES=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libicui18n.so
ICU_UC_LIBRARIES=/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libicuuc.so
-- Found LIBUV: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libuv.so
Added shared library dependency libuv: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libuv.so
-- Found LIBCASSANDRA: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcassandra.so
Added shared library dependency cassandra: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib/libcassandra.so
CMAKE_C_FLAGS -Werror -fno-strict-aliasing -msse4.2 -Wall -Wno-sign-compare -Wno-deprecated -Winvalid-pch -pthread -DBOOST_BIND_NO_PLACEHOLDERS -DBOOST_UUID_RANDOM_PROVIDER_FORCE_POSIX -DROCKSDB_PLATFORM_POSIX -DROCKSDB_USING_THREAD_STATUS=0 -DBOOST_ERROR_CODE_HEADER_ONLY -march=ivybridge -mcx16 -DYB_COMPILER_TYPE=clang11 -DYB_COMPILER_VERSION=11.0.0 -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DZLIB -mno-avx -mno-bmi -mno-bmi2 -mno-fma -D__STDC_FORMAT_MACROS -Wno-deprecated-declarations -DGFLAGS=gflags -Werror=enum-compare -Werror=switch -Werror=return-type -Werror=string-plus-int -Werror=return-stack-address -Werror=implicit-fallthrough -DYB_HEADERS_NO_STUBS=1 -ggdb -O1 -fno-omit-frame-pointer -Wno-ambiguous-member-template -Wimplicit-fallthrough -Qunused-arguments -stdlib=libc++ -D_GLIBCXX_EXTERN_TEMPLATE=0 -nostdinc++ -fPIC -DTCMALLOC_ENABLED
Linker flags: -pthread -Wl,--no-undefined -Wl,--no-allow-shlib-undefined -Wl,-rpath,/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/libcxx/lib -L/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/libcxx/lib -L/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib -Wl,-rpath,/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/lib -Wl,-rpath,/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/lib
Added target pq for a shared library built as part of PostgreSQL code: /home/centos/code/yugabyte/build/debug-clang11-dynamic/postgres/lib/libpq.so (invoked from /home/centos/code/yugabyte/CMakeLists.txt)
Added target yb_pgbackend for a shared library built as part of PostgreSQL code: /home/centos/code/yugabyte/build/debug-clang11-dynamic/postgres/lib/libyb_pgbackend.so (invoked from /home/centos/code/yugabyte/CMakeLists.txt)
Adding tcmalloc as a dependency of yb_util
Including '/home/centos/code/yugabyte/ent/src/yb/server/CMakeLists-include.txt' into '/home/centos/code/yugabyte/src/yb/server/CMakeLists.txt'
Adding tcmalloc as a dependency of server_process
Including '/home/centos/code/yugabyte/ent/src/yb/tserver/CMakeLists-include.txt' into '/home/centos/code/yugabyte/src/yb/tserver/CMakeLists.txt'
Including '/home/centos/code/yugabyte/ent/src/yb/master/CMakeLists-include.txt' into '/home/centos/code/yugabyte/src/yb/master/CMakeLists.txt'
Including '/home/centos/code/yugabyte/ent/src/yb/integration-tests/CMakeLists-include.txt' into '/home/centos/code/yugabyte/src/yb/integration-tests/CMakeLists.txt'
Including '/home/centos/code/yugabyte/ent/src/yb/tools/CMakeLists-include.txt' into '/home/centos/code/yugabyte/src/yb/tools/CMakeLists.txt'
-- Found BISON: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/bin/bison (found version "3.4.1")
-- Found FLEX: /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/common/bin/flex (found version "2.6.3")
Including '/home/centos/code/yugabyte/ent/src/yb/cdc/CMakeLists-include.txt' into '/home/centos/code/yugabyte/src/yb/cdc/CMakeLists.txt'
Total tests: 380, included: 380, excluded: 0
Total non-test executables: 27, included: 27, excluded: 0
-- Configuring done
-- Generating done
-- Build files have been written to: /home/centos/code/yugabyte/build/debug-clang11-dynamic
[2021-03-03T20:50:33 yb_build.sh:394 run_cxx_build] Running make in /home/centos/code/yugabyte/build/debug-clang11-dynamic
+ make -j16
Scanning dependencies of target dummy_target
Scanning dependencies of target configure_postgres
Scanning dependencies of target gen_version_info
Scanning dependencies of target gutil
Scanning dependencies of target latest_symlink
[ 0%] Dummy target for dependency resolution testing
[ 0%] Recreating the 'latest' symlink at '/home/centos/code/yugabyte/build/latest'
+ ln -T -sf /home/centos/code/yugabyte/build/debug-clang11-dynamic /home/centos/code/yugabyte/build/latest
[ 0%] Built target dummy_target
[ 0%] Built target latest_symlink
[2021-03-03T20:50:33 common-build-env.sh:1891 handle_predefined_build_root] Setting build type to 'debug' based on predefined build root ('debug-clang11-dynamic')
[2021-03-03T20:50:33 common-build-env.sh:1917 handle_predefined_build_root] Setting YB_USE_NINJA to 1 based on predefined build root ('debug-clang11-dynamic')
[gen_version_info.py] 2021-03-03 20:50:33,827 INFO: Found YB git repository root /home/centos/code/yugabyte corresponding to the build directory /home/centos/code/yugabyte/build/debug-clang11-dynamic/src/yb/util
[ 0%] Built target gen_version_info
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/atomicops-internals-x86.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/bits.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/callback_internal.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/cpu.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/hash/city.cc.o
[ 0%] Building C object src/yb/gutil/CMakeFiles/gutil.dir/dynamic_annotations.c.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/hash/hash.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/hash/jenkins.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/int128.cc.o
[ 0%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/ref_counted.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/mathlimits.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/once.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/ref_counted_memory.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/spinlock_internal.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/spinlock.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/stringprintf.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/ascii_ctype.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/charset.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/escaping.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/human_readable.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/memutil.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/join.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/numbers.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/serialize.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/split.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/stringpiece.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/strcat.cc.o
[ 1%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/strip.cc.o
[ 2%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/substitute.cc.o
[ 2%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strings/util.cc.o
[build_postgres.py:667] 2021-03-03 20:50:34,015 INFO: PostgreSQL build stamp:
git_commit_sha1=b'b3356b959ba40f14fde113525aa40b6cd94c22a1'
git_diff_sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
git_diff_cached_sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
env_vars_sha256=59ffd93ac241287ae2cf8c402e6acc7b73a3a56decccdf6501d378513404232a
[build_postgres.py:362] 2021-03-03 20:50:34,016 INFO: Syncing postgres source code
sending incremental file list
./
GNUmakefile.in
Makefile
configure.in
sent 27,975 bytes received 76 bytes 56,102.00 bytes/sec
total size is 89,981 speedup is 3.21
[ 2%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/strtoint.cc.o
[ 2%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/sysinfo.cc.o
[ 2%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/threading/thread_collision_warner.cc.o
[ 2%] Building C object src/yb/gutil/CMakeFiles/gutil.dir/utf/rune.c.o
[ 2%] Building CXX object src/yb/gutil/CMakeFiles/gutil.dir/walltime.cc.o
[ 2%] Linking CXX shared library ../../../lib/libgutil.so
/usr/bin/ld: warning: libatomic.so.1, needed by /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/libcxx/lib/libc++.so.1, not found (try using -rpath or -rpath-link)
[ 2%] Built target gutil
Scanning dependencies of target protoc-gen-insertions
[ 2%] Building CXX object src/yb/util/CMakeFiles/protoc-gen-insertions.dir/protoc-gen-insertions.cc.o
[ 2%] Linking CXX executable ../../../bin/protoc-gen-insertions
/usr/bin/ld: warning: libatomic.so.1, needed by /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/libcxx/lib/libc++.so.1, not found (try using -rpath or -rpath-link)
[ 2%] Built target protoc-gen-insertions
Scanning dependencies of target gen_src_yb_util_version_info_proto
Scanning dependencies of target gen_src_yb_util_histogram_proto
Scanning dependencies of target gen_src_yb_cdc_cdc_consumer_proto
Scanning dependencies of target gen_src_yb_util_encryption_proto
Scanning dependencies of target gen_src_yb_util_pb_util_proto
Scanning dependencies of target gen_src_yb_common_redis_protocol_proto
Scanning dependencies of target gen_src_yb_consensus_metadata_proto
Scanning dependencies of target gen_src_yb_common_common_proto
Scanning dependencies of target gen_src_yb_fs_fs_proto
Scanning dependencies of target gen_src_yb_rpc_rpc_introspection_proto
Scanning dependencies of target gen_src_yb_common_wire_protocol_proto
Scanning dependencies of target gen_src_yb_common_ql_protocol_proto
Scanning dependencies of target gen_src_yb_rpc_rpc_header_proto
Scanning dependencies of target gen_src_yb_util_opid_proto
Scanning dependencies of target gen_src_yb_common_pgsql_protocol_proto
[ 2%] Running C++ protocol buffer compiler on cdc_consumer.proto
[ 2%] Running C++ protocol buffer compiler on histogram.proto
[ 2%] Running C++ protocol buffer compiler on version_info.proto
[ 2%] Running C++ protocol buffer compiler on pb_util.proto
[ 2%] Running C++ protocol buffer compiler on encryption.proto
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
make[2]: *** [src/yb/cdc/cdc_consumer.pb.cc] Error 127
make[1]: *** [src/yb/cdc/CMakeFiles/gen_src_yb_cdc_cdc_consumer_proto.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
[ 2%] Running C++ protocol buffer compiler on common.proto
make[2]: *** [src/yb/util/histogram.pb.cc] Error 127
[ 2%] Running C++ protocol buffer compiler on metadata.proto
[ 2%] Running C++ protocol buffer compiler on fs.proto
make[1]: *** [src/yb/util/CMakeFiles/gen_src_yb_util_histogram_proto.dir/all] Error 2
[ 2%] Running C++ protocol buffer compiler on redis_protocol.proto
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
make[2]: *** [src/yb/util/pb_util.pb.cc] Error 127
} // namespace pggate
diff --git a/src/yb/yql/pggate/test/pggate_test.cc b/src/yb/yql/pggate/test/pggate_test.cc
make[2]: *** [src/yb/util/pb_util.pb.cc] Error 127
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
[ 2%] Running C++ protocol buffer compiler on wire_protocol.proto
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
[ 2%] Running C++ protocol buffer compiler on rpc_introspection.proto
make[2]: *** [src/yb/util/version_info.pb.cc] Error 127
make[2]: *** [src/yb/util/encryption.pb.cc] Error 127
[ 2%] Running C++ protocol buffer compiler on rpc_header.proto
make[1]: *** [src/yb/util/CMakeFiles/gen_src_yb_util_version_info_proto.dir/all] Error 2
make[1]: *** [src/yb/util/CMakeFiles/gen_src_yb_util_pb_util_proto.dir/all] Error 2
make[1]: *** [src/yb/util/CMakeFiles/gen_src_yb_util_encryption_proto.dir/all] Error 2
[ 2%] Running C++ protocol buffer compiler on opid.proto
[ 2%] Running C++ protocol buffer compiler on pgsql_protocol.proto
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
make[2]: *** [src/yb/consensus/metadata.pb.cc] Error 127
make[2]: *** [src/yb/common/redis_protocol.pb.cc] Error 127
make[1]: *** [src/yb/common/CMakeFiles/gen_src_yb_common_redis_protocol_proto.dir/all] Error 2
make[1]: *** [src/yb/consensus/CMakeFiles/gen_src_yb_consensus_metadata_proto.dir/all] Error 2
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object filemake[2]: : No such file or directory*** [src/yb/fs/fs.pb.cc] Error 127
make[1]: *** [src/yb/fs/CMakeFiles/gen_src_yb_fs_fs_proto.dir/all] Error 2
make[2]: *** [src/yb/common/common.pb.cc] Error 127
make[1]: *** [src/yb/common/CMakeFiles/gen_src_yb_common_common_proto.dir/all] Error 2
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: : error while loading shared librarieserror while loading shared libraries: : libatomic.so.1: cannot open shared object file: No such file or directory
libatomic.so.1: cannot open shared object file: No such file or directory
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
make[2]: *** [src/yb/rpc/rpc_introspection.pb.cc] Error 127
make[2]: *** [src/yb/common/wire_protocol.pb.cc] Error 127
make[1]: *** [src/yb/rpc/CMakeFiles/gen_src_yb_rpc_rpc_introspection_proto.dir/all] Error 2
make[1]: *** [src/yb/common/CMakeFiles/gen_src_yb_common_wire_protocol_proto.dir/all] Error 2
make[2]: *** [src/yb/rpc/rpc_header.pb.cc] Error 127
make[1]: *** [src/yb/rpc/CMakeFiles/gen_src_yb_rpc_rpc_header_proto.dir/all] Error 2
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
make[2]: *** [src/yb/util/opid.pb.cc] Error 127
make[1]: make[2]: *** [src/yb/util/CMakeFiles/gen_src_yb_util_opid_proto.dir/all] Error 2[ 2%] Running C++ protocol buffer compiler on ql_protocol.proto
*** [src/yb/common/pgsql_protocol.pb.cc] Error 127
make[1]: *** [src/yb/common/CMakeFiles/gen_src_yb_common_pgsql_protocol_proto.dir/all] Error 2
/opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11/installed/uninstrumented/bin/protoc: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
make[2]: *** [src/yb/common/ql_protocol.pb.cc] Error 127
make[1]: *** [src/yb/common/CMakeFiles/gen_src_yb_common_ql_protocol_proto.dir/all] Error 2
[build_postgres.py:460] 2021-03-03 20:51:37,978 INFO: Successfully ran configure in the postgres build directory
[build_postgres.py:687] 2021-03-03 20:51:37,978 INFO: The configure step of building PostgreSQL took 59.2 sec
[build_postgres.py:706] 2021-03-03 20:51:37,978 INFO: PostgreSQL build (the 'configure' step) took 64.1 sec
[ 2%] Built target configure_postgres
make: *** [all] Error 2
real 1m4.509s
user 0m45.270s
sys 0m26.485s
[2021-03-03T20:51:38 yb_build.sh:417 run_cxx_build] C++ build finished with exit code 2 (build type: debug, compiler: clang11). Timing information is available above.
==========================================================================================
YUGABYTE BUILD SUMMARY
==========================================================================================
Build type : debug
C/C++ compiler : clang11
Build directory : /home/centos/code/yugabyte/build/debug-clang11-dynamic
Third-party dir : /opt/yb-build/thirdparty/yugabyte-db-thirdparty-v20210210192530-45c97f45f1-centos7-clang11
CMake time : 17 seconds
C++ compilation time : 65 seconds
Exit code : 2
------------------------------------------------------------------------------------------
20:51 ~/code/yugabyte [arcpatch-D10786] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment