+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fluent-bit-0.13.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fluent-bit-0.13.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for fluent-bit-0.13.2.tar.gz
=> Checksum SHA512 OK for fluent-bit-0.13.2.tar.gz
===> Installing dependencies for fluent-bit-0.13.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.3nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency msgpack>=1.2.0: found msgpack-3.3.0nb1
===> Overriding tools for fluent-bit-0.13.2
===> Extracting for fluent-bit-0.13.2
===> Patching for fluent-bit-0.13.2
=> Applying pkgsrc patches for fluent-bit-0.13.2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/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.1 2018/06/17 16:33:36 minskim Exp $
|
|Disable in-tree msgpack.
|
|--- CMakeLists.txt.orig	2018-05-21 16:59:19.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 186.
Hunk #2 succeeded at 203.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-include_fluent-bit_flb__thread__libco.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-include_fluent-bit_flb__thread__libco.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_fluent-bit_flb__thread__libco.h,v 1.1 2020/04/20 00:45:56 joerg Exp $
|
|NetBSD doesn't define THREAD_STACK_MIN, so pick an arbitrary 16 pages.
|
|--- include/fluent-bit/flb_thread_libco.h.orig	2018-05-21 16:59:19.000000000 +0000
|+++ include/fluent-bit/flb_thread_libco.h
--------------------------
Patching file include/fluent-bit/flb_thread_libco.h using Plan A...
Hunk #1 succeeded at 54.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-plugins_in__serial_in__serial.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-plugins_in__serial_in__serial.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plugins_in__serial_in__serial.c,v 1.1 2020/04/20 00:45:56 joerg Exp $
|
|For B57600 and higher.
|
|--- plugins/in_serial/in_serial.c.orig	2020-04-19 19:27:16.117063000 +0000
|+++ plugins/in_serial/in_serial.c
--------------------------
Patching file plugins/in_serial/in_serial.c using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/fluent-bit/patches/patch-src_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_CMakeLists.txt,v 1.1 2018/06/17 16:33:36 minskim Exp $
|
|- Set shared library versions.
|- Change the configuration file location.
|
|--- src/CMakeLists.txt.orig	2018-05-21 16:59:19.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 194.
Hunk #2 succeeded at 257.
done
===> Creating toolchain wrappers for fluent-bit-0.13.2
===> Configuring for fluent-bit-0.13.2
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.29/Modules/Platform/SunOS.cmake:34 (include):
  File /opt/pkg/share/cmake-3.29/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/sysutils/fluent-bit/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.29/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):
  /opt/pkg/share/cmake-3.29/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:2 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/sysutils/fluent-bit/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/sysutils/fluent-bit/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/pbulk/build/sysutils/fluent-bit/work/.tools/bin/pkg-config (found version "2.2.0")
-- Could NOT find Journald (missing: JOURNALD_LIBRARY JOURNALD_INCLUDE_DIR) 
-- Found Monkey: /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2/lib/monkey/include
CMake Warning (dev) at CMakeLists.txt:228 (set):
  implicitly converting '' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:230 (MK_SET_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:228 (set):
  implicitly converting '' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:231 (MK_SET_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test HAVE_STAT_H
-- Performing Test HAVE_STAT_H - Success
-- Performing Test HAVE_SYS_UIO_H
-- Performing Test HAVE_SYS_UIO_H - Success
-- Performing Test HAVE_UNISTD_H
-- Performing Test HAVE_UNISTD_H - Success
-- Performing Test HAVE_EPOLL
-- Performing Test HAVE_EPOLL - Success
-- Performing Test HAVE_KQUEUE
-- Performing Test HAVE_KQUEUE - Failed
-- Performing Test HAVE_TIMERFD_CREATE
-- Performing Test HAVE_TIMERFD_CREATE - Success
-- Performing Test HAVE_EVENTFD
-- Performing Test HAVE_EVENTFD - Success
CMake Deprecation Warning at lib/mbedtls-2.8.0/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning (dev) at CMakeLists.txt:175 (set):
  implicitly converting '' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:296 (FLB_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test FLB_HAVE_VALGRIND
-- Performing Test FLB_HAVE_VALGRIND - Failed
-- Performing Test FLB_HAVE_FORK
-- Performing Test FLB_HAVE_FORK - Success
-- Performing Test FLB_HAVE_TIMESPEC_GET
-- Performing Test FLB_HAVE_TIMESPEC_GET - Success
CMake Warning (dev) at CMakeLists.txt:175 (set):
  implicitly converting '' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:390 (FLB_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Performing Test FLB_HAVE_C_TLS
-- Performing Test FLB_HAVE_C_TLS - Success
-- Performing Test FLB_HAVE_ACCEPT4
-- Performing Test FLB_HAVE_ACCEPT4 - Failed
-- Performing Test FLB_HAVE_INOTIFY
-- Performing Test FLB_HAVE_INOTIFY - Success
-- Looking for accept4
-- Looking for accept4 - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done (14.3s)
-- Generating done (0.4s)
-- Build files have been written to: /home/pbulk/build/sysutils/fluent-bit/work/fluent-bit-0.13.2
=> Rewrite cmake Dependencies files