=> 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 weechat-2.1.tar.bz2
=> Checksum RMD160 OK for weechat-2.1.tar.bz2
=> Checksum SHA512 OK for weechat-2.1.tar.bz2
===> Installing dependencies for weechat-2.1
==========================================================================
The supported build options for weechat are:

	gnutls lua perl python ruby wide-curses

The currently selected options are:

	gnutls

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

	PKG_OPTIONS.weechat (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
weechat-2.1.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * CURSES_TYPE = curses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb1
=> 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 asciidoc-[0-9]*: found asciidoc-8.6.9nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency gnutls>=3.6.0nb1: found gnutls-3.6.0nb3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17
=> Full dependency libidn>=1.20nb1: found libidn-1.33
=> Full dependency curl>=7.57.0nb1: found curl-7.60.0
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.8.3
===> Overriding tools for weechat-2.1
===> Extracting for weechat-2.1
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 weechat-2.1
=> Applying pkgsrc patches for weechat-2.1
=> Verifying /data/pkgsrc/chat/weechat/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/chat/weechat/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.2 2017/11/04 17:23:20 maya Exp $
|
|Check that eat_newline_glitch can be assigned to
|
|--- CMakeLists.txt.orig	2017-09-23 11:08:45.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 158 (offset 8 lines).
done
=> Verifying /data/pkgsrc/chat/weechat/patches/patch-po_CMakeLists.txt
=> Applying pkgsrc patch /data/pkgsrc/chat/weechat/patches/patch-po_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-po_CMakeLists.txt,v 1.4 2015/08/01 19:10:15 tonio Exp $
|
|Drop package-name and package-version args to xgettext.
|
|--- po/CMakeLists.txt.orig	2014-08-15 08:09:01.000000000 +0000
|+++ po/CMakeLists.txt
--------------------------
Patching file po/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 57 (offset 1 line).
done
=> Verifying /data/pkgsrc/chat/weechat/patches/patch-src_plugins_charset_charset.c
=> Applying pkgsrc patch /data/pkgsrc/chat/weechat/patches/patch-src_plugins_charset_charset.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_charset_charset.c,v 1.1 2013/12/12 20:17:56 jperkin Exp $
|
|Need strings.h for strcasecmp()
|
|--- src/plugins/charset/charset.c.orig	2013-05-20 08:06:14.000000000 +0000
|+++ src/plugins/charset/charset.c
--------------------------
Patching file src/plugins/charset/charset.c using Plan A...
Hunk #1 succeeded at 25.
done
===> Creating toolchain wrappers for weechat-2.1
===> Configuring for weechat-2.1
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/cs/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/de/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/en/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/es/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/fr/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/it/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/ja/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/pl/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/ru/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/core/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/gui/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/gui/curses/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/gui/curses/headless/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/gui/curses/normal/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/alias/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/aspell/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/buflist/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/charset/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/exec/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/fifo/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/fset/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/guile/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/irc/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/javascript/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/logger/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/lua/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/perl/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/php/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/python/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/relay/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/ruby/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/script/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/tcl/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/trigger/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/plugins/xfer/Makefile.am.
INFO: [subst.mk:pkglocaledir] Nothing changed in ./tests/Makefile.am.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C 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/chat/weechat/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:24 (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/chat/weechat/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:24 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check for working C compiler: /data/scratch/chat/weechat/work/.cwrapper/bin/clang
-- Check for working C compiler: /data/scratch/chat/weechat/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
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file sys/resource.h
-- Looking for include file sys/resource.h - found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- checking for one of the modules 'ncurses'
-- Looking for include file ncursesw/term.h
-- Looking for include file ncursesw/term.h - not found
-- Looking for include file ncurses/term.h
-- Looking for include file ncurses/term.h - not found
-- Performing Test HAVE_EAT_NEWLINE_GLITCH
-- Performing Test HAVE_EAT_NEWLINE_GLITCH - Success
-- Looking for include file libintl.h
-- Looking for include file libintl.h - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found GCRYPT: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error 
-- Found ZLIB: /lib/libz.so (found version "1.2.10")
-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_2ARG_IS_CONST
-- Performing Test ICONV_2ARG_IS_CONST - Success
-- Found CURL: /data/scratch/chat/weechat/work/.buildlink/lib/libcurl.so (found version "7.60.0") 
-- Looking for flock
-- Looking for flock - found
-- Looking for backtrace
-- Looking for backtrace - not found
-- Could NOT find V8 (missing: V8_LIBRARY V8_INCLUDE_DIR) 
-- checking for one of the modules 'php7'
CMake Warning at cmake/FindPHP.cmake:56 (message):
  Could not find libphp7.  Ensure PHP >=7.0.0 development libraries are
  installed and compiled with `--enable-embed`.  Ensure `php-config` is in
  `PATH`.  You may set `-DCMAKE_LIBRARY_PATH=...` to the directory containing
  libphp7.
Call Stack (most recent call first):
  src/plugins/CMakeLists.txt:162 (find_package)


-- checking for one of the modules 'ncurses'
-- checking for one of the modules 'cpputest'
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NCURSES_LIBRARY (ADVANCED)
    linked by target "weechat" in directory /data/scratch/chat/weechat/work/weechat-2.1/src/gui/curses/normal

-- Configuring incomplete, errors occurred!
See also "/data/scratch/chat/weechat/work/weechat-2.1/CMakeFiles/CMakeOutput.log".
See also "/data/scratch/chat/weechat/work/weechat-2.1/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/chat/weechat
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/chat/weechat