+ 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.14.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libfido2-1.14.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libfido2-1.14.0.tar.gz
=> Checksum SHA512 OK for libfido2-1.14.0.tar.gz
===> Installing dependencies for libfido2-1.14.0nb1
==========================================================================
The following variables will affect the build process of this package,
libfido2-1.14.0nb1.  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 cmake>=0: found cmake-3.29.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency pax>=20040802: found pax-20210219
=> 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.11.0
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency openssl>=3: found openssl-3.3.0
===> Overriding tools for libfido2-1.14.0nb1
===> Extracting for libfido2-1.14.0nb1
===> Patching for libfido2-1.14.0nb1
=> Applying pkgsrc patches for libfido2-1.14.0nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/libfido2/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/security/libfido2/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.3 2024/02/21 10:47:10 nia Exp $
|
|Remove overzealous compiler options and let pkgsrc define the
|stack protection to use.
|
|--- CMakeLists.txt.orig	2023-11-13 07:19:20.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 90.
Hunk #2 succeeded at 294.
done
===> Creating toolchain wrappers for libfido2-1.14.0nb1
===> Configuring for libfido2-1.14.0nb1
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.2.0
-- 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
-- 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 asprintf
-- Looking for asprintf - 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 "2.2.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: OFF
-- 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_BIN_DIRS: 
-- CBOR_VERSION: 0.11.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 -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include
-- CMAKE_CROSSCOMPILING: FALSE
-- CMAKE_GENERATOR_PLATFORM: 
-- CMAKE_HOST_SYSTEM_NAME: SunOS
-- CMAKE_HOST_SYSTEM_PROCESSOR: i386
-- CMAKE_INSTALL_LIBDIR: lib
-- CMAKE_INSTALL_PREFIX: /opt/pkg
-- CMAKE_SYSTEM_NAME: SunOS
-- CMAKE_SYSTEM_PROCESSOR: i386
-- CMAKE_SYSTEM_VERSION: 5.11
-- CRYPTO_INCLUDE_DIRS: /opt/pkg/include
-- CRYPTO_LIBRARIES: crypto
-- CRYPTO_LIBRARY_DIRS: /opt/pkg
-- CRYPTO_BIN_DIRS: 
-- CRYPTO_VERSION: 3.3.0
-- FIDO_VERSION: 1.14.0
-- FUZZ: OFF
-- ZLIB_INCLUDE_DIRS: /opt/pkg/include
-- ZLIB_LIBRARIES: z
-- ZLIB_LIBRARY_DIRS: /opt/pkg/lib
-- ZLIB_BIN_DIRS: 
-- ZLIB_VERSION: 1.3.1
-- PCSC_INCLUDE_DIRS: 
-- PCSC_LIBRARIES: 
-- PCSC_LIBRARY_DIRS: 
-- PCSC_VERSION: 
-- TLS: __thread
-- UDEV_INCLUDE_DIRS: 
-- UDEV_LIBRARIES: 
-- UDEV_LIBRARY_DIRS: 
-- UDEV_RULES_DIR: 
-- UDEV_VERSION: 
-- USE_HIDAPI: OFF
-- USE_PCSC: OFF
-- USE_WINHELLO: OFF
-- NFC_LINUX: OFF
CMake Error at src/CMakeLists.txt:84 (message):
  please define a hid backend for your platform


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

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

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