=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for grpc-1.11.0.tar.gz
=> Checksum RMD160 OK for grpc-1.11.0.tar.gz
=> Checksum SHA512 OK for grpc-1.11.0.tar.gz
===> Installing dependencies for grpc-1.11.0
==========================================================================
The following variables will affect the build process of this package,
grpc-1.11.0.  Their current value is shown below:

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.11.3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency google-benchmark>=1.1.0: found google-benchmark-1.1.0nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gflags>=2.1.2: found gflags-2.2.0
=> Full dependency protobuf>=3.5.1nb1: found protobuf-3.5.1nb1
=> Full dependency libcares>=1.6.0: found libcares-1.14.0
===> Overriding tools for grpc-1.11.0
===> Extracting for grpc-1.11.0
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for grpc-1.11.0
=> Applying pkgsrc patches for grpc-1.11.0
=> Verifying /data/pkgsrc/net/grpc/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.3 2018/04/27 17:47:27 minskim Exp $
|
|Add version number to shared libraries.
|
|--- CMakeLists.txt.orig	2018-04-13 18:08:11.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 171.
Hunk #2 succeeded at 664.
Hunk #3 succeeded at 785.
Hunk #4 succeeded at 1213.
Hunk #5 succeeded at 1584.
Hunk #6 succeeded at 2513.
Hunk #7 succeeded at 2727.
Hunk #8 succeeded at 3288.
Hunk #9 succeeded at 3553.
Hunk #10 succeeded at 3684.
Hunk #11 succeeded at 4181.
Hunk #12 succeeded at 4559.
Hunk #13 succeeded at 5072.
done
=> Verifying /data/pkgsrc/net/grpc/patches/patch-cmake_benchmark.cmake
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-cmake_benchmark.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_benchmark.cmake,v 1.1 2018/04/27 17:47:27 minskim Exp $
|
|Find benchmark from pkgsrc.
|
|--- cmake/benchmark.cmake.orig	2018-04-13 18:08:11.000000000 +0000
|+++ cmake/benchmark.cmake
--------------------------
Patching file cmake/benchmark.cmake using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /data/pkgsrc/net/grpc/patches/patch-cmake_cares.cmake
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-cmake_cares.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_cares.cmake,v 1.1 2018/04/27 17:47:27 minskim Exp $
|
|Find libcares from pkgsrc.
|
|--- cmake/cares.cmake.orig	2018-04-13 18:08:11.000000000 +0000
|+++ cmake/cares.cmake
--------------------------
Patching file cmake/cares.cmake using Plan A...
Hunk #1 succeeded at 31.
done
=> Verifying /data/pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-include_grpc_impl_codegen_port__platform.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_grpc_impl_codegen_port__platform.h,v 1.1 2018/05/15 15:20:18 jperkin Exp $
|
|Add SunOS support.
|
|--- include/grpc/impl/codegen/port_platform.h.orig	2018-04-13 18:08:11.000000000 +0000
|+++ include/grpc/impl/codegen/port_platform.h
--------------------------
Patching file include/grpc/impl/codegen/port_platform.h using Plan A...
Hunk #1 succeeded at 307.
done
=> Verifying /data/pkgsrc/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_core_ext_filters_client__channel_resolver_dns_c__ares_grpc__ares__ev__driver__posix.cc,v 1.1 2018/05/15 15:20:18 jperkin Exp $
|
|Add SunOS support.
|
|--- src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc.orig	2018-04-13 18:08:11.000000000 +0000
|+++ src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc
--------------------------
Patching file src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc using Plan A...
Hunk #1 succeeded at 22.
done
=> Verifying /data/pkgsrc/net/grpc/patches/patch-src_core_lib_gpr_arena.cc
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-src_core_lib_gpr_arena.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_core_lib_gpr_arena.cc,v 1.1 2018/04/27 17:47:27 minskim Exp $
|
|Fix build on FreeBSD (https://github.com/grpc/grpc/issues/15010).
|
|--- src/core/lib/gpr/arena.cc.orig	2018-04-13 18:08:11.000000000 +0000
|+++ src/core/lib/gpr/arena.cc
--------------------------
Patching file src/core/lib/gpr/arena.cc using Plan A...
Hunk #1 succeeded at 128.
done
=> Verifying /data/pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h
=> Applying pkgsrc patch /data/pkgsrc/net/grpc/patches/patch-src_core_lib_iomgr_port.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_core_lib_iomgr_port.h,v 1.1 2018/05/15 15:20:18 jperkin Exp $
|
|Add SunOS support.
|
|--- src/core/lib/iomgr/port.h.orig	2018-04-13 18:08:11.000000000 +0000
|+++ src/core/lib/iomgr/port.h
--------------------------
Patching file src/core/lib/iomgr/port.h using Plan A...
Hunk #1 succeeded at 120.
done
===> Creating toolchain wrappers for grpc-1.11.0
===> Configuring for grpc-1.11.0
=> Fixing include paths.
INFO: [subst.mk:fix-include] Nothing changed in ./CMakeLists.txt.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
=> Checking for portability problems in extracted files
-- The C compiler identification is Clang 5.0.5
-- The CXX compiler identification is Clang 5.0.5
CMake Warning (dev) at /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/net/grpc/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.11/Modules/CMakeSystemSpecificInformation.cmake:26 (include)
  CMakeLists.txt:31 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/net/grpc/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.11/Modules/CMakeCInformation.cmake:66 (include)
  CMakeLists.txt:31 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/net/grpc/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/net/grpc/work/.cwrapper/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake:13 (include):
  File /usr/pkg/share/cmake-3.11/Modules/Platform/NetBSD.cmake includes
  /data/scratch/net/grpc/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.11/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.11/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:31 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /data/scratch/net/grpc/work/.cwrapper/bin/clang++
-- Check for working CXX compiler: /data/scratch/net/grpc/work/.cwrapper/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- Found PkgConfig: /data/scratch/net/grpc/work/.tools/bin/pkg-config (found version "1.4.1") 
-- Checking for one of the modules 'libcares'
-- 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/scratch/net/grpc/work/.buildlink/lib/libprotobuf.so;-lpthread (found version "3.5.1") 
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.0h") 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /data/scratch/net/grpc/work/grpc-1.11.0
=> Rewrite cmake Dependencies files