=> 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 librime-1.0.tar.gz
=> Checksum RMD160 OK for librime-1.0.tar.gz
=> Checksum SHA512 OK for librime-1.0.tar.gz
===> Installing dependencies for librime-1.0nb10
==========================================================================
The supported build options for librime are:

	tests

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.librime (not defined)

==========================================================================
=> 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 boost-headers-1.67.*: found boost-headers-1.67.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2018.4
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency opencc>=0.4.2: found opencc-0.4.2
=> Full dependency kyotocabinet>=1.2.72: found kyotocabinet-1.2.76nb1
=> Full dependency boost-libs-1.67.*: found boost-libs-1.67.0nb1
=> Full dependency boost-libs>=1.67.0: found boost-libs-1.67.0nb1
=> Full dependency google-glog>=0.3.3: found google-glog-0.3.4
=> Full dependency yaml-cpp>=0.5.0: found yaml-cpp-0.6.2
===> Overriding tools for librime-1.0nb10
===> Extracting for librime-1.0nb10
===> Patching for librime-1.0nb10
=> Applying pkgsrc patches for librime-1.0nb10
=> Verifying /data/pkgsrc/inputmethod/librime/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/inputmethod/librime/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.1 2014/11/29 09:31:49 obache Exp $
|
|* No reason to restrct only for Linux. 
|
|--- CMakeLists.txt.orig	2013-11-10 10:20:21.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 98.
Hunk #2 succeeded at 125.
done
=> Verifying /data/pkgsrc/inputmethod/librime/patches/patch-src_dict_mapped__file.cc
=> Applying pkgsrc patch /data/pkgsrc/inputmethod/librime/patches/patch-src_dict_mapped__file.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_dict_mapped__file.cc,v 1.1 2018/03/07 09:34:09 wiz Exp $
|
|Return bool where the return value type needs it.
|
|--- src/dict/mapped_file.cc.orig	2013-11-10 10:20:21.000000000 +0000
|+++ src/dict/mapped_file.cc
--------------------------
Patching file src/dict/mapped_file.cc using Plan A...
Hunk #1 succeeded at 106.
Hunk #2 succeeded at 116.
Hunk #3 succeeded at 126.
Hunk #4 succeeded at 137.
done
=> Verifying /data/pkgsrc/inputmethod/librime/patches/patch-src_dict_table.cc
=> Applying pkgsrc patch /data/pkgsrc/inputmethod/librime/patches/patch-src_dict_table.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_dict_table.cc,v 1.2 2015/04/21 13:59:31 hiramatsu Exp $
|
|Entries in the output file are generally not correctly aligned,
|so tell the compiler explicitly about this fact and use memcpy
|for writing the data.
|
|--- src/dict/table.cc.orig	2013-11-10 19:20:21.000000000 +0900
|+++ src/dict/table.cc	2015-04-18 12:14:33.000000000 +0900
--------------------------
Patching file src/dict/table.cc using Plan A...
Hunk #1 succeeded at 403.
done
===> Creating toolchain wrappers for librime-1.0nb10
===> Configuring for librime-1.0nb10
=> Adding run-time search paths to pkg-config files.
=> Fixing CMAKE_MODULE_PATH 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/inputmethod/librime/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:4 (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/inputmethod/librime/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:4 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/inputmethod/librime/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/inputmethod/librime/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/inputmethod/librime/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:4 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working CXX compiler: /data/scratch/inputmethod/librime/work/.cwrapper/bin/clang++
-- Check for working CXX compiler: /data/scratch/inputmethod/librime/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
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   filesystem
--   regex
--   signals
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- Found glog: /data/scratch/inputmethod/librime/work/.buildlink/lib/libglog.so
-- Found yaml-cpp: /data/scratch/inputmethod/librime/work/.buildlink/lib/libyaml-cpp.so
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- Found kyotocabinet: /data/scratch/inputmethod/librime/work/.buildlink/lib/libkyotocabinet.so
-- Found opencc: /data/scratch/inputmethod/librime/work/.buildlink/lib/libopencc.so
-- Found X11/keysym.h at /data/scratch/inputmethod/librime/work/.buildlink/include
-- 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/inputmethod/librime/work/librime
=> Rewrite cmake Dependencies files