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

        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libcbor>=0.8.0: found libcbor-0.9.0
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency openssl>=1.1.1dnb2: found openssl-1.1.1o
===> Overriding tools for libfido2-1.10.0
===> Extracting for libfido2-1.10.0
===> Patching for libfido2-1.10.0
===> Creating toolchain wrappers for libfido2-1.10.0
===> Configuring for libfido2-1.10.0
/usr/bin/mkdir -p /home/pbulk/build/security/libfido2/work/libfido2-1.10.0/build
=> 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 10.3.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.23/Modules/Platform/SunOS.cmake:10 (include):
  File /opt/pkg/share/cmake-3.23/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/security/libfido2/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.23/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.23/Modules/CMakeSystemSpecificInformation.cmake:27 (include)
  CMakeLists.txt:8 (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/security/libfido2/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test HAVE_SHORTEN_64_TO_32
-- Performing Test HAVE_SHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_STACK_PROTECTOR_ALL
-- Performing Test HAVE_STACK_PROTECTOR_ALL - Success
-- Looking for include file cbor.h
-- Looking for include file cbor.h - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file err.h
-- Looking for include file err.h - found
-- Looking for include file openssl/opensslv.h
-- Looking for include file openssl/opensslv.h - found
-- Looking for include file signal.h
-- Looking for include file signal.h - found
-- Looking for include file sys/random.h
-- Looking for include file sys/random.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for arc4random_buf
-- Looking for arc4random_buf - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Looking for explicit_bzero
-- Looking for explicit_bzero - not found
-- Looking for freezero
-- Looking for freezero - not found
-- Looking for getline
-- Looking for getline - not found
-- Looking for getopt
-- Looking for getopt - found
-- Looking for getpagesize
-- Looking for getpagesize - not found
-- Looking for getrandom
-- Looking for getrandom - found
-- Looking for memset_s
-- Looking for memset_s - not found
-- Looking for readpassphrase
-- Looking for readpassphrase - not found
-- Looking for recallocarray
-- Looking for recallocarray - not found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strlcpy
-- Looking for strlcpy - not found
-- Looking for strsep
-- Looking for strsep - not found
-- Looking for sysconf
-- Looking for sysconf - found
-- Looking for timespecsub
-- Looking for timespecsub - not found
-- Looking for timingsafe_bcmp
-- Looking for timingsafe_bcmp - not found
-- Found PkgConfig: /home/pbulk/build/security/libfido2/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Checking for one of the modules 'libcbor'
-- Checking for one of the modules 'libcrypto'
-- Checking for one of the modules 'zlib'
-- BASE_LIBRARIES: 
-- BUILD_EXAMPLES: ON
-- BUILD_MANPAGES: ON
-- BUILD_SHARED_LIBS: ON
-- BUILD_STATIC_LIBS: ON
-- BUILD_TOOLS: ON
-- CBOR_INCLUDE_DIRS: /opt/pkg/include
-- CBOR_LIBRARIES: cbor
-- CBOR_LIBRARY_DIRS: /opt/pkg/lib
-- CBOR_VERSION: 0.9.0
-- CMAKE_BUILD_TYPE: 
-- CMAKE_C_COMPILER: /home/pbulk/build/security/libfido2/work/.cwrapper/bin/gcc
-- CMAKE_C_COMPILER_ID: GNU
-- CMAKE_C_FLAGS:  -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE -std=c99 -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include
-- CMAKE_INSTALL_LIBDIR: lib
-- CMAKE_INSTALL_PREFIX: /opt/pkg
-- CMAKE_SYSTEM_NAME: SunOS
-- CMAKE_SYSTEM_VERSION: 5.11
-- CRYPTO_INCLUDE_DIRS: /opt/pkg/include
-- CRYPTO_LIBRARIES: crypto
-- CRYPTO_LIBRARY_DIRS: /opt/pkg/lib
-- CRYPTO_VERSION: 1.1.1o
-- FIDO_VERSION: 1.10.0
-- FUZZ: OFF
-- ZLIB_INCLUDE_DIRS: /opt/pkg/include
-- ZLIB_LIBRARIES: z
-- ZLIB_LIBRARY_DIRS: /opt/pkg/lib
-- ZLIB_VERSION: 1.2.12
-- LIBFUZZER: OFF
-- TLS: __thread
-- UDEV_INCLUDE_DIRS: 
-- UDEV_LIBRARIES: 
-- UDEV_LIBRARY_DIRS: 
-- UDEV_RULES_DIR: 
-- UDEV_VERSION: 
-- USE_HIDAPI: OFF
-- USE_WINHELLO: OFF
-- NFC_LINUX: OFF
CMake Error at src/CMakeLists.txt:74 (message):
  please define a hid backend for your platform


-- Configuring incomplete, errors occurred!
See also "/home/pbulk/build/security/libfido2/work/libfido2-1.10.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/pbulk/build/security/libfido2/work/libfido2-1.10.0/build/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/libfido2
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/libfido2