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

	alsa jack

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

	PKG_OPTIONS.mednafen (not defined)

==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency zstd>=1.3.6: found zstd-1.5.5
=> Full dependency flac>=1.4.0: found flac-1.4.3
=> Full dependency musepack>=0rc475: found musepack-0rc475nb1
=> Full dependency tremor>=1.0.2nb5: found tremor-1.0.2.20180316
=> Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.0
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency trio>=1.12: found trio-1.16
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for mednafen-1.29.0nb6
===> Extracting for mednafen-1.29.0nb6
===> Patching for mednafen-1.29.0nb6
===> Creating toolchain wrappers for mednafen-1.29.0nb6
===> Configuring for mednafen-1.29.0nb6
=> Fixing path to audio device.
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
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 gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
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 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 it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-sun-solaris2.11
checking host 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... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking how to run the C preprocessor... gcc -E
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... g++ -E
checking CC for gcc -fsigned-char... -fsigned-char
checking CXX for gcc -fsigned-char... -fsigned-char
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ptrdiff_t... yes
checking for size_t... yes
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 __int64... 0
checking size of void *... 8
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking size of off_t... 8
checking for an ANSI C-conforming const... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mmap... yes
checking for munmap... yes
checking for madvise... yes
checking for signal... yes
checking for sigaction... yes
checking for siglongjmp... yes
checking for _longjmp... yes
checking for fork... yes
checking for getpwuid... yes
checking for getuid... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for pipe... yes
checking for dup2... yes
checking for fcntl... yes
checking for lseek64... no
checking for fstat64... no
checking for ftruncate64... no
checking for strerror... yes
checking for strerror_r... yes
checking for __mingw_get_crt_info... no
checking for library containing fmodl... none required
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for nanosleep... yes
checking for usleep... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for gettimeofday... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for mkdir... yes
checking for _mkdir... yes
checking whether mkdir takes one argument... no
checking pkg-config is at least version 0.9.0... yes
checking for round... yes
checking for nearbyint... yes
checking for nearbyintf... yes
checking for rint... yes
checking for rintf... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... yes
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether NLS is requested... yes
checking for msgfmt... /home/pbulk/build/emulators/mednafen/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/emulators/mednafen/work/.tools/bin/msgfmt
checking for xgettext... /home/pbulk/build/emulators/mednafen/work/.tools/bin/xgettext
checking for msgmerge... /home/pbulk/build/emulators/mednafen/work/.tools/bin/msgmerge
checking whether we are using the GNU C Library 2 or newer... no
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for inline... inline
checking for stdint.h... 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 whether integer division by zero raises SIGFPE... no
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking for pthread_rwlock_t... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... (cached) yes
checking for mempcpy... no
checking for munmap... (cached) yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for uselocale... yes
checking for argz_count... no
checking for argz_stringify... no
checking for argz_next... no
checking for __fsetlocking... yes
checking whether feof_unlocked is declared... no
checking whether fgets_unlocked is declared... no
checking for bison... no
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for working fcntl.h... yes
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for ptrdiff_t... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for newlocale... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for snprintf... yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) no
checking for CFLocaleCopyCurrent... (cached) no
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for zlibVersion in -lz... yes
checking OPTIMIZER_FLAGS for gcc -fno-fast-math... -fno-fast-math
checking OPTIMIZER_FLAGS for gcc -fno-unsafe-math-optimizations... -fno-unsafe-math-optimizations
checking OPTIMIZER_FLAGS for gcc -fno-aggressive-loop-optimizations... -fno-aggressive-loop-optimizations
checking OPTIMIZER_FLAGS for gcc -fno-ipa-icf... -fno-ipa-icf
checking OPTIMIZER_FLAGS for gcc -fno-printf-return-value... -fno-printf-return-value
checking OPTIMIZER_FLAGS for gcc -fomit-frame-pointer... -fomit-frame-pointer
checking OPTIMIZER_FLAGS for gcc -fstrict-aliasing... -fstrict-aliasing
checking CODEGEN_FLAGS for gcc -fwrapv... -fwrapv
checking CODEGEN_FLAGS for gcc -fjump-tables... -fjump-tables
checking CODEGEN_FLAGS for gcc -mfunction-return=keep... -mfunction-return=keep
checking CODEGEN_FLAGS for gcc -mindirect-branch=keep... -mindirect-branch=keep
checking CODEGEN_FLAGS for gcc -mno-indirect-branch-register... -mno-indirect-branch-register
checking CODEGEN_FLAGS for gcc -mno-retpoline... no, unknown
checking CODEGEN_CXXFLAGS for gcc -fexceptions... -fexceptions
checking WARNING_FLAGS for gcc -Wall... -Wall
checking WARNING_FLAGS for gcc -Wshadow... -Wshadow
checking WARNING_FLAGS for gcc -Wempty-body... -Wempty-body
checking WARNING_FLAGS for gcc -Wignored-qualifiers... -Wignored-qualifiers
checking WARNING_FLAGS for gcc -Wvla... -Wvla
checking WARNING_FLAGS for gcc -Wvariadic-macros... -Wvariadic-macros
checking WARNING_FLAGS for gcc -Wdisabled-optimization... -Wdisabled-optimization
checking WARNING_FLAGS for gcc -Wstack-usage=32768... -Wstack-usage=32768
checking WARNING_FLAGS for gcc -Werror=write-strings... -Werror=write-strings
checking NOPICPIE_FLAGS for gcc -fno-pic... -fno-pic
checking NOPICPIE_FLAGS for gcc -fno-pie... -fno-pie
checking NOPICPIE_FLAGS for gcc -fno-PIC... -fno-PIC
checking NOPICPIE_FLAGS for gcc -fno-PIE... -fno-PIE
checking whether the linker accepts -nopie... no
checking whether the linker accepts -no-pie... yes
checking if compiling and linking works with PIC/PIE-disabling flags... yes
checking NO_STACK_PROTECTOR_FLAGS for gcc -fno-stack-protector... -fno-stack-protector
checking NO_STACK_PROTECTOR_FLAGS for gcc -fno-stack-protector-all... no, unknown
checking NO_STACK_PROTECTOR_FLAGS for gcc -fno-stack-protector-strong... no, unknown
checking NO_STRICT_ALIASING_FLAGS for gcc -fno-strict-aliasing... -fno-strict-aliasing
checking SNES_EXTRA_FLAGS for gcc -Wno-unused... -Wno-unused
checking SNES_EXTRA_FLAGS for gcc -Wno-shadow... -Wno-shadow
checking SNES_EXTRA_FLAGS for gcc -Wno-sign-compare... -Wno-sign-compare
checking SNES_EXTRA_FLAGS for gcc -Wno-uninitialized... -Wno-uninitialized
checking SNES_EXTRA_FLAGS for gcc -Wno-parentheses... -Wno-parentheses
checking SNES_EXTRA_FLAGS for gcc -Wno-switch... -Wno-switch
checking SS_EXTRA_FLAGS for gcc -mtune=haswell... -mtune=haswell
checking for OpenBSD audio... no
checking for mpc_demux_init in -lmpcdec... yes
checking mpc/mpcdec.h usability... yes
checking mpc/mpcdec.h presence... yes
checking for mpc/mpcdec.h... yes
checking for ov_read in -lvorbisidec... yes
checking tremor/ivorbisfile.h usability... yes
checking tremor/ivorbisfile.h presence... yes
checking for tremor/ivorbisfile.h... yes
checking for trio_printf in -ltrio... yes
checking trio.h usability... yes
checking trio.h presence... yes
checking for trio.h... yes
checking for LZO2... yes
checking for LIBZSTD... yes
checking for FLAC... yes
checking for library containing pthread_create... none required
checking for pthread_create... yes
checking for sem_init... yes
checking for sem_timedwait... yes
checking for sem_timedwait_monotonic... no
checking for sem_clockwait... no
checking for sem_clockwait_np... no
checking for pthread_condattr_setclock... yes
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking for pthread_getaffinity_np... no
checking for pthread_setaffinity_np... no
checking for pthread_cond_timedwait_relative_np... no
checking for pthread.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for pthread_np.h... no
checking type for pthread affinity setting... unknown
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking for Linux joystick APIs... no
checking for SDL... yes
checking for library containing gethostbyname... -lnsl
checking for library containing socket... -lsocket
checking for socket... yes
checking for bind... yes
checking for listen... yes
checking for connect... yes
checking for accept... yes
checking for send... yes
checking for recv... yes
checking for close... yes
checking for gethostbyname... yes
checking for gethostbyaddr... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for select... yes
checking for poll... yes
checking for getsockopt... yes
checking for setsockopt... yes
checking CODEGEN_FLAGS for gcc -mcmodel=small... -mcmodel=small
checking whether byte ordering is bigendian... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating intl/Makefile
config.status: creating src/Makefile
config.status: creating src/drivers/Makefile
config.status: creating src/drivers_libxxx/Makefile
config.status: creating src/drivers_dos/Makefile
config.status: creating src/sexyal/Makefile
config.status: creating src/ss/Makefile
config.status: creating include/config.h
config.status: linking include/trio_external/triodef.h to include/trio/triodef.h
config.status: linking include/trio_external/trio.h to include/trio/trio.h
config.status: linking include/trio_external/trionan.h to include/trio/trionan.h
config.status: linking include/trio_external/triop.h to include/trio/triop.h
config.status: linking include/trio_external/triostr.h to include/trio/triostr.h
config.status: linking include/minilzo_external/minilzo.h to include/minilzo/minilzo.h
config.status: linking include/zstd_external/zstd.h to include/zstd/zstd.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp