+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/phone-2.0nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/phone-2.0nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for phone-2.0nb1/phone-2.0.tar.gz
=> Checksum SHA512 OK for phone-2.0nb1/phone-2.0.tar.gz
===> Installing dependencies for phone-2.0nb4
==========================================================================
The following variables will affect the build process of this package,
phone-2.0nb4.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for phone-2.0nb4
===> Extracting for phone-2.0nb4
===> Patching for phone-2.0nb4
=> Applying pkgsrc patches for phone-2.0nb4
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-client_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-client_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-client_Makefile,v 1.5 2020/11/30 12:26:07 nia Exp $
|
|Configure for pkgsrc.
|
|Don't build with -g or -Werror.
|
|Also, remove explicit depends on header files in /usr/include, many of
|which aren't actually used.
|
|--- client/Makefile.orig	2013-01-02 23:00:42.000000000 +0000
|+++ client/Makefile
--------------------------
Patching file client/Makefile using Plan A...
Hunk #1 succeeded at 18.
Hunk #2 succeeded at 50.
Hunk #3 succeeded at 99.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-client_defs.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-client_defs.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-client_defs.h,v 1.2 2015/11/07 22:19:46 dholland Exp $
|
|- Don't rely on __unused from netbsd's <cdefs.h> existing.
|- Use a more portable username size symbol for the sake of Solaris.
|- Also include limits.h to make sure that symbol is defined.
|
|--- client/defs.h.orig	2013-01-02 23:00:42.000000000 +0000
|+++ client/defs.h
--------------------------
Patching file client/defs.h using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 43.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-client_misc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-client_misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-client_misc.c,v 1.1 2015/06/08 13:38:12 joerg Exp $
|
|--- client/misc.c.orig	2015-06-08 12:34:33.000000000 +0000
|+++ client/misc.c
--------------------------
Patching file client/misc.c using Plan A...
Hunk #1 succeeded at 81.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-conv_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-conv_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-conv_Makefile,v 1.2 2014/01/06 22:11:50 joerg Exp $
|
|Configure for pkgsrc.
|
|--- conv/Makefile.orig	2013-01-02 23:00:43.000000000 +0000
|+++ conv/Makefile
--------------------------
Patching file conv/Makefile using Plan A...
Hunk #1 succeeded at 5.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-conv_convd.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-conv_convd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-conv_convd.c,v 1.3 2017/02/07 23:55:05 joerg Exp $
|
|- Don't rely on __unused from netbsd's <cdefs.h> existing.
|- Remove unused variable that causes build failure with gcc48.
|- Add explicit casts if the constants are not value preserved
|  on signed char platforms.
|
|--- conv/convd.c.orig	2013-01-02 23:00:43.000000000 +0000
|+++ conv/convd.c
--------------------------
Patching file conv/convd.c using Plan A...
Hunk #1 succeeded at 48.
Hunk #2 succeeded at 102.
Hunk #3 succeeded at 116.
Hunk #4 succeeded at 359.
Hunk #5 succeeded at 406.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-master_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-master_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-master_Makefile,v 1.4 2020/11/30 12:26:07 nia Exp $
|
|Configure for pkgsrc.
|
|--- master/Makefile.orig	2013-01-02 23:00:43.000000000 +0000
|+++ master/Makefile
--------------------------
Patching file master/Makefile using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 43.
Hunk #3 succeeded at 53.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-master_defs.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-master_defs.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-master_defs.h,v 1.1 2014/09/11 07:15:56 dholland Exp $
|
|- Don't rely on __unused from netbsd's <cdefs.h> existing.
|
|--- master/defs.h~	2013-01-02 23:00:43.000000000 +0000
|+++ master/defs.h
--------------------------
Patching file master/defs.h using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-master_page.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/chat/phone/patches/patch-master_page.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-master_page.c,v 1.1 2015/02/23 18:19:34 joerg Exp $
|
|--- master/page.c.orig	2015-02-23 13:01:40.000000000 +0000
|+++ master/page.c
--------------------------
Patching file master/page.c using Plan A...
Hunk #1 succeeded at 73.
done
===> Creating toolchain wrappers for phone-2.0nb4
===> Configuring for phone-2.0nb4