+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/gdb-10.1nb5/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=27 WRKLOG=/tmp/bulklog/gdb-10.1nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gdb-10.1.tar.gz
=> Checksum SHA512 OK for gdb-10.1.tar.gz
===> Installing dependencies for gdb-10.1nb5
==========================================================================
The supported build options for gdb are:

	python

The currently selected options are:

	python

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

	PKG_OPTIONS.gdb (not defined)

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

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 310

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

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python27
        * TERMCAP_TYPE = curses

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.36.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb9
=> Full dependency ncurses>=6.3nb1: found ncurses-6.3nb1
===> Overriding tools for gdb-10.1nb5
===> Extracting for gdb-10.1nb5
/bin/mkdir -p /home/pbulk/build/devel/gdb/work/build
===> Patching for gdb-10.1nb5
=> Applying pkgsrc patches for gdb-10.1nb5
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_doc_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_doc_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gdb_doc_Makefile.in,v 1.3 2020/10/07 04:34:01 mcf Exp $
|
|Add missing HAVE_NATIVE_GCORE_HOST variable so that gcore.1 gets
|installed properly on non-Linux platforms.
|
|--- gdb/doc/Makefile.in.orig	Tue Oct  6 09:03:59 2020
|+++ gdb/doc/Makefile.in
--------------------------
Patching file gdb/doc/Makefile.in using Plan A...
Hunk #1 succeeded at 180 (offset 1 line).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_ppc-nbsd-nat.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_ppc-nbsd-nat.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gdb_ppc-nbsd-nat.c,v 1.1 2022/12/06 09:45:51 he Exp $
|
|Use the updated / correct struct member names.
|
|--- gdb/ppc-nbsd-nat.c.orig	2020-10-24 04:23:02.000000000 +0000
|+++ gdb/ppc-nbsd-nat.c
--------------------------
Patching file gdb/ppc-nbsd-nat.c using Plan A...
Hunk #1 succeeded at 167.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_ppc-nbsd-tdep.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_ppc-nbsd-tdep.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gdb_ppc-nbsd-tdep.c,v 1.1 2022/12/06 09:45:51 he Exp $
|
|Incorporate changes from r1.7 to r1.9 of in-tree gdb:
|
|1.9:
|PR port-powerpc/56899
|
|Disable 128-bit long double for NetBSD/powerpc.
|
|1.8:
|PR port-powerpc/56899
|
|In addition to ``powerpc'', register NetBSD OS ABI also for ``rs6000'',
|which is default target for powerpc.
|
|1.7:
|fix powerpc (by including ppc-nbsd-tdep.h)
|
|
|--- work/gdb-10.1/gdb/ppc-nbsd-tdep.c.orig	2020-10-24 04:23:02.000000000 +0000
|+++ work/gdb-10.1/gdb/ppc-nbsd-tdep.c
--------------------------
No file to patch.  Skipping...
Hunk #1 ignored at 29.
Hunk #2 ignored at 177.
Hunk #3 ignored at 202.
3 out of 3 hunks ignored--saving rejects to work/gdb-10.1/gdb.rej
Can't create work/gdb-10.1/gdb.rej, output is in /tmp/patchrXXXX79pyB4: No such file or directory
done
Patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_ppc-nbsd-tdep.c failed
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-sim_ppc_emul__netbsd.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-sim_ppc_emul__netbsd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-sim_ppc_emul__netbsd.c,v 1.1 2022/12/06 09:45:51 he Exp $
|
|Use the correctly named versioned syscalls.
|
|--- sim/ppc/emul_netbsd.c.orig	2020-10-24 04:23:02.000000000 +0000
|+++ sim/ppc/emul_netbsd.c
--------------------------
Patching file sim/ppc/emul_netbsd.c using Plan A...
Hunk #1 succeeded at 783.
Hunk #2 succeeded at 813.
done
ERROR: Patching failed due to modified or broken patch file(s):
ERROR: 	/data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb/patches/patch-gdb_ppc-nbsd-tdep.c
ERROR: ==========================================================================
ERROR:
ERROR: Some of the selected build options and/or local patches may be incompatible.
ERROR: Please try building with fewer options or patches.
ERROR:
ERROR: ==========================================================================
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/gdb