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.1nb14 ========================================================================== The following variables will affect the build process of this package, ettercap-0.8.3.1nb14. Their current value is shown below: * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/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 `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency bison>=1.0: found bison-3.8.2nb1 => Tool dependency cmake>=3.18: found cmake-3.31.7nb1 => Tool dependency m4>=1.4: found m4-1.4.19nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3 => 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 => Full dependency GeoIP>=1.3.4nb1: found GeoIP-1.6.12nb1 => Full dependency curl>=8.13.0nb1: found curl-8.13.0nb1 => 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.4.1 => 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 gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => 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.14.2nb1 => Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0nb1 => Full dependency openldap-client>=2.4.6: found openldap-client-2.6.9 => Full dependency xz>=5.0.0: found xz-5.8.1 ===> Overriding tools for ettercap-0.8.3.1nb14 ===> Extracting for ettercap-0.8.3.1nb14 ===> Patching for ettercap-0.8.3.1nb14 => Applying pkgsrc patches for ettercap-0.8.3.1nb14 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/ettercap/../../net/ettercap/patches/patch-CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/ettercap/../../net/ettercap/patches/patch-cmake_Modules_EttercapLibCheck.cmake => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/net/ettercap/../../net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/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.1nb14 ===> Configuring for ettercap-0.8.3.1nb14 /bin/mkdir -p /Users/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 value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is AppleClang 13.1.6.13160021 CMake Warning (dev) at /opt/pkg/share/cmake-3.31/Modules/Platform/Darwin.cmake:249 (include): File /opt/pkg/share/cmake-3.31/Modules/Platform/Darwin.cmake includes /Users/pbulk/build/net/ettercap/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake (found via CMAKE_MODULE_PATH) which shadows /opt/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): /opt/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: /Users/pbulk/build/net/ettercap/work/.cwrapper/bin/clang - 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 wsyncup in /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libcurses.tbd -- Looking for wsyncup in /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/lib/libcurses.tbd - found -- Looking for cbreak in /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.dylib -- Looking for cbreak in /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.dylib - found -- Looking for nodelay in /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.dylib -- Looking for nodelay in /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.dylib - found -- Found Curses: /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libncurses.dylib -- Found OpenSSL: /opt/pkg/lib/libcrypto.dylib (found version "3.4.1") -- Found ZLIB: /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libz.dylib (found version "1.3.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for iconv -- Looking for iconv - not found -- Looking for dlopen -- Looking for dlopen - found -- CURL support requested. Will look for curl >= 7.26.0 -- Found CURL: /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libcurl.dylib (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 - found -- Looking for strlcpy -- Looking for strlcpy - 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 - not found -- Looking for basename -- Looking for basename - found -- Looking for strndup -- Looking for strndup - found -- GeoIP support requested. Will look for the legacy GeoIP C library -- Found PkgConfig: /Users/pbulk/build/net/ettercap/work/.tools/bin/pkg-config (found version "2.4.3") -- Checking for one of the modules 'geoip' -- Found GEOIP: /opt/pkg/lib/libGeoIP.dylib -- IPV6 support requested. Will look for libnet >= 1.1.5 -- Found LIBNET: /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libnet.dylib (Required is at least version "1.1.5") -- Found PCRE: /Users/pbulk/build/net/ettercap/work/.buildlink/lib/libpcre.dylib CMake Warning (dev) at /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (LIBCHECK). 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): /opt/pkg/share/cmake-3.31/Modules/FindPkgConfig.cmake:114 (find_package_handle_standard_args) cmake/Modules/FindLIBCHECK.cmake:9 (include) cmake/Modules/EttercapLibCheck.cmake:261 (find_package) CMakeLists.txt:102 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'libcheck' -- Package 'libcheck' not found -- Checking for module 'check' -- Found check, version 0.15.2 -- Performing Test HAVE_MUTEX_RECURSIVE_NP -- Performing Test HAVE_MUTEX_RECURSIVE_NP - Failed -- Found BISON: /Users/pbulk/build/net/ettercap/work/.tools/bin/bison (found version "3.8.2") -- Found FLEX: /Users/pbulk/build/net/ettercap/work/.tools/bin/flex (found version "2.6.4") -- The following OPTIONAL packages have been found: * CURL (required version >= 7.26.0) * GEOIP * LIBNET (required version >= 1.1.5) * PCRE * PkgConfig * LIBCHECK * BISON * FLEX -- The following REQUIRED packages have been found: * Curses * OpenSSL * ZLIB * Threads -- Configuring done (15.2s) -- Generating done (0.4s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR -- Build files have been written to: /Users/pbulk/build/net/ettercap/work/ettercap-0.8.3.1/build => Rewrite cmake Dependencies files