+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 PYTHON_VERSION_REQD=311 LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/weechat-4.1.2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 PYTHON_VERSION_REQD=311 LUA_VERSION_REQD=54 WRKLOG=/tmp/bulklog/weechat-4.1.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for weechat-4.1.2.tar.xz => Checksum SHA512 OK for weechat-4.1.2.tar.xz ===> Installing dependencies for weechat-4.1.2 ========================================================================== 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.1.2. Their current value is shown below: * CURSES_DEFAULT = ncursesw * LUA_VERSION_DEFAULT = 54 * PYTHON_VERSION_DEFAULT = 311 * READLINE_DEFAULT = readline * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = ncursesw * LUA_PACKAGE = lua54 * PYPACKAGE = python311 * 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 `/usr/pkg/bin/bmake 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.28.1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency perl>=5.38.0: found perl-5.38.2 => 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.7 => Full dependency lua54>=5.4.0<5.5: found lua54-5.4.6nb1 => Full dependency ncursesw>=6.0: found ncursesw-6.4 => Full dependency perl>=5.38.0<5.39.0: found perl-5.38.2 => 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 zlib>=1.2.3: found zlib-1.2.13 => Full dependency curl>=8.4.0nb1: found curl-8.5.0 => Full dependency gnutls>=3.8.1nb2: found gnutls-3.8.2 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.10.3 ===> Overriding tools for weechat-4.1.2 ===> Extracting for weechat-4.1.2 ===> Patching for weechat-4.1.2 => Applying pkgsrc patches for weechat-4.1.2 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat/patches/patch-cmake_FindNcurses.cmake => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-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 /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat/patches/patch-po_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-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 /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat/patches/patch-src_plugins_lua_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-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 /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat/patches/patch-src_plugins_perl_weechat-perl.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-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 1357 (offset 17 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat/patches/patch-src_plugins_ruby_CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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.1.2 /bin/ln -s /home/pbulk/build/chat/weechat/work/.buildlink/lib/pkgconfig/lua-5.4.pc /home/pbulk/build/chat/weechat/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for weechat-4.1.2 => Adjusting pkg-config python checks => Adjusting pkg-config ruby checks /bin/rm -f /home/pbulk/build/chat/weechat/work/weechat-4.1.2/cmake/FindLua.cmake => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Fixing locale directory references. => Checking for portability problems in extracted files -- The C compiler identification is GNU 4.8.5 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/chat/weechat/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /home/pbulk/build/chat/weechat/work/.tools/bin/pkg-config (found version "2.0.3") -- Looking for include file langinfo.h -- Looking for include file langinfo.h - not found -- Looking for include file sys/resource.h -- Looking for include file sys/resource.h - 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 - not found -- Found GCRYPT: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error -- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.2.13") -- Checking for module 'libzstd' -- Found libzstd, version 1.5.5 -- Looking for iconv_open -- Looking for iconv_open - not found -- Performing Test ICONV_2ARG_IS_CONST -- Performing Test ICONV_2ARG_IS_CONST - Failed -- Found CURL: /usr/pkg/lib/libcurl.so (found version "8.5.0") -- Looking for include file libintl.h -- Looking for include file libintl.h - not found CMake Error at cmake/FindGettext.cmake:49 (message): Header libintl.h not found, required if ENABLE_NLS is enabled Call Stack (most recent call first): CMakeLists.txt:251 (find_package) -- Looking for dgettext -- Looking for dgettext - not found CMake Error at /usr/pkg/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Failed to find Gettext libintl (missing: Intl_LIBRARY) Call Stack (most recent call first): /usr/pkg/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/pkg/share/cmake-3.28/Modules/FindIntl.cmake:161 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:253 (find_package) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/chat/weechat