>>> host-grpc v1.16.1 Extracting gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/grpc/grpc-v1.16.1.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1 -xf - >>> host-grpc v1.16.1 Patching Applying 0001-target-build-using-host-plugin.patch using patch: patching file CMakeLists.txt Applying 0002-Properly-detect-the-availability-of-pthread_setname_.patch using patch: patching file CMakeLists.txt patching file include/grpc/impl/codegen/port_platform.h >>> host-grpc v1.16.1 Configuring (mkdir -p /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/ && cd /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/ && rm -f CMakeCache.txt && PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 /data/buildroot/buildroot-test/instance-0/output/host/bin/cmake /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/ -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_FIND_ROOT_PATH="/data/buildroot/buildroot-test/instance-0/output/host" -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" -DCMAKE_INSTALL_PREFIX="/data/buildroot/buildroot-test/instance-0/output/host" -DCMAKE_C_FLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" -DCMAKE_CXX_FLAGS="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" -DCMAKE_EXE_LINKER_FLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" -DCMAKE_SHARED_LINKER_FLAGS="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" -DCMAKE_ASM_COMPILER="/usr/bin/as" -DCMAKE_C_COMPILER="/usr/bin/gcc" -DCMAKE_CXX_COMPILER="/usr/bin/g++" -DCMAKE_C_COMPILER_ARG1="" -DCMAKE_CXX_COMPILER_ARG1="" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -D_gRPC_CARES_LIBRARIES=cares -DgRPC_CARES_PROVIDER=none -DgRPC_CARES_PROVIDER=none -DgRPC_PROTOBUF_PROVIDER=package -DgRPC_SSL_PROVIDER=package -DgRPC_ZLIB_PROVIDER=package ) -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- 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: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread_setname_np -- Looking for pthread_setname_np - not found -- Found ZLIB: /data/buildroot/buildroot-test/instance-0/output/host/usr/lib/libz.so (found version "1.2.11") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Protobuf: /data/buildroot/buildroot-test/instance-0/output/host/usr/lib/libprotobuf.so;-lpthread (found version "3.6.0") -- Found OpenSSL: /data/buildroot/buildroot-test/instance-0/output/host/lib64/libcrypto.so (found version "1.1.1d") CMake Warning at cmake/gflags.cmake:26 (message): gRPC_GFLAGS_PROVIDER is "module" but GFLAGS_ROOT_DIR is wrong Call Stack (most recent call first): CMakeLists.txt:148 (include) CMake Warning at cmake/benchmark.cmake:26 (message): gRPC_BENCHMARK_PROVIDER is "module" but BENCHMARK_ROOT_DIR is wrong Call Stack (most recent call first): CMakeLists.txt:149 (include) -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS CMAKE_ASM_COMPILER -- Build files have been written to: /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1 >>> host-grpc v1.16.1 Building PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/data/buildroot/buildroot-test/instance-0/output/host/lib/pkgconfig:/data/buildroot/buildroot-test/instance-0/output/host/share/pkgconfig" /usr/bin/make -j12 -C /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/ make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' Scanning dependencies of target gen_legal_metadata_characters make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' Scanning dependencies of target gen_percent_encoding_tables make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' Scanning dependencies of target address_sorting make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 0%] Building CXX object CMakeFiles/gen_percent_encoding_tables.dir/tools/codegen/core/gen_percent_encoding_tables.cc.o [ 0%] Building CXX object CMakeFiles/gen_legal_metadata_characters.dir/tools/codegen/core/gen_legal_metadata_characters.cc.o [ 0%] Building C object CMakeFiles/address_sorting.dir/third_party/address_sorting/address_sorting.c.o [ 0%] Building C object CMakeFiles/address_sorting.dir/third_party/address_sorting/address_sorting_posix.c.o [ 0%] Building C object CMakeFiles/address_sorting.dir/third_party/address_sorting/address_sorting_windows.c.o Scanning dependencies of target gpr make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' Scanning dependencies of target grpc_plugin_support make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/alloc.cc.o [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/arena.cc.o [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/atm.cc.o [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_iphone.cc.o [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_linux.cc.o [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_posix.cc.o make[3]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/cpp_generator.cc.o [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/csharp_generator.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_windows.cc.o [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/node_generator.cc.o [ 2%] Linking CXX executable gen_percent_encoding_tables [ 2%] Linking CXX executable gen_legal_metadata_characters [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/objective_c_generator.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/env_linux.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/env_posix.cc.o [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/php_generator.cc.o [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/python_generator.cc.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 2%] Built target gen_percent_encoding_tables [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/ruby_generator.cc.o [ 2%] Linking C static library libaddress_sorting.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 2%] Built target gen_legal_metadata_characters [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/host_port.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/env_windows.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log_android.cc.o [ 3%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log_linux.cc.o [ 3%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log_posix.cc.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 3%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log_windows.cc.o [ 3%] Built target address_sorting [ 3%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/mpscq.cc.o /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/src/core/lib/gpr/log_linux.cc:43:13: error: ambiguating new declaration of 'long int gettid()' 43 | static long gettid(void) { return syscall(__NR_gettid); } | ^~~~~~ In file included from /usr/include/unistd.h:1170, from /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/src/core/lib/gpr/log_linux.cc:41: /usr/include/bits/unistd_ext.h:34:16: note: old declaration '__pid_t gettid()' 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ make[3]: *** [CMakeFiles/gpr.dir/build.make:375: CMakeFiles/gpr.dir/src/core/lib/gpr/log_linux.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 3%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/murmur_hash.cc.o make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[2]: *** [CMakeFiles/Makefile2:406: CMakeFiles/gpr.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 3%] Linking CXX static library libgrpc_plugin_support.a make[3]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' [ 3%] Built target grpc_plugin_support make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make[1]: *** [Makefile:130: all] Error 2 make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1' make: *** [package/pkg-generic.mk:241: /data/buildroot/buildroot-test/instance-0/output/build/host-grpc-v1.16.1/.stamp_built] Error 2 make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'