WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for weechat-4.4.4.tar.xz
=> Checksum SHA512 OK for weechat-4.4.4.tar.xz
===> Installing dependencies for weechat-4.4.4
==========================================================================
The supported build options for weechat are:

	lua perl python ruby wide-curses

The currently selected options are:

	lua perl python ruby wide-curses

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 = lua perl python ruby wide-curses

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

        * CURSES_DEFAULT = ncurses
        * LUA_VERSION_DEFAULT = 54
        * PYTHON_VERSION_DEFAULT = 312
        * READLINE_DEFAULT = editline
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/pkg/etc/openssl/certs
        * SSLDIR = /opt/pkg/etc/openssl
        * SSLKEYS = /opt/pkg/etc/openssl/private

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

        * CURSES_TYPE = ncurses
        * LUA_PACKAGE = lua54
        * PYPACKAGE = python312
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = curses

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency ruby32-asciidoctor-[0-9]*: found ruby32-asciidoctor-2.0.23
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.40.0: found perl-5.40.0nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency xz>=4.999.9betanb1: found xz-5.6.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency cJSON>=1.7.15: found cJSON-1.7.18
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency gnutls>=3.8.8nb2: found gnutls-3.8.8nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency libgcrypt>=1.6.0: found libgcrypt-1.11.0nb2
=> Full dependency lua54>=5.4.0<5.5: found lua54-5.4.7
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency perl>=5.40.0<5.41.0: found perl-5.40.0nb1
=> Full dependency python312>=3.12.0: found python312-3.12.8nb1
=> Full dependency ruby32-base>=3.2.6: found ruby32-base-3.2.6
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency zstd>=1.3.6: found zstd-1.5.6
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency editline>=3.0.20130712nb1: found editline-3.1.20221030nb2
=> Full dependency gmp>=6.0: found gmp-6.3.0
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libgpg-error>=0.6: found libgpg-error-1.51
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libssh2>=0.18: found libssh2-1.11.1
=> Full dependency libtasn1>=0.2.7: found libtasn1-4.19.0
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency nettle>=3.4.1: found nettle-3.10
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency p11-kit>=0.23: found p11-kit-0.25.5
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for weechat-4.4.4
===> Extracting for weechat-4.4.4
===> Patching for weechat-4.4.4
=> Applying pkgsrc patches for weechat-4.4.4
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-cmake_FindNcurses.cmake
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-cmake_FindNcurses.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_FindNcurses.cmake,v 1.6 2020/04/01 14:58:50 nia Exp $
|
|Find NetBSD libcurses.
|
|--- cmake/FindNcurses.cmake.orig	2020-03-29 07:39:36.000000000 +0000
|+++ cmake/FindNcurses.cmake
--------------------------
Patching file cmake/FindNcurses.cmake using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-po_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/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.7 2023/12/10 12:00:00 ryoon Exp $
|
|Drop package-name and package-version args to xgettext.
|Don't run --statistics to /dev/null, it tries to handle it as a regular file
|and aborts.
|
|--- po/CMakeLists.txt.orig	2023-10-15 07:02:57.000000000 +0000
|+++ po/CMakeLists.txt
--------------------------
Patching file po/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 56.
Hunk #2 succeeded at 74.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-src_plugins_lua_CMakeLists.txt
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-src_plugins_lua_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_lua_CMakeLists.txt,v 1.2 2023/07/10 08:16:59 jperkin Exp $
|
|Use the standard variables defined by cmake's own FindLua.
|
|--- src/plugins/lua/CMakeLists.txt.orig	2023-06-30 19:18:01.000000000 +0000
|+++ src/plugins/lua/CMakeLists.txt
--------------------------
Patching file src/plugins/lua/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 25.
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_perl_weechat-perl.c,v 1.1 2019/07/31 10:33:08 nia Exp $
|
|Apply this workaround to NetBSD too, it seems to have the same problem
|with segfaulting on exit if the perl plugin is loaded.
|
|--- src/plugins/perl/weechat-perl.c.orig	2019-06-06 18:43:20.000000000 +0000
|+++ src/plugins/perl/weechat-perl.c
--------------------------
Patching file src/plugins/perl/weechat-perl.c using Plan A...
Hunk #1 succeeded at 1391 (offset 51 lines).
done
=> Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-src_plugins_relay_api_relay-api-msg.c
=> Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/chat/weechat/patches/patch-src_plugins_relay_api_relay-api-msg.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_relay_api_relay-api-msg.c,v 1.1 2024/12/16 10:55:22 jperkin Exp $
|
|illumos does not have tm_gmtoff.
|
|--- src/plugins/relay/api/relay-api-msg.c.orig	2024-12-16 10:46:41.984837031 +0000
|+++ src/plugins/relay/api/relay-api-msg.c
--------------------------
Patching file src/plugins/relay/api/relay-api-msg.c using Plan A...
Hunk #1 succeeded at 55.
Hunk #2 succeeded at 79.
done
===> Creating toolchain wrappers for weechat-4.4.4
/bin/ln -s /Users/pbulk/build/chat/weechat/work/.buildlink/lib/pkgconfig/lua-5.4.pc /Users/pbulk/build/chat/weechat/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for weechat-4.4.4
=> Adjusting pkg-config python checks
/bin/rm -f /Users/pbulk/build/chat/weechat/work/weechat-4.4.4/cmake/FindLua.cmake
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Fixing locale directory references.
-- The C compiler identification is AppleClang 13.1.6.13160021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/pbulk/build/chat/weechat/work/.cwrapper/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PkgConfig: /Users/pbulk/build/chat/weechat/work/.tools/bin/pkg-config (found version "2.3.0")
-- 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 include file malloc.h
-- Looking for include file malloc.h - not found
-- Looking for malloc_trim
-- Looking for malloc_trim - not found
-- Looking for mallinfo
-- Looking for mallinfo - not found
-- Looking for mallinfo2
-- Looking for mallinfo2 - not found
-- Looking for eat_newline_glitch
-- Looking for eat_newline_glitch - found
-- Checking for module 'libgcrypt'
--   Found libgcrypt, version 1.11.0
-- Found ZLIB: /opt/pkg/lib/libz.dylib (found version "1.3.1")
-- Checking for module 'libzstd'
--   Found libzstd, version 1.5.6
-- Checking for module 'libcjson'
--   Found libcjson, version 1.7.18
-- Looking for libiconv_open in /opt/pkg/lib/libiconv.dylib
-- Looking for libiconv_open in /opt/pkg/lib/libiconv.dylib - found
-- Looking for iconv_open in /opt/pkg/lib/libiconv.dylib
-- Looking for iconv_open in /opt/pkg/lib/libiconv.dylib - not found
-- Performing Test ICONV_2ARG_IS_CONST
-- Performing Test ICONV_2ARG_IS_CONST - Success
-- Found CURL: /opt/pkg/lib/libcurl.dylib (found version "8.11.1")
-- Looking for include file libintl.h
-- Looking for include file libintl.h - found
-- Looking for dgettext
-- Looking for dgettext - found
-- Found Intl: built in to C library
-- Looking for flock
-- Looking for flock - found
-- Looking for backtrace
-- Looking for backtrace - found
-- Checking for module 'python-3.12-embed'
--   Found python-3.12-embed, version 3.12
-- Found Ruby: /Users/pbulk/build/chat/weechat/work/.buildlink/bin/ruby (found suitable version "3.2.6", minimum required is "1.8.0")
-- Found Lua: /opt/pkg/lib/liblua5.4.dylib (found version "5.4.7")
-- Checking for one of the modules 'ncurses'
*** WARNING:
*** ncursesw library not found! Falling back to "ncurses"
*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.
-- Looking for include file ncursesw/ncurses.h
-- Looking for include file ncursesw/ncurses.h - not found
-- Looking for include file ncurses.h
-- Looking for include file ncurses.h - found
CMake Warning (dev) at src/gui/curses/normal/CMakeLists.txt:67 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done (29.2s)
-- Generating done (0.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    PYTHON_EXECUTABLE
    PYTHON_INCLUDE_DIR
    PYTHON_INCLUDE_PATH
    PYVERSSUFFIX
    Python3_EXECUTABLE
    Python3_INCLUDE_DIR
    Python_EXECUTABLE
    Python_INCLUDE_DIR


-- Build files have been written to: /Users/pbulk/build/chat/weechat/work/weechat-4.4.4
=> Rewrite cmake Dependencies files