+ 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/pearpc-0.5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pearpc-0.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for pearpc-0.5.tar.bz2
=> Checksum SHA512 OK for pearpc-0.5.tar.bz2
===> Installing dependencies for pearpc-0.5
==========================================================================
The supported build options for pearpc are:

	sdl x11

The currently selected options are:

	x11

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

	PKG_OPTIONS.pearpc (not defined)

==========================================================================
=> 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 xorgproto>=2016.1: found xorgproto-2022.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15
=> Full dependency libX11>=1.1: found libX11-1.7.5
===> Overriding tools for pearpc-0.5
===> Extracting for pearpc-0.5
===> Patching for pearpc-0.5
=> Applying pkgsrc patches for pearpc-0.5
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.3 2007/11/13 18:01:58 joerg Exp $
|
|--- src/system/osapi/posix/systimer.cc.orig	2005-12-21 14:43:21.000000000 +0100
|+++ src/system/osapi/posix/systimer.cc
--------------------------
Patching file src/system/osapi/posix/systimer.cc using Plan A...
Hunk #1 succeeded at 31.
Hunk #2 succeeded at 74.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2005/12/22 19:27:36 ghen Exp $
|
|--- src/cpu/cpu_jitc_x86/ppc_vec.cc.orig	2005-12-21 15:02:51.000000000 +0100
|+++ src/cpu/cpu_jitc_x86/ppc_vec.cc
--------------------------
Patching file src/cpu/cpu_jitc_x86/ppc_vec.cc using Plan A...
Hunk #1 succeeded at 6496 (offset -125 lines).
Hunk #2 succeeded at 6957 (offset -6 lines).
Hunk #3 succeeded at 6935 (offset -126 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.1 2005/12/22 19:27:36 ghen Exp $
|
|--- src/cpu/cpu_generic/ppc_vec.cc.orig	2005-12-21 15:41:47.000000000 +0100
|+++ src/cpu/cpu_generic/ppc_vec.cc
--------------------------
Patching file src/cpu/cpu_generic/ppc_vec.cc using Plan A...
Hunk #1 succeeded at 2594.
Hunk #2 succeeded at 2726.
Hunk #3 succeeded at 2755.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2005/12/22 19:27:36 ghen Exp $
|
|--- src/system/osapi/posix/sysethtun.cc.orig	2005-12-21 15:01:35.000000000 +0100
|+++ src/system/osapi/posix/sysethtun.cc
--------------------------
Patching file src/system/osapi/posix/sysethtun.cc using Plan A...
Hunk #1 succeeded at 33.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.1 2006/01/12 20:57:25 joerg Exp $
|
|--- src/io/prom/fs/hfs/libhfs.h.orig	2006-01-12 20:20:19.000000000 +0000
|+++ src/io/prom/fs/hfs/libhfs.h
--------------------------
Patching file src/io/prom/fs/hfs/libhfs.h using Plan A...
Hunk #1 succeeded at 18.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2006/01/12 20:57:25 joerg Exp $
|
|--- src/io/prom/fs/hfsplus/libhfsp.h.orig	2006-01-12 20:29:55.000000000 +0000
|+++ src/io/prom/fs/hfsplus/libhfsp.h
--------------------------
Patching file src/io/prom/fs/hfsplus/libhfsp.h using Plan A...
Hunk #1 succeeded at 23.
Hunk #2 succeeded at 32.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.2 2018/03/17 01:27:55 ryoon Exp $
|
|--- configure.orig	2011-07-12 21:21:49.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3154.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_cpu_cpu__jitc__x86__64_ppc__mmu.cc,v 1.1 2018/03/17 01:27:55 ryoon Exp $
|
|* Support platforms that does not define MAP_32BIT, for example NetBSD.
|
|--- src/cpu/cpu_jitc_x86_64/ppc_mmu.cc.orig	2011-07-12 20:57:24.000000000 +0000
|+++ src/cpu/cpu_jitc_x86_64/ppc_mmu.cc
--------------------------
Patching file src/cpu/cpu_jitc_x86_64/ppc_mmu.cc using Plan A...
Hunk #1 succeeded at 37.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-src_cpu_mem.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/pearpc/patches/patch-src_cpu_mem.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_cpu_mem.h,v 1.1 2012/11/01 19:45:12 joerg Exp $
|
|--- src/cpu/mem.h.orig	2012-10-30 20:18:45.000000000 +0000
|+++ src/cpu/mem.h
--------------------------
Patching file src/cpu/mem.h using Plan A...
Hunk #1 succeeded at 23.
done
===> Creating toolchain wrappers for pearpc-0.5
===> Configuring for pearpc-0.5
=> Fixing configuration file.
=> 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... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
configure: WARNING: configure: warning: solaris2.11: unknown target OS, assuming POSIX-compatible...
configure: WARNING: *** assuming POSIX OS, we need pthread
*** x86_64 target system
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for gmake... no
checking for make... /home/pbulk/build/emulators/pearpc/work/.tools/bin/make
checking whether /home/pbulk/build/emulators/pearpc/work/.tools/bin/make sets $(MAKE)... yes
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for style of include used by /home/pbulk/build/emulators/pearpc/work/.tools/bin/make... GNU
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking dependency style of gcc... gcc3
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for bison... no
checking for byacc... no
checking for ar... /usr/bin/ar
checking for gar... (cached) /usr/bin/ar
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for clock_settime in -lrt... yes
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 whether byte ordering is bigendian... no
checking for X... libraries , headers 
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... yes
checking for gettimeofday... yes
checking for memset... yes
checking for setenv... yes
checking for log2... no
checking for log2 in math.h... yes
checking for exp2... no
checking for exp2 in math.h... yes
checking for ANSI C header files... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking asm/types.h usability... no
checking asm/types.h presence... no
checking for asm/types.h... no
checking for stdint.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long int... 8
checking size of long long... 8
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/cpu/Makefile
config.status: creating src/cpu/cpu_generic/Makefile
config.status: creating src/cpu/cpu_jitc_x86/Makefile
config.status: creating src/cpu/cpu_jitc_x86_64/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/io/Makefile
config.status: creating src/io/3c90x/Makefile
config.status: creating src/io/ide/Makefile
config.status: creating src/io/graphic/Makefile
config.status: creating src/io/rtl8139/Makefile
config.status: creating src/io/prom/Makefile
config.status: creating src/io/prom/fs/Makefile
config.status: creating src/io/prom/fs/hfs/Makefile
config.status: creating src/io/prom/fs/hfsplus/Makefile
config.status: creating src/io/cuda/Makefile
config.status: creating src/io/pci/Makefile
config.status: creating src/io/pic/Makefile
config.status: creating src/io/macio/Makefile
config.status: creating src/io/nvram/Makefile
config.status: creating src/io/usb/Makefile
config.status: creating src/io/serial/Makefile
config.status: creating src/system/Makefile
config.status: creating src/system/arch/Makefile
config.status: creating src/system/arch/x86/Makefile
config.status: creating src/system/arch/x86_64/Makefile
config.status: creating src/system/arch/generic/Makefile
config.status: creating src/system/osapi/Makefile
config.status: creating src/system/osapi/beos/Makefile
config.status: creating src/system/osapi/posix/Makefile
config.status: creating src/system/osapi/win32/Makefile
config.status: creating src/system/ui/Makefile
config.status: creating src/system/ui/beos/Makefile
config.status: creating src/system/ui/gtk/Makefile
config.status: creating src/system/ui/qt/Makefile
config.status: creating src/system/ui/sdl/Makefile
config.status: creating src/system/ui/win32/Makefile
config.status: creating src/system/ui/x11/Makefile
config.status: creating src/tools/Makefile
config.status: creating config.h
config.status: executing depfiles commands

./configure successful.

================================================================================
                             Configuration summary
================================================================================

cpu emulation method:                cpu_jitc_x86_64
compiled for architecture:           x86_64
compiled for OS-API:                 posix
compiled for UI system:              x11
enable debug:                        no
enable profiling:                    no
make release build:                  yes
omit frame pointer:                  yes
final C compiler flags:              -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wundef -Wall -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe
final C++ compiler flags:            -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/usr/include -Wundef -Wall -Woverloaded-virtual -fsigned-char -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe
final linker flags:                  -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 
final linker add:                     -lpthread -lrt -lX11

================================================================================