+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/snes9x-gtk-1.61/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/snes9x-gtk-1.61/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for KhronosGroup-SPIRV-Cross-1458bae62ec67ea7d12c5a13b740e23ed4bb226c.tar.gz
=> Checksum SHA512 OK for KhronosGroup-SPIRV-Cross-1458bae62ec67ea7d12c5a13b740e23ed4bb226c.tar.gz
=> Checksum BLAKE2s OK for KhronosGroup-glslang-bcf6a2430e99e8fc24f9f266e99316905e6d5134.tar.gz
=> Checksum SHA512 OK for KhronosGroup-glslang-bcf6a2430e99e8fc24f9f266e99316905e6d5134.tar.gz
=> Checksum BLAKE2s OK for snes9x-1.61.tar.gz
=> Checksum SHA512 OK for snes9x-1.61.tar.gz
===> Installing dependencies for snes9x-gtk-1.61
==========================================================================
The supported build options for snes9x-gtk are:

	alsa opengl portaudio pulseaudio wayland

The currently selected options are:

	opengl

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

	PKG_OPTIONS.snes9x-gtk (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
snes9x-gtk-1.61.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * PYTHON_VERSION_DEFAULT = 39

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * PYPACKAGE = python39

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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency gettext-m4-[0-9]*: found gettext-m4-0.21
=> Tool dependency meson>=0: found meson-0.62.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.70.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gawk>=3.1.1: found gawk-5.1.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> 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.2
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-21.3.7
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.2
=> Full dependency minizip>=1.2.11: found minizip-1.2.12
=> Full dependency zlib>=1.2.3: found zlib-1.2.12nb1
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency SDL2>=2.0.20nb1: found SDL2-2.0.22
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency gtkmm3>=3.24.5nb2: found gtkmm3-3.24.5nb2
=> Full dependency libXv>=1.0.1: found libXv-1.0.11nb1
=> Full dependency python39>=3.9.0: found python39-3.9.13
===> Overriding tools for snes9x-gtk-1.61
===> Extracting for snes9x-gtk-1.61
===> Patching for snes9x-gtk-1.61
=> Applying pkgsrc patches for snes9x-gtk-1.61
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/patches/patch-shaders_shader__platform.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/snes9x-gtk/patches/patch-shaders_shader__platform.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-shaders_shader__platform.h,v 1.1 2019/03/05 12:12:32 nia Exp $
|
|Include unistd for chdir.
|
|--- shaders/shader_platform.h.orig	2019-02-28 02:36:00.000000000 +0000
|+++ shaders/shader_platform.h
--------------------------
Patching file shaders/shader_platform.h using Plan A...
Hunk #1 succeeded at 28.
done
===> Creating toolchain wrappers for snes9x-gtk-1.61
===> Configuring for snes9x-gtk-1.61
=> Correct path to OSS device.
=> Checking for portability problems in extracted files
cd /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.61 && cd gtk && /usr/bin/env USETOOLS=no LIBOSSAUDIO= DEVOSSAUDIO=/dev/dsp DEVOSSSOUND=/dev/dsp PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CMAKE=false DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/opt/pkg/bin/python3.9 CC=gcc CFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/python3.9 CPPFLAGS=-I/usr/include\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/python3.9 CXX=g++ CXXFLAGS=-pipe\ -fno-aggressive-loop-optimizations\ -pipe\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include\ -I/opt/pkg/include/libdrm\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/python3.9 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=-lsocket\ -lnsl\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/emulators/snes9x-gtk/work/.cwrapper/bin:/home/pbulk/build/emulators/snes9x-gtk/work/.buildlink/bin:/home/pbulk/build/emulators/snes9x-gtk/work/.gcc/bin:/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/emulators/snes9x-gtk/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/emulators/snes9x-gtk/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ -s\ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/emulators/snes9x-gtk/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/emulators/snes9x-gtk/work/.buildlink/lib/pkgconfig:/home/pbulk/build/emulators/snes9x-gtk/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/emulators/snes9x-gtk/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/emulators/snes9x-gtk/work/.cwrapper/config meson  --prefix /opt/pkg  --libdir lib  --libexecdir libexec  --mandir share/man  --sysconfdir /etc/opt/pkg    --buildtype=plain -Doss=true -Dalsa=false -Dopengl=true -Dpulseaudio=false -Dportaudio=false -Dwayland=false . output
The Meson build system
Version: 0.62.2
Source dir: /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.61/gtk
Build dir: /home/pbulk/build/emulators/snes9x-gtk/work/snes9x-1.61/gtk/output
Build type: native build
Project name: snes9x-gtk
Project version: 1.61
C compiler for the host machine: gcc (gcc 10.3.0 "gcc (GCC) 10.3.0")
C linker for the host machine: gcc ld.solaris 5.11-1.1781 (illumos)
C++ compiler for the host machine: g++ (gcc 10.3.0 "g++ (GCC) 10.3.0")
C++ linker for the host machine: g++ ld.solaris 5.11-1.1781 (illumos)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program msgfmt found: YES (/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/msgfmt)
Program msginit found: YES (/opt/pkg/bin/msginit)
Program msgmerge found: YES (/opt/pkg/bin/msgmerge)
Program xgettext found: YES (/home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/xgettext)
Found pkg-config: /home/pbulk/build/emulators/snes9x-gtk/work/.tools/bin/pkg-config (1.8.0)
Run-time dependency sdl2 found: YES 2.0.22
Run-time dependency gtkmm-3.0 found: YES 3.24.5
Run-time dependency gthread-2.0 found: YES 2.70.5
Library X11 found: YES
Library Xext found: YES
Library dl found: YES
Run-time dependency xrandr found: YES 1.5.2
Run-time dependency epoxy found: YES 1.5.9
Run-time dependency xv found: YES 1.0.11
Has header "sys/soundcard.h" : YES 
Run-time dependency libpng found: YES 1.6.37
Run-time dependency minizip found: YES 1.2.12
Run-time dependency zlib found: YES 1.2.12
Checking for function "mkstemp" : YES 
Has header "strings.h" : YES 
Has header "stdint.h" : YES 
Message: Snes9x GTK+ Build Configuration
[Locations] prefix:            /opt/pkg
            datadir:           share
            appdatadir:        /opt/pkg/share/snes9x
            localedir:         /opt/pkg/share/locale
[Options]   Build type:        plain
            Wayland:           false
            OpenGL:            true
             slang shaders:    true
            XVideo:            true
            ALSA:              false
            Open Sound System: true
            PulseAudio:        false
            PortAudio:         false
            HQ2X filter:       true
            xBRZ filter:       true
            Screenshot saving: true
            zlib compression:  true
            System minizip:    true
Build targets in project: 20

snes9x-gtk 1.61

  User defined options
    buildtype : plain
    libdir    : lib
    libexecdir: libexec
    mandir    : share/man
    prefix    : /opt/pkg
    sysconfdir: /etc/opt/pkg
    alsa      : false
    opengl    : true
    oss       : true
    portaudio : false
    pulseaudio: false
    wayland   : false

Found ninja-1.11.0 at /opt/pkg/bin/ninja