+ 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/softether-5.02.5181nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/softether-5.02.5181nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for SoftEtherVPN/SoftEtherVPN-5.02.5181.tar.xz
=> Checksum SHA512 OK for SoftEtherVPN/SoftEtherVPN-5.02.5181.tar.xz
===> Installing dependencies for softether-5.02.5181nb1
==========================================================================
The following variables will affect the build process of this package,
softether-5.02.5181nb1.  Their current value is shown below:

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

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * 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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.6
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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
=> Build dependency cpu_features>=0.6.0: found cpu_features-0.7.0
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency libsodium>=0.3: found libsodium-1.0.20
=> Full dependency openssl>=3: found openssl-3.3.1
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.4
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for softether-5.02.5181nb1
===> Extracting for softether-5.02.5181nb1
===> Patching for softether-5.02.5181nb1
=> Applying pkgsrc patches for softether-5.02.5181nb1
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_Cedar_BridgeUnix.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_Cedar_BridgeUnix.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Cedar_BridgeUnix.c,v 1.1 2024/03/07 11:48:35 hauke Exp $
|
|Include netinet/if_ether.h for NetBSD in line with VLanUnix.c
|
|--- src/Cedar/BridgeUnix.c.orig	2023-12-03 16:16:54.000000000 +0000
|+++ src/Cedar/BridgeUnix.c
--------------------------
Patching file src/Cedar/BridgeUnix.c using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_Cedar_VLanUnix.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_Cedar_VLanUnix.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Cedar_VLanUnix.c,v 1.1 2024/03/07 11:48:35 hauke Exp $
|
|Include netinet/if_ether.h for NetBSD
|
|Conditionalize SIOCSIFLLADDR use
|
|Special-case NetBSD's ifr buffer name
|
|--- src/Cedar/VLanUnix.c.orig	2023-12-03 16:16:54.000000000 +0000
|+++ src/Cedar/VLanUnix.c
--------------------------
Patching file src/Cedar/VLanUnix.c using Plan A...
Hunk #1 succeeded at 29.
Hunk #2 succeeded at 463.
Hunk #3 succeeded at 474.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/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 2024/03/07 11:48:35 hauke Exp $
|
|Add NetBSD section
|
|--- src/CMakeLists.txt.orig	2024-03-05 12:37:51.985800248 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 91.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_Mayaqua_Unix.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether/patches/patch-src_Mayaqua_Unix.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Mayaqua_Unix.c,v 1.1 2024/03/07 11:48:35 hauke Exp $
|
|*BSD have statvfs
|
|--- src/Mayaqua/Unix.c.orig	2024-03-05 12:27:18.757261333 +0000
|+++ src/Mayaqua/Unix.c
--------------------------
Patching file src/Mayaqua/Unix.c using Plan A...
Hunk #1 succeeded at 51.
done
===> Creating toolchain wrappers for softether-5.02.5181nb1
===> Configuring for softether-5.02.5181nb1
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> 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/net/softether/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/auxv.h
-- Looking for sys/auxv.h - found
-- Build date: 03/07/2024
-- Build time: 17:05:25
-- Found PkgConfig: /home/pbulk/build/net/softether/work/.tools/bin/pkg-config (found version "2.2.0")
-- Checking for one of the modules 'libsodium'
-- Looking for cbreak in /usr/pkg/lib/libncurses.so
-- Looking for cbreak in /usr/pkg/lib/libncurses.so - found
-- Looking for nodelay in /usr/pkg/lib/libncurses.so
-- Looking for nodelay in /usr/pkg/lib/libncurses.so - found
-- Found Curses: /usr/pkg/lib/libncurses.so
-- Found OpenSSL: /usr/pkg/lib/libcrypto.so (found version "3.3.1")
-- Looking for EVP_PKEY_get_raw_public_key
-- Looking for EVP_PKEY_get_raw_public_key - found
-- Looking for SSL_CTX_set_num_tickets
-- Looking for SSL_CTX_set_num_tickets - found
-- Found ZLIB: /usr/pkg/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
CMake Deprecation Warning at src/Mayaqua/3rdparty/cpu_features/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 CXX compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /home/pbulk/build/net/softether/work/.cwrapper/bin/c++
-- Check for working CXX compiler: /home/pbulk/build/net/softether/work/.cwrapper/bin/c++ - broken
CMake Error at /usr/pkg/share/cmake-3.29/Modules/CMakeTestCXXCompiler.cmake:73 (message):
  The C++ compiler

    "/home/pbulk/build/net/softether/work/.cwrapper/bin/c++"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/pbulk/build/net/softether/work/SoftEtherVPN-5.02.5181/CMakeFiles/CMakeScratch/TryCompile-RfAPOR'
    
    Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1 /bin/gmake -f Makefile cmTC_7df18/fast
    make  -f CMakeFiles/cmTC_7df18.dir/build.make CMakeFiles/cmTC_7df18.dir/build
    Building CXX object CMakeFiles/cmTC_7df18.dir/testCXXCompiler.cxx.o
    /home/pbulk/build/net/softether/work/.cwrapper/bin/c++   -pipe -O2 -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/sodium -o CMakeFiles/cmTC_7df18.dir/testCXXCompiler.cxx.o -c /home/pbulk/build/net/softether/work/SoftEtherVPN-5.02.5181/CMakeFiles/CMakeScratch/TryCompile-RfAPOR/testCXXCompiler.cxx
    PKGSRC-WARNING: Something is trying to run the c++ compiler,
    PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
    *** Error code 1
    
    Stop.
    make[1]: stopped in /home/pbulk/build/net/softether/work/SoftEtherVPN-5.02.5181/CMakeFiles/CMakeScratch/TryCompile-RfAPOR
    gmake: *** [cmTC_7df18/fast] Error 1
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  src/Mayaqua/3rdparty/cpu_features/CMakeLists.txt:3 (project)


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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/softether