+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=27 PYTHON_VERSION_REQD=39 LUA_VERSION_REQD=53 WRKLOG=/tmp/bulklog/weechat-3.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=27 PYTHON_VERSION_REQD=39 LUA_VERSION_REQD=53 WRKLOG=/tmp/bulklog/weechat-3.5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for weechat-3.5.tar.xz => Checksum SHA512 OK for weechat-3.5.tar.xz ===> Installing dependencies for weechat-3.5 ========================================================================== 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-3.5. Their current value is shown below: * CURSES_DEFAULT = ncursesw * LUA_VERSION_DEFAULT = 53 * PYTHON_VERSION_DEFAULT = 39 * READLINE_DEFAULT = readline * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = ncursesw * LUA_PACKAGE = lua53 * PYPACKAGE = python39 * READLINE_TYPE = readline * 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 ruby27-asciidoctor-[0-9]*: found ruby27-asciidoctor-2.0.17 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3 => Tool dependency perl>=5.34.0: found perl-5.34.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency python39>=3.9.0: found python39-3.9.13 => Full dependency gettext-lib>=0.18: found gettext-lib-0.21 => Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3 => Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6 => Full dependency ncursesw>=6.0: found ncursesw-6.3 => Full dependency perl>=5.34.0<5.36.0: found perl-5.34.1 => Full dependency ruby27-base>=2.7.6: found ruby27-base-2.7.6 => Full dependency zstd>=1.3.6: found zstd-1.5.2 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency zlib>=1.2.3: found zlib-1.2.12nb1 => Full dependency curl>=7.80.0: found curl-7.83.1 => Full dependency gnutls>=3.7.2nb1: found gnutls-3.7.6 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.1 ===> Overriding tools for weechat-3.5 ===> Extracting for weechat-3.5 ===> Patching for weechat-3.5 => Applying pkgsrc patches for weechat-3.5 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/weechat/patches/patch-cmake_FindNcurses.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/weechat/patches/patch-po_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.5 2019/12/10 13:04:06 nia Exp $ | |Drop package-name and package-version args to xgettext. | |--- po/CMakeLists.txt.orig 2019-12-08 08:48:53.000000000 +0000 |+++ po/CMakeLists.txt -------------------------- Patching file po/CMakeLists.txt using Plan A... Hunk #1 succeeded at 58 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/weechat/patches/patch-src_plugins_lua_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.1 2020/07/26 23:10:21 nia Exp $ | |Use the standard variables defined by cmake's own FindLua. | |--- src/plugins/lua/CMakeLists.txt.orig 2020-07-18 11:59:02.000000000 +0000 |+++ src/plugins/lua/CMakeLists.txt -------------------------- Patching file src/plugins/lua/CMakeLists.txt using Plan A... Hunk #1 succeeded at 25. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 1343 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/chat/weechat/patches/patch-src_plugins_ruby_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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.1 2022/02/24 09:55:40 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 2021-12-18 07:57:32.000000000 +0000 |+++ src/plugins/ruby/CMakeLists.txt -------------------------- Patching file src/plugins/ruby/CMakeLists.txt using Plan A... Hunk #1 succeeded at 25. done ===> Creating toolchain wrappers for weechat-3.5 /usr/bin/ln -s /home/pbulk/build/chat/weechat/work/.buildlink/lib/pkgconfig/lua-5.3.pc /home/pbulk/build/chat/weechat/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for weechat-3.5 => Adjusting pkg-config python checks => Adjusting pkg-config ruby checks /usr/bin/rm -f /home/pbulk/build/chat/weechat/work/weechat-3.5/cmake/FindLua.cmake => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => 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 "doc/sr/Makefile.am". INFO: [subst.mk:pkglocaledir] Nothing changed in "icons/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/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/spell/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/typing/Makefile.am". INFO: [subst.mk:pkglocaledir] Nothing changed in "src/plugins/xfer/Makefile.am". INFO: [subst.mk:pkglocaledir] Nothing changed in "tests/Makefile.am". => Checking for portability problems in extracted files -- The C compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/chat/weechat/work/.cwrapper/bin/gcc - skipped -- 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 -- 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/opt/pkg/lib -Wl,-R/opt/pkg/lib -lgcrypt -lgpg-error -lsocket -- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.12") -- Found PkgConfig: /home/pbulk/build/chat/weechat/work/.tools/bin/pkg-config (found version "1.8.0") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.2 -- Looking for libiconv_open in /opt/pkg/lib/libiconv.so -- Looking for libiconv_open in /opt/pkg/lib/libiconv.so - found -- Looking for iconv_open in /opt/pkg/lib/libiconv.so -- Looking for iconv_open in /opt/pkg/lib/libiconv.so - found -- Performing Test ICONV_2ARG_IS_CONST -- Performing Test ICONV_2ARG_IS_CONST - Success -- Found CURL: /opt/pkg/lib/libcurl.so (found version "7.83.1") -- Looking for flock -- Looking for flock - found -- Looking for backtrace -- Looking for backtrace - found CMake Warning (dev) at /opt/pkg/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (Python). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindPkgConfig.cmake:41 (find_package_handle_standard_args) cmake/FindPython.cmake:31 (include) src/plugins/CMakeLists.txt:103 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'python-3.9-embed' -- Found python-3.9-embed, version 3.9 -- Checking for one of the modules 'ruby-3.1;ruby-2.7.6;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: /opt/pkg/lib/liblua5.3.so;/usr/lib/64/libm.so (found version "5.3.6") -- Checking for one of the modules 'ncursesw' CMake Warning (dev) at /opt/pkg/share/cmake-3.23/Modules/CheckIncludeFiles.cmake:122 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: /opt/pkg/lib/libiconv.so For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): src/gui/curses/normal/CMakeLists.txt:34 (check_include_files) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for include file ncursesw/ncurses.h -- Looking for include file ncursesw/ncurses.h - found -- Configuring done -- Generating done 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: /home/pbulk/build/chat/weechat/work/weechat-3.5 => Rewrite cmake Dependencies files