=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for weechat-4.0.2.tar.xz => Checksum SHA512 OK for weechat-4.0.2.tar.xz ===> Installing dependencies for weechat-4.0.2nb3 ========================================================================== 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 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, weechat-4.0.2nb3. Their current value is shown below: * CURSES_DEFAULT = curses * KRB5_DEFAULT = heimdal * LUA_VERSION_DEFAULT = 54 * PYTHON_VERSION_DEFAULT = 311 * READLINE_DEFAULT = editline * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * 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 * LUA_PACKAGE = lua54 * PYPACKAGE = python311 * READLINE_TYPE = editline * TERMCAP_TYPE = termcap 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency ruby31-asciidoctor-[0-9]*: found ruby31-asciidoctor-2.0.20 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=3.18: found cmake-3.27.8 => Tool dependency perl>=5.38.0: found perl-5.38.0 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency python311>=3.11.0: found python311-3.11.6nb4 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1 => Full dependency perl>=5.38.0<5.39.0: found perl-5.38.0 => Full dependency ruby31-base>=3.1.4: found ruby31-base-3.1.4nb2 => Full dependency zstd>=1.3.6: found zstd-1.5.5 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency curl>=8.4.0nb1: found curl-8.4.0nb1 => Full dependency gnutls>=3.8.1nb2: found gnutls-3.8.2 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.3 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for weechat-4.0.2nb3 ===> Extracting for weechat-4.0.2nb3 ===> Patching for weechat-4.0.2nb3 => Applying pkgsrc patches for weechat-4.0.2nb3 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/chat/weechat/patches/patch-cmake_FindNcurses.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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 /amd/pkgsrc/CHROOT/P/pkgsrc/chat/weechat/patches/patch-po_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/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.6 2023/07/10 08:16:59 jperkin 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-06-30 19:18:01.000000000 +0000 |+++ po/CMakeLists.txt -------------------------- Patching file po/CMakeLists.txt using Plan A... Hunk #1 succeeded at 58. Hunk #2 succeeded at 76. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/chat/weechat/patches/patch-src_plugins_lua_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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 /amd/pkgsrc/CHROOT/P/pkgsrc/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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 1348 (offset 8 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/chat/weechat/patches/patch-src_plugins_ruby_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/chat/weechat/patches/patch-src_plugins_ruby_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_plugins_ruby_CMakeLists.txt,v 1.2 2023/07/10 08:16:59 jperkin Exp $ | |RUBY_LDFLAGS may contain strings unsuitable for target_link_libraries(), for |example "-arch arm64" will get converted to "-arch -larm64". | |--- src/plugins/ruby/CMakeLists.txt.orig 2023-06-30 19:18:01.000000000 +0000 |+++ src/plugins/ruby/CMakeLists.txt -------------------------- Patching file src/plugins/ruby/CMakeLists.txt using Plan A... Hunk #1 succeeded at 29. done ===> Creating toolchain wrappers for weechat-4.0.2nb3 /bin/ln -s /tmp/chat/weechat/work/.buildlink/lib/pkgconfig/lua-5.4.pc /tmp/chat/weechat/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for weechat-4.0.2nb3 => Adjusting pkg-config python checks => Adjusting pkg-config ruby checks /bin/rm -f /tmp/chat/weechat/work/weechat-4.0.2/cmake/FindLua.cmake => Generating pkg-config files for builtin xz package. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Fixing locale directory references. => Checking for portability problems in extracted files CMake Deprecation Warning at CMakeLists.txt:22 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /tmp/chat/weechat/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /tmp/chat/weechat/work/.tools/bin/pkg-config (found version "2.0.3") -- 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 -- Looking for mallinfo2 -- Looking for mallinfo2 - not found -- Looking for eat_newline_glitch -- Looking for eat_newline_glitch - found -- 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 -- Found GCRYPT: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.5 -- Looking for iconv_open -- Looking for iconv_open - found -- Performing Test ICONV_2ARG_IS_CONST -- Performing Test ICONV_2ARG_IS_CONST - Success -- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.4.0") -- Looking for flock -- Looking for flock - found -- Looking for backtrace -- Looking for backtrace - not found -- Checking for module 'python-3.11-embed' -- Found python-3.11-embed, version 3.11 -- Checking for one of the modules 'ruby-3.2;ruby-3.1;ruby-3.1.4;ruby-2.7;ruby-2.6;ruby-2.5;ruby-2.4;ruby-2.3;ruby-2.2;ruby-2.1;ruby-2.0;ruby-1.9;ruby' -- Found Lua: /usr/pkg/lib/liblua5.4.so;/usr/lib/libm.so (found version "5.4.6") -- 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 -- Configuring done (11.0s) -- Generating done (0.4s) 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: /tmp/chat/weechat/work/weechat-4.0.2 => Rewrite cmake Dependencies files