+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/or1ksim-0.2.0rc2nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/or1ksim-0.2.0rc2nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for or1ksim-0.2.0rc2.tar.gz
=> Checksum SHA512 OK for or1ksim-0.2.0rc2.tar.gz
===> Installing dependencies for or1ksim-0.2.0rc2nb1
==========================================================================
The following variables will affect the build process of this package,
or1ksim-0.2.0rc2nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * 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
`/opt/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency readline>=6.0: found readline-8.2nb1
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for or1ksim-0.2.0rc2nb1
===> Extracting for or1ksim-0.2.0rc2nb1
===> Patching for or1ksim-0.2.0rc2nb1
=> Applying pkgsrc patches for or1ksim-0.2.0rc2nb1
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/emulators/or1ksim/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/emulators/or1ksim/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $
|
|--- peripheral/ethernet_i.h	2007/02/23 13:37:52	1.1
|+++ peripheral/ethernet_i.h	2007/02/23 13:38:10
--------------------------
Patching file peripheral/ethernet_i.h using Plan A...
Hunk #1 succeeded at 55.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/emulators/or1ksim/patches/patch-cpu_common_execute.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/emulators/or1ksim/patches/patch-cpu_common_execute.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cpu_common_execute.h,v 1.1 2012/11/01 19:47:17 joerg Exp $
|
|--- cpu/common/execute.h.orig	2012-10-30 20:06:03.000000000 +0000
|+++ cpu/common/execute.h
--------------------------
Patching file cpu/common/execute.h using Plan A...
Hunk #1 succeeded at 75.
done
===> Creating toolchain wrappers for or1ksim-0.2.0rc2nb1
===> Configuring for or1ksim-0.2.0rc2nb1
=> 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... or32-unknown-coff
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether make sets $(MAKE)... (cached) yes
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking return type of signal handlers... void
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for strcasecmp... yes
checking for select... yes
checking for setenv... yes
checking for putenv... yes
checking for tcgetattr... yes
checking for setlocale... yes
checking for lstat... yes
checking for strndup... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for on_exit... no
checking for isblank... yes
checking for working strcoll... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking sys/ptem.h usability... no
checking sys/ptem.h presence... yes
configure: WARNING: sys/ptem.h: present but cannot be compiled
configure: WARNING: sys/ptem.h:     check for missing prerequisite headers?
configure: WARNING: sys/ptem.h: see the Autoconf documentation
configure: WARNING: sys/ptem.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/ptem.h: proceeding with the preprocessor's result
configure: WARNING: sys/ptem.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for sys/ptem.h... yes
checking sys/pte.h usability... yes
checking sys/pte.h presence... yes
checking for sys/pte.h... yes
checking sys/stream.h usability... yes
checking sys/stream.h presence... yes
checking for sys/stream.h... yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking net/ethernet.h usability... no
checking net/ethernet.h presence... no
checking for net/ethernet.h... no
checking sys/ethernet.h usability... yes
checking sys/ethernet.h presence... yes
checking for sys/ethernet.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for inttypes.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 8
checking for add_history in -lreadline... yes
checking whether to enable profiling... no
checking which execution style to use... complex
checking whether to enable ethernet phy emulation... no
checking whether to use raw range stats... no
checking whether instructions set overflow flag... no
checking whether arithmethic instructions set flag... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bpb/Makefile
config.status: creating cache/Makefile
config.status: creating cpu/Makefile
config.status: creating cpu/common/Makefile
config.status: creating cpu/or32/Makefile
config.status: creating cuc/Makefile
config.status: creating cpu/or1k/Makefile
config.status: creating cpu/dlx/Makefile
config.status: creating debug/Makefile
config.status: creating support/Makefile
config.status: creating mmu/Makefile
config.status: creating peripheral/Makefile
config.status: creating tick/Makefile
config.status: creating peripheral/channels/Makefile
config.status: creating pm/Makefile
config.status: creating pic/Makefile
config.status: creating vapi/Makefile
config.status: creating port/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands