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

	inet6

The currently selected options are:

	inet6

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

	PKG_OPTIONS.putty (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
putty-0.80.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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 glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.28.3
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency gtk3+>=3.24.38nb6: found gtk3+-3.24.41
===> Overriding tools for putty-0.80
===> Extracting for putty-0.80
===> Patching for putty-0.80
=> Applying pkgsrc patches for putty-0.80
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty/patches/patch-ldisc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty/patches/patch-ldisc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ldisc.c,v 1.3 2019/10/01 15:22:41 ryoon Exp $
|
|pwrite is a standard system call
|
|--- ldisc.c.orig	2019-09-22 09:14:48.000000000 +0000
|+++ ldisc.c
--------------------------
Patching file ldisc.c using Plan A...
Hunk #1 succeeded at 95 (offset 55 lines).
Hunk #2 succeeded at 409 (offset 182 lines).
Hunk #3 succeeded at 346 (offset 54 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty/patches/patch-terminal.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty/patches/patch-terminal.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-terminal.c,v 1.6 2023/02/14 03:28:07 ryoon Exp $
|
|Make the home/end keys work on BSD servers as well as Linux ones
|
|--- terminal/terminal.c.orig	2022-10-28 17:19:48.000000000 +0000
|+++ terminal/terminal.c
--------------------------
Patching file terminal/terminal.c using Plan A...
Hunk #1 succeeded at 7676 (offset 168 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty/patches/patch-timing.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/security/putty/patches/patch-timing.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-timing.c,v 1.3 2019/10/01 15:22:41 ryoon Exp $
|
|--- timing.c.orig	2019-09-22 09:14:51.000000000 +0000
|+++ timing.c
--------------------------
Patching file timing.c using Plan A...
Hunk #1 succeeded at 60.
done
===> Creating toolchain wrappers for putty-0.80
===> Configuring for putty-0.80
=> 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 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/security/putty/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Looking for sys/auxv.h
-- Looking for sys/auxv.h - found
-- Looking for asm/hwcap.h
-- Looking for asm/hwcap.h - not found
-- Looking for sys/sysctl.h
-- Looking for sys/sysctl.h - not found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for glob.h
-- Looking for glob.h - found
-- Looking for utmp.h
-- Looking for utmp.h - found
-- Looking for utmpx.h
-- Looking for utmpx.h - found
-- Looking for futimes
-- Looking for futimes - not found
-- Looking for getaddrinfo
-- Looking for getaddrinfo - found
-- Looking for posix_openpt
-- Looking for posix_openpt - not found
-- Looking for ptsname
-- Looking for ptsname - not found
-- Looking for setresuid
-- Looking for setresuid - not found
-- Looking for setresgid
-- Looking for setresgid - not found
-- Looking for strsignal
-- Looking for strsignal - not found
-- Looking for updwtmpx
-- Looking for updwtmpx - found
-- Looking for fstatat
-- Looking for fstatat - found
-- Looking for dirfd
-- Looking for dirfd - found
-- Looking for setpwent
-- Looking for setpwent - found
-- Looking for endpwent
-- Looking for endpwent - found
-- Looking for getauxval
-- Looking for getauxval - not found
-- Looking for elf_aux_info
-- Looking for elf_aux_info - not found
-- Looking for sysctlbyname
-- Looking for sysctlbyname - not found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Performing Test HAVE_SO_PEERCRED
-- Performing Test HAVE_SO_PEERCRED - Failed
-- Performing Test HAVE_NULLARY_SETPGRP
-- Performing Test HAVE_NULLARY_SETPGRP - Success
-- Performing Test HAVE_BINARY_SETPGRP
-- Performing Test HAVE_BINARY_SETPGRP - Failed
-- Found PkgConfig: /home/pbulk/build/security/putty/work/.tools/bin/pkg-config (found version "2.1.1") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.41
-- Looking for pango_font_family_is_monospace
-- Looking for pango_font_family_is_monospace - found
-- Looking for pango_font_map_list_families
-- Looking for pango_font_map_list_families - found
-- Found X11: /opt/pkg/include   
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - not found
-- Looking for gdk/gdkx.h
-- Looking for gdk/gdkx.h - found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for socket in xnet
-- Looking for socket in xnet - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
-- Found Perl: /home/pbulk/build/security/putty/work/.tools/bin/perl (found version "5.38.2") 
-- Performing Test HAVE_WMMINTRIN_H
-- Performing Test HAVE_WMMINTRIN_H - Success
-- Performing Test HAVE_AES_NI
-- Performing Test HAVE_AES_NI - Success
-- Performing Test HAVE_SHAINTRIN_H
-- Performing Test HAVE_SHAINTRIN_H - Success
-- Performing Test HAVE_SHA_NI
-- Performing Test HAVE_SHA_NI - Success
-- Performing Test HAVE_CLMUL
-- Performing Test HAVE_CLMUL - Success
-- Performing Test HAVE_ARM_NEON_H
-- Performing Test HAVE_ARM_NEON_H - Failed
-- Performing Test HAVE_ARM64_NEON_H
-- Performing Test HAVE_ARM64_NEON_H - Failed
-- Configuring done (78.7s)
-- Generating done (0.4s)
-- Build files have been written to: /home/pbulk/build/security/putty/work/putty-0.80
=> Rewrite cmake Dependencies files