+ 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/spim-8.0nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/spim-8.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for spim-8.0.tar.gz
=> Checksum SHA512 OK for spim-8.0.tar.gz
===> Installing dependencies for spim-8.0nb2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency imake-[0-9]*: found imake-1.0.10
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.16
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libSM>=0.99.2: found libSM-1.2.5
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXmu>=1.0.0: found libXmu-1.2.1
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
===> Overriding tools for spim-8.0nb2
===> Extracting for spim-8.0nb2
===> Patching for spim-8.0nb2
=> Applying pkgsrc patches for spim-8.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/spim/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/spim/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.7 2011/02/05 13:38:15 ryoon Exp $
|
|--- xspim/Imakefile.orig	2010-01-09 05:22:58.000000000 +0000
|+++ xspim/Imakefile
--------------------------
Patching file xspim/Imakefile using Plan A...
Hunk #1 succeeded at 43.
Hunk #2 succeeded at 122.
Hunk #3 succeeded at 157.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/spim/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/spim/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.3 2011/02/05 13:38:15 ryoon Exp $
|
|--- spim/Makefile.orig	2010-01-09 05:22:57.000000000 +0000
|+++ spim/Makefile
--------------------------
Patching file spim/Makefile using Plan A...
Hunk #1 succeeded at 66.
Hunk #2 succeeded at 104.
Hunk #3 succeeded at 120.
Hunk #4 succeeded at 212.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/spim/patches/patch-scanner.l
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/spim/patches/patch-scanner.l
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scanner.l,v 1.1 2023/05/09 20:43:22 dholland Exp $
|
|Use correct version comparison logic.
|
|--- CPU/scanner.l~	2010-01-09 05:22:52.000000000 +0000
|+++ CPU/scanner.l
--------------------------
Patching file CPU/scanner.l using Plan A...
Hunk #1 succeeded at 316.
done
===> Creating toolchain wrappers for spim-8.0nb2
===> Configuring for spim-8.0nb2
=> rename CPU_DIR
cc
Check if this machine is big-endian or little-endian.
This may take a few minutes.
I believe this is a little-endian machine.

Checking if libc on this machine contains:
grep: library_contents: No such file or directory
  vsprintf: No, I don't think
grep: library_contents: No such file or directory
    _doprnt: NO, THIS IS A PROBLEM: NO VSPRINTF AND NO _DOPRNT
SPIM WILL NOT RUN PROPERLY
grep: library_contents: No such file or directory
  vfprintf: No, I don't think
grep: library_contents: No such file or directory
    _doprnt: NO, THIS IS A PROBLEM: NO VFPRINTF AND NO _DOPRNT
SPIM WILL NOT RUN PROPERLY
grep: library_contents: No such file or directory
  strtoul: No, I don't think
grep: library_contents: No such file or directory
  strtol: No, I don't think
grep: library_contents: No such file or directory
  memcpy: No, I don't think

Checking for /usr/include/termios.h
Yes, it is there
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/pkg/lib/X11/config
/usr/pkg/bin/imake: Warning: cleaning Imakefile
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -I/usr/pkg/lib/X11/config -DBuildHtmlManPages=NO .imake.start.c
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:109:2:
/usr/pkg/lib/X11/config/linux.cf:204:10: Warning: non-identical redefinition of ProjectRoot
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:46:2:
In file included from /usr/pkg/lib/X11/config/site.def:44:2:
/usr/pkg/lib/X11/config/host.def:3:9: Previous definition was here
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:109:2:
/usr/pkg/lib/X11/config/linux.cf:205:10: Warning: non-identical redefinition of ManPath
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:46:2:
In file included from /usr/pkg/lib/X11/config/site.def:44:2:
/usr/pkg/lib/X11/config/host.def:4:9: Previous definition was here
make Makefiles
make includes
make depend
cd /home/pbulk/build/emulators/spim/work/spim-8.0/spim && /bin/env INSTALL=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk INSTALL_PROGRAM=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 INSTALL_SCRIPT=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 INSTALL_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 INSTALL_GAME=/bin/install\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 INSTALL_GAME_DATA=/bin/install\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 INSTALL_INFO= MAKEINFO=/home/pbulk/build/emulators/spim/work/.tools/bin/makeinfo FLEX=/home/pbulk/build/emulators/spim/work/.tools/bin/flex BISON= ITSTOOL=/home/pbulk/build/emulators/spim/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/emulators/spim/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/emulators/spim/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/emulators/spim/work/.buildlink/lib64/pkgconfig:/home/pbulk/build/emulators/spim/work/.buildlink/lib/pkgconfig:/home/pbulk/build/emulators/spim/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/emulators/spim/work/.pkg-config.log PKG_CONFIG_PATH= MAKE=make CWRAPPERS_CONFIG_DIR=/home/pbulk/build/emulators/spim/work/.cwrapper/config CC=cc CFLAGS=-pipe\ -O2\ -I/usr/pkg/include CPPFLAGS=-I/usr/pkg/include CXX=c++ CXXFLAGS=-pipe\ -O2\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/emulators/spim/work/.cwrapper/bin:/home/pbulk/build/emulators/spim/work/.buildlink/bin:/home/pbulk/build/emulators/spim/work/.gcc/bin:/home/pbulk/build/emulators/spim/work/.tools/bin:/usr/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp HOME=/home/pbulk/build/emulators/spim/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/emulators/spim/work/.cwrapper/config		 /bin/bash 			 ./Configure 
cc
Check if this machine is big-endian or little-endian.
This may take a few minutes.
I believe this is a little-endian machine.

Checking if libc on this machine contains:
grep: library_contents: No such file or directory
  vsprintf: No, I don't think
grep: library_contents: No such file or directory
    _doprnt: NO, THIS IS A PROBLEM: NO VSPRINTF AND NO _DOPRNT
SPIM WILL NOT RUN PROPERLY
grep: library_contents: No such file or directory
  vfprintf: No, I don't think
grep: library_contents: No such file or directory
    _doprnt: NO, THIS IS A PROBLEM: NO VFPRINTF AND NO _DOPRNT
SPIM WILL NOT RUN PROPERLY
grep: library_contents: No such file or directory
  strtoul: No, I don't think
grep: library_contents: No such file or directory
  strtol: No, I don't think
grep: library_contents: No such file or directory
  memcpy: No, I don't think

Checking for /usr/include/termios.h
Yes, it is there