+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ettercap-0.8.3.1nb13/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ettercap-0.8.3.1nb13/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for ettercap-0.8.3.1.tar.gz
=> Checksum SHA512 OK for ettercap-0.8.3.1.tar.gz
===> Installing dependencies for ettercap-0.8.3.1nb13
==========================================================================
The following variables will affect the build process of this package,
ettercap-0.8.3.1nb13.  Their current value is shown below:

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /usr/pkg/etc/openssl/certs
        * SSLDIR = /usr/pkg/etc/openssl
        * SSLKEYS = /usr/pkg/etc/openssl/private

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cmake>=3.18: found cmake-3.31.1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency check>=0.9.5: found check-0.15.2
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency GeoIP>=1.3.4nb1: found GeoIP-1.6.12nb1
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency libnet>=1.2: found libnet-1.2
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency openssl>=3: found openssl-3.3.2
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency cyrus-sasl>=2.1.12: found cyrus-sasl-2.1.28nb1
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libssh2>=0.18: found libssh2-1.11.1
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9
=> Full dependency xz>=5.0.0: found xz-5.6.3
===> Overriding tools for ettercap-0.8.3.1nb13
===> Extracting for ettercap-0.8.3.1nb13
===> Patching for ettercap-0.8.3.1nb13
=> Applying pkgsrc patches for ettercap-0.8.3.1nb13
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap/../../net/ettercap/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap/../../net/ettercap/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 2021/03/06 11:20:56 nia Exp $
|
|- Don't set CMAKE_LIBRARY_PATH.
|- Use policykit everywhere it makes sense.
|- Honour man pages path from environment.
|
|--- CMakeLists.txt.orig	2020-08-01 14:32:06.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 90.
Hunk #2 succeeded at 108.
Hunk #3 succeeded at 118.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap/../../net/ettercap/patches/patch-cmake_Modules_EttercapLibCheck.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap/../../net/ettercap/patches/patch-cmake_Modules_EttercapLibCheck.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_Modules_EttercapLibCheck.cmake,v 1.1 2021/03/06 11:20:56 nia Exp $
|
|Just use pkg-config to find GTK3 rather than a custom hellfire that checks
|30 system directories but nothing used by pkgsrc.
|
|--- cmake/Modules/EttercapLibCheck.cmake.orig	2020-08-01 14:32:06.000000000 +0000
|+++ cmake/Modules/EttercapLibCheck.cmake
--------------------------
Patching file cmake/Modules/EttercapLibCheck.cmake using Plan A...
Hunk #1 succeeded at 45.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap/../../net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap/../../net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-plug-ins_sslstrip_sslstrip.c,v 1.1 2023/04/13 12:38:53 wiz Exp $
|
|Fix build with curl 8.
|
|--- plug-ins/sslstrip/sslstrip.c.orig	2020-08-01 14:32:06.000000000 +0000
|+++ plug-ins/sslstrip/sslstrip.c
--------------------------
Patching file plug-ins/sslstrip/sslstrip.c using Plan A...
Hunk #1 succeeded at 53.
done
===> Creating toolchain wrappers for ettercap-0.8.3.1nb13
===> Configuring for ettercap-0.8.3.1nb13
/bin/mkdir -p /home/pbulk/build/net/ettercap/work/ettercap-0.8.3.1/build
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 8.5.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake:57 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/net/ettercap/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/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.31/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/net/ettercap/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/poll.h
-- Looking for sys/poll.h - found
-- Looking for sys/select.h
-- Looking for sys/select.h - found
-- Looking for sys/utsname.h
-- Looking for sys/utsname.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for getopt.h
-- Looking for getopt.h - found
-- Looking for ctype.h
-- Looking for ctype.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for arpa/nameser.h
-- Looking for arpa/nameser.h - found
-- Looking for ltdl.h
-- Looking for ltdl.h - not found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for libgen.h
-- Looking for libgen.h - found
-- Looking for cbreak in /home/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.so
-- Looking for cbreak in /home/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.so - found
-- Looking for nodelay in /home/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.so
-- Looking for nodelay in /home/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.so - found
-- Found Curses: /home/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.so
-- Found OpenSSL: /usr/pkg/lib/libcrypto.so (found version "3.3.2")
-- Found ZLIB: /home/pbulk/build/net/ettercap/work/.buildlink/lib/libz.so (found version "1.3.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for iconv
-- Looking for iconv - found
-- CURL support requested. Will look for curl >= 7.26.0
-- Found CURL: /home/pbulk/build/net/ettercap/work/.buildlink/lib/libcurl.so (Required is at least version "7.26.0")
-- Looking for poll
-- Looking for poll - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for select
-- Looking for select - found
-- Looking for scandir
-- Looking for scandir - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strlcat in bsd
-- Looking for strlcat in bsd - not found
-- Looking for strlcpy in bsd
-- Looking for strlcpy in bsd - not found
-- Looking for strsep
-- Looking for strsep - found
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for memmem
-- Looking for memmem - found
-- Looking for memrchr
-- Looking for memrchr - found
-- Looking for basename
-- Looking for basename - found
-- Looking for strndup
-- Looking for strndup - found
CMake Error at cmake/Modules/EttercapLibCheck.cmake:189 (message):
  libpcap not found!
Call Stack (most recent call first):
  CMakeLists.txt:102 (include)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/ettercap