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

	alsa bluray caca jack libdrm lua openal opengl
	pulseaudio rpi sdl2 sixel vdpau x11

The currently selected options are:

	bluray lua opengl sdl2 sixel vdpau 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.mpv (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
mpv-0.34.1nb10.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * LUA_VERSION_DEFAULT = 54
        * PYTHON_VERSION_DEFAULT = 310
        * READLINE_DEFAULT = readline

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * LUA_PACKAGE = lua52
        * PYPACKAGE = python310
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

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 py310-docutils>=0.12: found py310-docutils-0.17.1nb1
=> Tool dependency waf>=2.0.9: found waf-2.0.24nb1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.72.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency perl>=5.0: found perl-5.36.0
=> 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.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2
=> Build dependency python310>=3.10: found python310-3.10.8
=> Full dependency libbluray>=1.3.1nb1: found libbluray-1.3.3
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1
=> Full dependency SDL2>=2.24.0nb2: found SDL2-2.24.1
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-21.3.9nb1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.2
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.4
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.3
=> Full dependency libvdpau>=0.3: found libvdpau-1.4
=> Full dependency libXv>=1.0.1: found libXv-1.0.11nb1
=> Full dependency libsixel>=1.7.0: found libsixel-1.8.6nb8
=> Full dependency libarchive>=3.3.1: found libarchive-3.4.3
=> Full dependency lcms2>=2.2: found lcms2-2.12nb1
=> Full dependency libass>=0.15.2: found libass-0.16.0
=> Full dependency libdvdnav>=6.1.0nb1: found libdvdnav-6.1.1
=> Full dependency ffmpeg5>=5.1: found ffmpeg5-5.1.2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency jpeg>=9: found jpeg-9e
===> Overriding tools for mpv-0.34.1nb10
===> Extracting for mpv-0.34.1nb10
cp /opt/pkg/bin/waf /home/pbulk/build/multimedia/mpv/work/mpv-0.34.1
===> Patching for mpv-0.34.1nb10
=> Applying pkgsrc patches for mpv-0.34.1nb10
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-audio_out_ao__alsa.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-audio_out_ao__alsa.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-audio_out_ao__alsa.c,v 1.1 2019/06/01 01:15:54 tsutsui Exp $
|
|- pull a compat definition of ESTRPIPE for non-Linux OSes
|  from alsa-lib-1.1.4.1/include/type_compat.h
|
|--- audio/out/ao_alsa.c.orig	2018-10-02 19:03:41.000000000 +0000
|+++ audio/out/ao_alsa.c
--------------------------
Patching file audio/out/ao_alsa.c using Plan A...
Hunk #1 succeeded at 49.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-etc_mpv.conf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-etc_mpv.conf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-etc_mpv.conf,v 1.1 2022/05/03 07:04:27 nia Exp $
|
|Optimize for stereo audio output devices on NetBSD.
|
|--- etc/mpv.conf.orig	2022-01-03 19:45:08.000000000 +0000
|+++ etc/mpv.conf
--------------------------
Patching file etc/mpv.conf using Plan A...
Hunk #1 succeeded at 71.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-stream_stream__libarchive.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-stream_stream__libarchive.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-stream_stream__libarchive.c,v 1.1 2022/05/17 13:12:13 ryoon Exp $
|
|* NetBSD does not implement uselocale().
|
|--- stream/stream_libarchive.c.orig	2022-01-03 19:45:08.000000000 +0000
|+++ stream/stream_libarchive.c
--------------------------
Patching file stream/stream_libarchive.c using Plan A...
Hunk #1 succeeded at 29.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-video_out_drm__common.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-video_out_drm__common.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-video_out_drm__common.c,v 1.4 2020/12/19 11:27:51 leot Exp $
|
|Enable support for DRM on NetBSD.
|
|--- video/out/drm_common.c.orig	2020-11-22 17:46:28.000000000 +0000
|+++ video/out/drm_common.c
--------------------------
Patching file video/out/drm_common.c using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-video_out_wayland__common.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-video_out_wayland__common.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-video_out_wayland__common.c,v 1.6 2021/11/01 17:39:26 leot Exp $
|
|Allow building on systems without evdev.
|
|--- video/out/wayland_common.c.orig	2021-11-01 14:44:39.000000000 +0000
|+++ video/out/wayland_common.c
--------------------------
Patching file video/out/wayland_common.c using Plan A...
Hunk #1 succeeded at 17.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-wscript
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-wscript
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-wscript,v 1.8 2022/05/03 07:04:27 nia Exp $
|
|- Enable support for DRM on NetBSD.
|- Check for OSSv4 features that could not be on some platforms
|  (e.g. NetBSD)
|
|--- wscript.orig	2022-01-03 19:45:08.000000000 +0000
|+++ wscript
--------------------------
Patching file wscript using Plan A...
Hunk #1 succeeded at 272.
Hunk #2 succeeded at 437.
Hunk #3 succeeded at 495.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-wscript__build.py
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/multimedia/mpv/patches/patch-wscript__build.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-wscript__build.py,v 1.3 2022/05/03 07:04:27 nia Exp $
|
|Install configuration files to examples, per pkgsrc conventions.
|
|--- wscript_build.py.orig	2022-01-03 19:45:08.000000000 +0000
|+++ wscript_build.py
--------------------------
Patching file wscript_build.py using Plan A...
Hunk #1 succeeded at 737.
done
===> Creating toolchain wrappers for mpv-0.34.1nb10
/usr/bin/ln -s /home/pbulk/build/multimedia/mpv/work/.buildlink/lib/pkgconfig/lua-5.2.pc /home/pbulk/build/multimedia/mpv/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for mpv-0.34.1nb10
=> Fix Python command names.
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
cd /home/pbulk/build/multimedia/mpv/work/mpv-0.34.1 && /usr/bin/env CC=gcc CFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/lua-5.2\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include/harfbuzz\ -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/ffmpeg5 CXX=g++ CXXFLAGS=\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/lua-5.2\ -I/opt/pkg/include/ncurses\ -I/opt/pkg/include/SDL2\ -I/opt/pkg/include/libdrm\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include/harfbuzz\ -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/ffmpeg5 DESTDIR=/home/pbulk/build/multimedia/mpv/work/.destdir LINKFLAGS=\ \ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib/ffmpeg5\ -Wl,-R/opt/pkg/lib/ffmpeg5 PATH=/home/pbulk/build/multimedia/mpv/work/.cwrapper/bin:/home/pbulk/build/multimedia/mpv/work/.buildlink/bin:/home/pbulk/build/multimedia/mpv/work/.gcc/bin:/home/pbulk/build/multimedia/mpv/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin PREFIX=/opt/pkg JOBS=1 ./waf --mandir=/opt/pkg/share/man --libdir=/opt/pkg/lib --bindir=/opt/pkg/bin --sysconfdir=/etc/opt/pkg --enable-dvdnav --enable-libmpv-shared --disable-alsa --enable-libbluray --disable-caca --enable-lua --disable-jack --disable-openal --disable-pulse --enable-sdl2 --disable-vaapi --enable-vdpau --disable-drm --disable-wayland --enable-x11 --enable-sixel configure
Setting top to                           : /home/pbulk/build/multimedia/mpv/work/mpv-0.34.1 
Setting out to                           : /home/pbulk/build/multimedia/mpv/work/mpv-0.34.1/build 
Checking for waf version in 1.8.4-2.1.0  : ok 
Checking for program 'cc'                : gcc 
Checking for program 'pkg-config'        : /home/pbulk/build/multimedia/mpv/work/.tools/bin/pkg-config 
Checking for program 'ar'                : /usr/bin/ar 
Checking for program 'rst2html'          : not found 
Checking for program 'rst2man-3.10'      : /opt/pkg/bin/rst2man-3.10 
Checking for program 'rst2pdf'           : not found 
Checking for program 'windres'           : not found 
Checking for program 'perl'              : /home/pbulk/build/multimedia/mpv/work/.tools/bin/perl 
Checking for 'suncc' (C compiler)        : not found 
Checking for 'gcc' (C compiler)          : gcc 
Detected target OS:                      : os-sunos 
Checking for compiler flags -std=c11     : yes 
Checking for compiler flags -Werror -Werror=implicit-function-declaration : yes 
Checking for compiler flags -Werror -Wno-error=deprecated-declarations    : yes 
Checking for compiler flags -Werror -Wno-error=unused-function            : yes 
Checking for compiler flags -Werror -Wempty-body                          : yes 
Checking for compiler flags -Werror -Wdisabled-optimization               : yes 
Checking for compiler flags -Werror -Wstrict-prototypes                   : yes 
Checking for compiler flags -Werror -Wno-format-zero-length               : yes 
Checking for compiler flags -Werror -Werror=format-security               : yes 
Checking for compiler flags -Werror -Wno-redundant-decls                  : yes 
Checking for compiler flags -Werror -Wvla                                 : yes 
Checking for compiler flags -Werror -Wno-format-truncation                : yes 
Checking for compiler flags -Werror -Wimplicit-fallthrough                : yes 
Checking for compiler flags -Werror -fno-math-errno                       : yes 
Checking for LGPL (version 2.1 or later) build                            : disabled 
Checking for GPL (version 2 or later) build                               : yes 
Checking for mpv CLI player                                               : yes 
Checking for shared library                                               : yes 
Checking for static library                                               : disabled 
Checking for static build                                                 : disabled 
Checking for whether to include binary compile time                       : yes 
Checking for whether to optimize                                          : yes 
Checking for whether to compile-in debugging information                  : yes 
Checking for unit tests (development only)                                : disabled 
Checking for enable ta leak report by default (development only)          : disabled 
Checking for manpage generation                                           : yes 
Checking for html manual generation                                       : disabled 
Checking for pdf manual generation                                        : disabled 
Checking for dynamic loader                                               : yes 
Checking for C plugins                                                    : yes 
Checking for inline assembly (currently without effect)                   : yes 
Checking for GCC vector instructions                                      : yes 
Checking for generate a clang compilation database                        : disabled 
Checking for static Swift linking                                         : disabled 
Checking for compiler support for noexecstack                             : no 
Checking for linker support for --nxcompat --no-seh --dynamicbase         : no 
Checking for -lm                                                          : yes 
Checking for MinGW                                                        : os-win32 not found 
Checking for POSIX environment                                            : yes 
Checking for Android environment                                          : no 
Checking for tvOS environment                                             : no 
Checking for Android EGL support                                          : android not found 
Checking for development environment                                      : yes 
Checking for macOS Swift build tools                                      : os-darwin not found 
Checking for Universal Windows Platform                                   : disabled 
Checking for win32 desktop APIs                                           : os-win32 not found 
Checking for internal pthread wrapper for win32 (Vista+)                  : posix found 
Checking for POSIX threads                                                : yes 
Checking for pthread runtime debugging wrappers                           : disabled 
Checking for C11 stdatomic.h                                              : yes 
Checking for linking with -lrt                                            : yes 
Checking for iconv                                                        : yes 
Checking for w32/dos paths                                                : os-win32 not found 
Checking for glob() POSIX support                                         : yes 
Checking for glob() win32 replacement                                     : posix found 
Checking for any glob() support                                           : yes 
Checking for vt.h                                                         : no 
Checking for consio.h                                                     : no 
Checking for wsdisplay_usl_io.h                                           : no 
Checking for gbm.h                                                        : yes 
Checking for GLIBC API for setting thread name                            : yes 
Checking for OSX API for setting thread name                              : glibc-thread-name found 
Checking for BSD API for setting thread name                              : glibc-thread-name found 
Checking for BSD's fstatfs()                                              : no 
Checking for Linux's fstatfs()                                            : os-linux not found 
Checking for Linux's input-event-codes.h                                  : no 
Checking for Lua                                                          : yes (version found: luadef52) 
Checking for Javascript (MuJS backend)                                    : no ('mujs >= 1.0.0' not found) 
Checking for SSA/ASS support                                              : yes 
Checking for zlib                                                         : yes 
Checking for Bluray support                                               : yes 
Checking for dvdnav support                                               : yes 
Checking for cdda support (libcdio)                                       : disabled 
Checking for uchardet support                                             : no ('uchardet' not found) 
Checking for librubberband support                                        : no ('rubberband >= 1.8.0' not found) 
Checking for libzimg support (high quality software scaler)               : no ('zimg >= 2.9' not found) 
Checking for LCMS2 support                                                : yes 
Checking for VapourSynth filter bridge                                    : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found) 
Checking for libarchive wrapper for reading zip files and more            : yes 
Checking for DVB input module                                             : disabled 
Checking for SDL2                                                         : yes 
Checking for SDL2 gamepad input                                           : yes 
Checking for FFmpeg library                                               : yes 
Checking for libavdevice                                                  : yes 
Checking for FFmpeg AVIOContext bytes_read statistic field                : yes 
Checking for SDL2 audio output                                            : yes 
Checking for OSSv4 audio output                                           : yes 
Checking for PulseAudio audio output                                      : disabled 
Checking for JACK audio output                                            : disabled 
Checking for OpenAL audio output                                          : disabled 
Checking for OpenSL ES audio output                                       : no 
Checking for ALSA audio output                                            : disabled 
Checking for CoreAudio audio output                                       : no 
Checking for AudioUnit output for iOS                                     : no 
Checking for WASAPI audio output                                          : os-win32 not found 
Checking for SDL2 video output                                            : yes 
Checking for Cocoa                                                        : no 
Checking for DRM                                                          : disabled 
Checking for GBM                                                          : yes 
Checking for wayland-scanner                                              : no 
Checking for wayland-protocols                                            : no ('wayland-protocols >= 1.15' not found) 
Checking for Wayland                                                      : disabled 
Checking for Linux's memfd_create()                                       : wayland not found 
Checking for X11                                                          : yes 
Checking for Xv video output                                              : yes 
Checking for OpenGL Cocoa Backend                                         : cocoa not found 
Checking for OpenGL X11/GLX (deprecated/legacy)                           : disabled 
Checking for Raspberry Pi support                                         : disabled 
Checking for EGL 1.4                                                      : yes 
Checking for OpenGL X11 EGL Backend                                       : yes 
Checking for OpenGL DRM EGL Backend                                       : drm not found 
Checking for OpenGL Wayland Backend                                       : wayland not found 
Checking for OpenGL Win32 Backend                                         : win32-desktop not found 
Checking for OpenGL/DirectX Interop Backend                               : gl-win32 not found 
Checking for OpenGL ANGLE headers                                         : os-win32 not found 
Checking for OpenGL Win32 ANGLE Library                                   : egl-angle not found 
Checking for OpenGL Win32 ANGLE Backend                                   : egl-angle not found 
Checking for VDPAU acceleration                                           : yes 
Checking for VDPAU with OpenGL/X11                                        : gl-x11 not found 
Checking for VAAPI acceleration                                           : disabled 
Checking for VAAPI (X11 support)                                          : vaapi not found 
Checking for VAAPI (Wayland support)                                      : vaapi not found 
Checking for VAAPI (DRM/EGL support)                                      : vaapi not found 
Checking for VAAPI EGL on X11                                             : vaapi-x11 not found 
Checking for VAAPI EGL                                                    : vaapi-x-egl not found 
Checking for CACA                                                         : disabled 
Checking for JPEG support                                                 : yes 
Checking for Direct3D support                                             : win32-desktop not found 
Checking for libshaderc SPIR-V compiler (shared library)                  : no 
Checking for libshaderc SPIR-V compiler (static library)                  : no 
Checking for libshaderc SPIR-V compiler                                   : shaderc-shared not found 
Checking for SPIRV-Cross SPIR-V shader converter (shared library)         : no ('spirv-cross-c-shared' not found) 
Checking for SPIRV-Cross SPIR-V shader converter (static library)         : no ('spirv-cross' not found) 
Checking for SPIRV-Cross SPIR-V shader converter                          : spirv-cross-shared not found 
Checking for Direct3D 11 video output                                     : win32-desktop not found 
Checking for iOS OpenGL ES hardware decoding interop support              : no 
Checking for OpenGL without platform-specific code (e.g. for libmpv)      : yes 
Checking for OpenGL context support                                       : yes 
Checking for libplacebo support                                           : no ('libplacebo >= 3.104.0' not found) 
Checking for Vulkan context support                                       : libplacebo not found 
Checking for VAAPI Vulkan                                                 : vaapi not found 
Checking for EGL helper functions                                         : yes 
Checking for Sixel                                                        : yes 
Checking for libavcodec videotoolbox hwaccel                              : gl-cocoa not found 
Checking for Videotoolbox with OpenGL                                     : gl-cocoa not found 
Checking for D3D11VA hwaccel                                              : os-win32 not found 
Checking for DXVA2 hwaccel                                                : d3d-hwaccel not found 
Checking for OpenGL/DirectX Interop Backend DXVA2 interop                 : gl-dxinterop not found 
Checking for CUDA Headers and dynamic loader                              : no ('ffnvcodec >= 8.2.15.7' not found) 
Checking for CUDA acceleration                                            : ffnvcodec not found 
Checking for CUDA with graphics interop                                   : cuda-hwaccel not found 
Checking for Raspberry Pi MMAL hwaccel                                    : rpi not found 
Checking for w32 executable                                               : os-win32 not found 
Checking for macOS Touch Bar support                                      : cocoa not found 
Checking for macOS 10.11 SDK Features                                     : cocoa not found 
Checking for macOS 10.12.2 SDK Features                                   : cocoa not found 
Checking for macOS 10.14 SDK Features                                     : cocoa not found 
Checking for macOS Media Player support                                   : macos-10-12-2-features not found 
Checking for macOS libmpv backend                                         : cocoa not found 
Writing configuration header:                                             : config.h 
'configure' finished successfully (7.522s)