+ 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/cpuminer-2.5.1nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cpuminer-2.5.1nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for cpuminer-2.5.1.tar.gz
=> Checksum SHA512 OK for cpuminer-2.5.1.tar.gz
===> Installing dependencies for cpuminer-2.5.1nb3
==========================================================================
The following variables will affect the build process of this package,
cpuminer-2.5.1nb3.  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 automake>=1.9: found automake-1.16.5nb2
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency jansson>=2.4nb1: found jansson-2.13.1
=> Full dependency curl>=7.84.0nb1: found curl-7.85.0
===> Overriding tools for cpuminer-2.5.1nb3
===> Extracting for cpuminer-2.5.1nb3
===> Patching for cpuminer-2.5.1nb3
=> Applying pkgsrc patches for cpuminer-2.5.1nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/finance/cpuminer/patches/patch-miner.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/finance/cpuminer/patches/patch-miner.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-miner.h,v 1.1 2021/05/29 19:30:57 khorben Exp $
|
|Fix build on Aarch64 (from upstream)
|
|--- miner.h.orig	2020-06-25 15:02:57.000000000 +0000
|+++ miner.h
--------------------------
Patching file miner.h using Plan A...
Hunk #1 succeeded at 137.
done
===> Creating toolchain wrappers for cpuminer-2.5.1nb3
===> Configuring for cpuminer-2.5.1nb3
cd /home/pbulk/build/finance/cpuminer/work/cpuminer-2.5.1 && /usr/bin/bash ./autogen.sh
configure.ac:13: installing './compile'
configure.ac:4: installing './config.guess'
configure.ac:4: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing './depcomp'
configure.ac:4: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:4: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:4: the top level
configure.ac:13: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:13: the top level
configure.ac:20: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:20: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:20: the top level
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking whether gcc needs -traditional... no
checking dependency style of gcc... gcc3
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for sys/endian.h... no
checking for sys/param.h... yes
checking for syslog.h... yes
checking for sys/sysctl.h... no
checking for gcc options needed to detect all undeclared functions... none needed
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... yes
checking for pthread_create in -lpthread... yes
checking for gawk... (cached) /opt/pkg/bin/nawk
checking for curl-config... /opt/pkg/bin/curl-config
checking for the version of libcurl... 7.85.0
checking for libcurl >= version 7.15.2... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --with-libiconv-prefix