=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> 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.30.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Full dependency msgpack>=1.2.0: found msgpack-6.1.0nb1
===> 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 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
===> 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".
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 10.5.0
-- The CXX compiler identification is GNU 10.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.30/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.30/Modules/Platform/NetBSD.cmake includes
  /pbulk/work/sysutils/fluent-bit/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.30/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):
  /usr/pkg/share/cmake-3.30/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:2 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.30/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.30/Modules/Platform/NetBSD.cmake includes
  /pbulk/work/sysutils/fluent-bit/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.30/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):
  /usr/pkg/share/cmake-3.30/Modules/CMakeCInformation.cmake:66 (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: /pbulk/work/sysutils/fluent-bit/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.30/Modules/Platform/NetBSD.cmake:50 (include):
  File /usr/pkg/share/cmake-3.30/Modules/Platform/NetBSD.cmake includes
  /pbulk/work/sysutils/fluent-bit/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.30/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):
  /usr/pkg/share/cmake-3.30/Modules/CMakeCXXInformation.cmake:65 (include)
  CMakeLists.txt:2 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /pbulk/work/sysutils/fluent-bit/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /pbulk/work/sysutils/fluent-bit/work/.tools/bin/pkg-config (found version "2.3.0")
-- Could NOT find Journald (missing: JOURNALD_LIBRARY JOURNALD_INCLUDE_DIR) 
-- Found Monkey: /pbulk/work/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 - Failed
-- Performing Test HAVE_KQUEUE
-- Performing Test HAVE_KQUEUE - Failed
-- Event loop backend > select(2)
-- Performing Test HAVE_TIMERFD_CREATE
-- Performing Test HAVE_TIMERFD_CREATE - Failed
-- Performing Test HAVE_EVENTFD
-- Performing Test HAVE_EVENTFD - Failed
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 - Failed
-- Performing Test FLB_HAVE_TIMESPEC_GET
-- Performing Test FLB_HAVE_TIMESPEC_GET - Failed
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
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_3de81/fast
-- Performing Test FLB_HAVE_C_TLS - Failed
-- Performing Test FLB_HAVE_ACCEPT4
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_2242b/fast
-- Performing Test FLB_HAVE_ACCEPT4 - Failed
-- Performing Test FLB_HAVE_INOTIFY
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_d8fe7/fast
-- Performing Test FLB_HAVE_INOTIFY - Failed
-- Looking for accept4
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_008b9/fast
-- Looking for accept4 - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_5dceb/fast
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_28551/fast
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_477d3/fast
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
CMake Error: Generator: execution of make failed. Make command was: /usr/pkg/bin/cmake -E env VERBOSE=1 /pbulk/work/sysutils/fluent-bit/work/.tools/bin/make -f Makefile cmTC_78b52/fast
-- Check if compiler accepts -pthread - no
-- Could NOT find Threads (missing: Threads_FOUND) 
-- Could NOT find Threads (missing: Threads_FOUND) 
-- Could NOT find Threads (missing: Threads_FOUND) 
-- Could NOT find Threads (missing: Threads_FOUND) 
-- Could NOT find Threads (missing: Threads_FOUND) 
-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/fluent-bit
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/fluent-bit