+ 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/advancemame-3.9nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/advancemame-3.9nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for advancemame-3.9.tar.gz
=> Checksum SHA512 OK for advancemame-3.9.tar.gz
===> Installing dependencies for advancemame-3.9nb1
==========================================================================
The supported build options for advancemame are:

	alsa curses freetype slang

The currently selected options are:

	curses freetype

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

	PKG_OPTIONS.advancemame (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
advancemame-3.9nb1.  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
`/opt/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency ImageMagick-[0-9]*: found ImageMagick-7.1.1.23nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3
=> Tool dependency zip-[0-9]*: found zip-3.0nb3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.2.0
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Full dependency SDL2>=2.26.5nb1: found SDL2-2.28.5
=> Full dependency expat>=2.0.0nb1: found expat-2.5.0
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.2.0
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency ncurses>=6.3nb1: found ncurses-6.4
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
===> Overriding tools for advancemame-3.9nb1
===> Extracting for advancemame-3.9nb1
===> Patching for advancemame-3.9nb1
===> Creating toolchain wrappers for advancemame-3.9nb1
===> Configuring for advancemame-3.9nb1
=> 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
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
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 whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-windres... no
checking for windres... no
checking for rm... /usr/bin/rm
checking for cp... /bin/cp
checking for mkdir... /usr/bin/mkdir -p
checking for echo... echo
checking for tar... /usr/bin/gtar
checking for gzip... gzip
checking for zip... zip
checking how to run the C preprocessor... gcc -E
checking for egrep... (cached) /usr/xpg4/bin/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 whether byte ordering is bigendian... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void*... 8
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking for unistd.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
checking sys/kd.h usability... yes
checking sys/kd.h presence... yes
checking for sys/kd.h... yes
checking sys/vt.h usability... yes
checking sys/vt.h presence... yes
checking for sys/vt.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking ucontext.h usability... yes
checking ucontext.h presence... yes
checking for ucontext.h... yes
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for inline... inline
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... yes
checking for strcasecmp... yes
checking for strerror... yes
checking for utimes... yes
checking for uname... yes
checking for sysconf... yes
checking for backtrace... yes
checking for backtrace_symbols... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for fread_unlocked... no
checking for fwrite_unlocked... no
checking for fgetc_unlocked... no
checking for feof_unlocked... no
checking for fseeko... yes
checking for ftello... yes
checking for fsync... yes
checking for renameat... yes
checking for openat... yes
checking for fdopen... yes
checking for iopl... no
checking for mprotect... yes
checking for sched_getscheduler... yes
checking for sched_setscheduler... yes
checking for sched_get_priority_max... yes
checking for sched_yield... yes
checking for port in/out... no
checking for cos in -lm... yes
checking for socket in -lsocket... yes
checking for socket in -lnetwork... no
checking for FrameBuffer... no
checking for OSS... yes
checking for pthread_create in -lpthread... yes
checking for endwin in -lncurses... yes
checking for freetype2... yes
checking for sdl2... yes
checking for raw keyboard interface... no
checking for raw joystick interface... no
checking for raw mouse interface... yes
checking for event mouse interface... no
checking for event keyboard interface... no
checking for event joystick interface... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating advance/lib/config.h
configure: WARNING: unrecognized options: --with-libiconv-prefix

== Host ==
Environment : x86_64-sun-solaris2.11
Endianess : little
Bits : 64
Assembler for x86 : no
Assembler MIPS3 emulator for x86 : no

== Drivers/Libraries ==
Video : ncurses sdl
No video driver is able to program your video board.
You will be able to use only standard video modes.
Sound : oss sdl
Keyboard : sdl
Joystick : sdl
Mouse : sdl raw
Misc : zlib expat pthread freetype2

== Compiler ==
CC : gcc
CXX : g++
CFLAGS : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/ncurses -I/opt/local/include/SDL2 -I/opt/local/include/libdrm
LDFLAGS : -L/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0 -Wl,-R/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0 -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -Wl,-R/opt/local/lib -liconv
SDLCFLAGS : -I/opt/local/include -I/opt/local/include/SDL2 -D_REENTRANT
SDLLIBS : -Wl,-R/opt/local/lib -L/opt/local/lib -lSDL2
/usr/bin/rm -f /home/pbulk/build/emulators/advancemame/work/.buildlink/include/png.h
/opt/local/bin/convert /home/pbulk/build/emulators/advancemame/work/advancemame-3.9/contrib/logo/megaman.ico[2]  /home/pbulk/build/emulators/advancemame/work/advancemame-48.png
/opt/local/bin/convert /home/pbulk/build/emulators/advancemame/work/advancemame-3.9/contrib/logo/megaman.ico[3]  /home/pbulk/build/emulators/advancemame/work/advancemame-32.png
/opt/local/bin/convert /home/pbulk/build/emulators/advancemame/work/advancemame-3.9/contrib/logo/megaman.ico[4]  /home/pbulk/build/emulators/advancemame/work/advancemame-16.png
/opt/local/bin/convert /home/pbulk/build/emulators/advancemame/work/advancemame-3.9/contrib/logo/megaman.ico[5]  /home/pbulk/build/emulators/advancemame/work/advancemame-256.png