>>> grpc 1.18.0 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-1/dl/grpc/grpc-1.18.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0 -xf - >>> grpc 1.18.0 Patching Applying 0001-target-build-using-host-plugin.patch using patch: patching file CMakeLists.txt Hunk #1 succeeded at 13233 (offset 125 lines). Hunk #2 succeeded at 13280 (offset 125 lines). 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 Applying 0003-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch using patch: patching file src/core/lib/gpr/wrap_memcpy.cc >>> grpc 1.18.0 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/ && cd /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/ -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/instance-1/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -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 -DBUILD_SHARED_LIBS=ON -D_gRPC_CARES_LIBRARIES=cares -DgRPC_CARES_PROVIDER=none -DgRPC_PROTOBUF_PROVIDER=package -DgRPC_SSL_PROVIDER=package -DgRPC_ZLIB_PROVIDER=package -DgRPC_NATIVE_CPP_PLUGIN=/home/buildroot/autobuild/run/instance-1/output/host/bin/grpc_cpp_plugin -DCMAKE_EXE_LINKER_FLAGS=-latomic ) -- The C compiler identification is GNU 9.2.0 -- The CXX compiler identification is GNU 9.2.0 -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/arm-buildroot-linux-gnueabihf-gcc -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/arm-buildroot-linux-gnueabihf-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: /home/buildroot/autobuild/run/instance-1/output/host/bin/arm-buildroot-linux-gnueabihf-g++ -- Check for working CXX compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/arm-buildroot-linux-gnueabihf-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: /home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabihf/sysroot/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: /home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libprotobuf.so;-lpthread (found version "3.6.0") -- Found OpenSSL: /home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libcrypto.so (found version "1.1.1c") 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 -- Build files have been written to: /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0 >>> grpc 1.18.0 Building PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/ make[1]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[2]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' Scanning dependencies of target gen_legal_metadata_characters make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' Scanning dependencies of target address_sorting make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 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 Scanning dependencies of target grpc_plugin_support make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 1%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/cpp_generator.cc.o Scanning dependencies of target gpr make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 1%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/alloc.cc.o [ 1%] Linking CXX executable gen_legal_metadata_characters [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/arena.cc.o [ 2%] Building C object CMakeFiles/address_sorting.dir/third_party/address_sorting/address_sorting_posix.c.o make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 2%] Built target gen_legal_metadata_characters make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' Scanning dependencies of target gen_percent_encoding_tables make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[3]: Entering directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 2%] Building CXX object CMakeFiles/gen_percent_encoding_tables.dir/tools/codegen/core/gen_percent_encoding_tables.cc.o [ 2%] Building C object CMakeFiles/address_sorting.dir/third_party/address_sorting/address_sorting_windows.c.o [ 2%] Linking C shared library libaddress_sorting.so [ 2%] Linking CXX executable gen_percent_encoding_tables make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 2%] Built target address_sorting [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/csharp_generator.cc.o make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 2%] Built target gen_percent_encoding_tables [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/node_generator.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/atm.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_iphone.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_linux.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_posix.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/cpu_windows.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/gpr.dir/src/core/lib/gpr/env_windows.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/log.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log_android.cc.o [ 2%] Building CXX object CMakeFiles/gpr.dir/src/core/lib/gpr/log_linux.cc.o /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/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 /home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/unistd.h:1170, from /home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/src/core/lib/gpr/log_linux.cc:41: /home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabihf/sysroot/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/src/core/lib/gpr/log_linux.cc.o] Error 1 make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[2]: *** [CMakeFiles/gpr.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/objective_c_generator.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 [ 2%] Building CXX object CMakeFiles/grpc_plugin_support.dir/src/compiler/ruby_generator.cc.o [ 2%] Linking CXX shared library libgrpc_plugin_support.so make[3]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' [ 2%] Built target grpc_plugin_support make[2]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0' make: *** [/home/buildroot/autobuild/run/instance-1/output/build/grpc-1.18.0/.stamp_built] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-1/buildroot'