+ 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/dropbear-2024.85/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dropbear-2024.85/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for dropbear-2024.85.tar.bz2
=> Checksum SHA512 OK for dropbear-2024.85.tar.bz2
===> Installing dependencies for dropbear-2024.85
==========================================================================
The supported build options for dropbear are:

	pam

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.dropbear (not defined)

==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency ltm>=0.30nb1: found ltm-1.3.0
=> Full dependency libtomcrypt>=1.17nb2: found libtomcrypt-1.18.2
===> Overriding tools for dropbear-2024.85
===> Extracting for dropbear-2024.85
===> Patching for dropbear-2024.85
=> Applying pkgsrc patches for dropbear-2024.85
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/dropbear/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/dropbear/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2023/12/20 17:09:36 wiz Exp $
|
|this test for the system libtomcrypt needs -ltommath.
|
|--- configure.orig	2022-11-14 14:30:00.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 7698 (offset -3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/dropbear/patches/patch-src_default__options.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/dropbear/patches/patch-src_default__options.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_default__options.h,v 1.1 2024/04/04 12:13:28 wiz Exp $
|
|comment out the path to the dropbear ssh client
|- this is passed through CFLAGS
|
|--- src/default_options.h.orig	2024-04-04 14:30:00.000000000 +0000
|+++ src/default_options.h
--------------------------
Patching file src/default_options.h using Plan A...
Hunk #1 succeeded at 324.
done
===> Creating toolchain wrappers for dropbear-2024.85
===> Configuring for dropbear-2024.85
=> 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
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
configure: Setting LTM_CFLAGS to -O3 -funroll-loops -fomit-frame-pointer
configure: Checking if compiler 'gcc' supports -Wno-pointer-sign
configure: Setting -Wno-pointer-sign
configure: Checking if compiler 'gcc' supports -fno-strict-overflow
configure: Setting -fno-strict-overflow
configure: Checking if compiler 'gcc' supports -Wundef
configure: Setting -Wundef
configure: Checking for available hardened build flags:
configure: Setting -fPIE
configure: Setting -Wl,-pie
configure: Not setting -Wl,-z,now -Wl,-z,relro
configure: Setting -fstack-protector-strong
configure: Setting -D_FORTIFY_SOURCE=2
configure: Setting -mfunction-return=thunk
configure: Setting -mindirect-branch=thunk
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for obsolete utmp and wtmp in solaris2.x... yes
checking for socket in -lsocket... yes
checking for yp_match in -lnsl... yes
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for gcc options needed to detect all undeclared functions... none needed
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 sys/select.h... yes
checking for sys/socket.h... yes
checking whether __UCLIBC__ is declared... no
checking for crypt... yes
checking for crypt in -lcrypt... yes
checking for deflate in -lz... yes
configure: Enabling zlib
configure: Disabling PAM
configure: Using openpty if available
checking for library containing openpty... no
configure: Enabling syslog
checking for shadow.h... yes
configure: Using shadow passwords if available
configure: Disabling fuzzing
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for crypt.h... yes
checking for pty.h... no
checking for libutil.h... no
checking for libgen.h... yes
checking for inttypes.h... (cached) yes
checking for stropts.h... yes
checking for utmp.h... yes
checking for utmpx.h... yes
checking for lastlog.h... yes
checking for paths.h... yes
checking for util.h... no
checking for netdb.h... yes
checking for security/pam_appl.h... yes
checking for pam/pam_appl.h... no
checking for netinet/in_systm.h... yes
checking for sys/uio.h... yes
checking for linux/pkt_sched.h... no
checking for sys/random.h... yes
checking for sys/prctl.h... no
checking for an ANSI C-conforming const... yes
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 for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint8_t... yes
checking for u_int8_t... no
checking for uint16_t... yes
checking for u_int16_t... no
checking for uint32_t... yes
checking for u_int32_t... no
checking for struct sockaddr_storage... no
checking for socklen_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct addrinfo... yes
checking for gai_strerror... yes
checking for struct utmp.ut_host... no
checking for struct utmp.ut_pid... yes
checking for struct utmp.ut_type... yes
checking for struct utmp.ut_tv... no
checking for struct utmp.ut_id... yes
checking for struct utmp.ut_addr... no
checking for struct utmp.ut_addr_v6... no
checking for struct utmp.ut_exit... yes
checking for struct utmp.ut_time... yes
checking for struct utmpx.ut_host... yes
checking for struct utmpx.ut_syslen... yes
checking for struct utmpx.ut_type... yes
checking for struct utmpx.ut_id... yes
checking for struct utmpx.ut_addr... no
checking for struct utmpx.ut_addr_v6... no
checking for struct utmpx.ut_time... no
checking for struct utmpx.ut_tv... yes
checking for struct sockaddr_storage.ss_family... yes
checking for endutent... yes
checking for getutent... yes
checking for getutid... yes
checking for getutline... yes
checking for pututline... yes
checking for setutent... yes
checking for utmpname... yes
checking for endutxent... yes
checking for getutxent... yes
checking for getutxid... yes
checking for getutxline... yes
checking for pututxline... yes
checking for setutxent... yes
checking for utmpxname... yes
checking for logout... no
checking for updwtmp... yes
checking for logwtmp... no
checking for clock_gettime... yes
checking for mach/mach_time.h... no
checking for mach_absolute_time... no
checking for explicit_bzero... yes
checking for memset_s... yes
checking for getrandom... yes
checking for mp_to_ubin in -ltommath... yes
checking for poly1305_init in -ltomcrypt... yes
checking for library containing login... no
checking for logout... (cached) no
checking for updwtmp... (cached) yes
checking for logwtmp... (cached) no
checking if your system defines LASTLOG_FILE... no
checking if your system defines _PATH_LASTLOG... no
checking if your system defines UTMP_FILE... yes
checking if your system defines WTMP_FILE... yes
checking if your system defines UTMPX_FILE... yes
checking if your system defines WTMPX_FILE... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for getpass... yes
checking for getspnam... yes
checking for getusershell... yes
checking for putenv... yes
checking for clearenv... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for daemon... yes
checking for basename... yes
checking for _getpty... no
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for getnameinfo... yes
checking for fork... yes
checking for writev... yes
checking for getgrouplist... yes
checking for fexecve... yes
checking for library containing basename... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test/Makefile
config.status: creating config.h
configure: 
configure: Using system libtomcrypt and libtommath
configure: 
configure: Now edit localoptions.h to choose features.