=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for mpv-0.24.0.tar.gz
=> Checksum RMD160 OK for mpv-0.24.0.tar.gz
=> Checksum SHA512 OK for mpv-0.24.0.tar.gz
===> Installing dependencies for mpv-0.24.0nb3
==========================================================================
The supported build options for mpv are:

	ass caca lua pulseaudio rpi sdl sdl2 v4l2
	vaapi vdpau

The currently selected options are:

	ass lua pulseaudio vaapi vdpau

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.24.0nb3.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * LUA_VERSION_DEFAULT = 52
        * PYTHON_VERSION_DEFAULT = 27
        * READLINE_DEFAULT = editline

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * LUA_PACKAGE = lua52
        * PYPACKAGE = python27
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency perl>=5.0: found perl-5.24.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency py27-docutils>=0.12: found py27-docutils-0.13.1
=> Build dependency waf>=1.8.12: found waf-1.9.8
=> Build dependency x11-links>=1.04: found x11-links-1.05
=> Build dependency python27>=2.7.1nb2: found python27-2.7.13nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1
=> Full dependency pulseaudio>=10.0: found pulseaudio-10.0nb2
=> Full dependency libass>=0.13.4nb2: found libass-0.13.4nb2
=> Full dependency libva>=1.0.6: found libva-1.7.3nb5
=> Full dependency libvdpau>=0.3: found libvdpau-1.1.1nb1
=> Full dependency libdvdnav>=5.0: found libdvdnav-5.0.3
=> Full dependency libdvdread>=4.1.3nb1: found libdvdread-5.0.2
=> Full dependency ffmpeg3>=3.2.2nb1: found ffmpeg3-3.2.4nb1
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.13
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23
=> Full dependency jpeg>=9: found jpeg-9b
===> Overriding tools for mpv-0.24.0nb3
===> Extracting for mpv-0.24.0nb3
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
cp /usr/pkg/bin/waf /data/scratch/multimedia/mpv/work/mpv-0.24.0
===> Patching for mpv-0.24.0nb3
=> Applying pkgsrc patches for mpv-0.24.0nb3
=> Verifying /data/pkgsrc-current/multimedia/mpv/patches/patch-player_main.c
=> Applying pkgsrc patch /data/pkgsrc-current/multimedia/mpv/patches/patch-player_main.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-player_main.c,v 1.2 2017/03/10 15:55:33 nat Exp $
|
|Avoid to check mismatched built vs running libraries version.
|The use in pkgsrc can be considered a legitimate one.
|
|--- player/main.c.orig	2017-02-12 01:31:16.000000000 +0000
|+++ player/main.c
--------------------------
Patching file player/main.c using Plan A...
Hunk #1 succeeded at 438.
done
===> Creating toolchain wrappers for mpv-0.24.0nb3
/bin/ln -s /data/scratch/multimedia/mpv/work/.buildlink/lib/pkgconfig/lua-5.2.pc /data/scratch/multimedia/mpv/work/.buildlink/lib/pkgconfig/lua.pc
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/multimedia/mpv/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/multimedia/mpv/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for mpv-0.24.0nb3
=> Fixing path to audio device.
INFO: [subst.mk:audio] Nothing changed in ./stream/audio_in.c.
=> Fix Python command names.
=> Generating pkg-config file for builtin expat package.
=> Checking for portability problems in extracted files
cd /data/scratch/multimedia/mpv/work/mpv-0.24.0 && /usr/bin/env CC=gcc CFLAGS=-O2\ \ -I/usr/pkg/include\ -I/usr/pkg/include/lua-5.2\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/ffmpeg3 CXX=c++ CXXFLAGS=-O2\ -I/usr/pkg/include\ -I/usr/pkg/include/lua-5.2\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/X11R7/include/freetype2\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/ffmpeg3 DESTDIR=/data/scratch/multimedia/mpv/work/.destdir LINKFLAGS=\ \ \ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib/pulseaudio\ -Wl,-R/usr/pkg/lib/pulseaudio\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/pkg/lib/ffmpeg3\ -Wl,-R/usr/pkg/lib/ffmpeg3 PATH=/data/scratch/multimedia/mpv/work/.cwrapper/bin:/data/scratch/multimedia/mpv/work/.buildlink/bin:/data/scratch/multimedia/mpv/work/.gcc/bin:/data/scratch/multimedia/mpv/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin PREFIX=/usr/pkg JOBS=4 ./waf --mandir=/usr/pkg/man --disable-caca --enable-lua --enable-pulse --disable-sdl2 --disable-sdl1 --enable-libass --disable-libv4l2 --enable-vaapi --enable-vdpau configure
Setting top to                           : /data/scratch/multimedia/mpv/work/mpv-0.24.0 
Setting out to                           : /data/scratch/multimedia/mpv/work/mpv-0.24.0/build 
Checking for waf version in 1.8.4-2.0.0  : ok 
Checking for program 'cc'                : gcc 
Checking for program 'pkg-config'        : /data/scratch/multimedia/mpv/work/.tools/bin/pkg-config 
Checking for program 'ar'                : /usr/bin/ar 
Checking for program 'rst2html'          : not found 
Checking for program 'rst2man-2.7'       : /usr/pkg/bin/rst2man-2.7.py 
Checking for program 'rst2pdf'           : not found 
Checking for program 'windres'           : not found 
Checking for program 'perl'              : /data/scratch/multimedia/mpv/work/.tools/bin/perl 
Checking for 'clang' (C compiler)        : not found 
Checking for 'gcc' (C compiler)          : gcc 
Detected target OS:                      : os-netbsd 
Checking for compiler flags -Werror=implicit-function-declaration : yes 
Checking for compiler flags -Wno-error=deprecated-declarations    : yes 
Checking for compiler flags -Wno-error=unused-function            : yes 
Checking for compiler flags -Wempty-body                          : yes 
Checking for compiler flags -Wdisabled-optimization               : yes 
Checking for compiler flags -Wstrict-prototypes                   : yes 
Checking for compiler flags -Wno-format-zero-length               : yes 
Checking for compiler flags -Werror=format-security               : yes 
Checking for compiler flags -Wno-redundant-decls                  : yes 
Checking for mpv CLI player                                       : yes 
Checking for shared library                                       : disabled 
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 manpage generation                                   : yes 
Checking for html manual generation                               : disabled 
Checking for pdf manual generation                                : disabled 
Checking for dynamic loader                                       : yes 
Checking for C plugins                                            : disabled 
Checking for dlopen                                               : yes 
Checking for compilation of default filters for vf_dlopen         : disabled 
Checking for zsh completion                                       : disabled 
Checking for inline assembly (currently without effect)           : yes 
Checking for test suite (using cmocka)                            : disabled 
Checking for generate a clang compilation database                : disabled 
Checking for compiler support for noexecstack                     : yes 
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 development environment                              : yes 
Checking for win32                                                : not found any of os-win32, os-cygwin 
Checking for internal pthread wrapper for win32 (Vista+)          : win32 not found 
Checking for POSIX threads                                        : yes 
Checking for GNU C extensions                                     : yes 
Checking for stdatomic.h                                          : no 
Checking for compiler support for __atomic built-ins              : yes 
Checking for stdatomic.h support or emulation                     : yes 
Checking for C11 TLS support                                      : no 
Checking for GCC TLS support                                      : yes 
Checking for linking with -lrt                                    : yes 
Checking for iconv                                                : yes 
Checking for w32/dos paths                                        : not found any of os-win32, os-cygwin 
Checking for termios                                              : yes 
Checking for shm                                                  : yes 
Checking for nanosleep                                            : yes 
Checking for POSIX spawnp()/kill()                                : yes 
Checking for posix_spawnp() or MinGW                              : yes 
Checking for glob()                                               : yes 
Checking for glob() win32 replacement                             : not found any of os-win32, os-cygwin 
Checking for fchmod()                                             : yes 
Checking for vt.h                                                 : no 
Checking for gbm.h                                                : no 
Checking for GLIBC API for setting thread name                    : no 
Checking for OSX API for setting thread name                      : no 
Checking for BSD API for setting thread name                      : no 
Checking for NetBSD API for setting thread name                   : yes 
Checking for BSD's fstatfs()                                      : no 
Checking for Linux's fstatfs()                                    : os-linux not found 
Checking for Samba support                                        : no ('smbclient' not found) 
Checking for Lua                                                  : yes (version found: 52) 
Checking for SSA/ASS support                                      : yes 
Checking for libass OSD support                                   : yes 
Checking for dummy OSD support                                    : libass-osd found 
Checking for zlib                                                 : yes 
Checking for Encoding                                             : yes 
Checking for Bluray support                                       : no ('libbluray >= 0.3.0' not found) 
Checking for dvdread support                                      : yes 
Checking for dvdnav support                                       : yes 
Checking for cdda support (libcdio)                               : no ('libcdio_paranoia' not found) 
Checking for uchardet support                                     : no ('uchardet' not found) 
Checking for librubberband support                                : no ('rubberband >= 1.8.0' not found) 
Checking for LCMS2 support                                        : no ('lcms2 >= 2.6' not found) 
Checking for VapourSynth filter bridge (Python)                   : no ('vapoursynth >= 24 vapoursynth-script >= 23' not found) 
Checking for VapourSynth filter bridge (Lazy Lua)                 : no ('vapoursynth >= 24' not found) 
Checking for VapourSynth filter bridge (core)                     : not found any of vapoursynth-lazy, vapoursynth 
Checking for libarchive wrapper for reading zip files and more    : disabled 
Checking for SDL2                                                 : disabled 
Checking for SDL (1.x)                                            : disabled 
Checking for OSS (implementation from opensound.com)              : no 
Checking for OSS (platform-specific OSS implementation)           : yes 
Checking for OSS (emulation on top of SunAudio)                   : oss-audio-native found 
Checking for OSS audio output                                     : yes 
Checking for RSound audio output                                  : no 
Checking for sndio audio input/output                             : disabled 
Checking for PulseAudio audio output                              : yes 
Checking for JACK audio output                                    : no ('jack' not found) 
Checking for OpenAL audio output                                  : disabled 
Checking for OpenSL ES audio output                               : no 
Checking for ALSA audio output                                    : no ('alsa >= 1.0.18' not found) 
Checking for CoreAudio audio output                               : no 
Checking for AudioUnit output for iOS                             : no 
Checking for WASAPI audio output                                  : win32 not found 
Checking for Cocoa                                                : no 
Checking for DRM                                                  : vt.h not found 
Checking for GBM                                                  : gbm.h not found 
Checking for Wayland                                              : no ('wayland-client >= 1.6.0 wayland-cursor >= 1.6.0 xkbcommon >= 0.3.0' not found) 
Checking for X11                                                  : yes 
Checking for Xss screensaver extensions                           : yes 
Checking for X extensions                                         : yes 
Checking for Xv video output                                      : yes 
Checking for Xinerama                                             : yes 
Checking for Xrandr                                               : yes 
Checking for OpenGL Cocoa Backend                                 : cocoa not found 
Checking for OpenGL X11 Backend                                   : yes 
Checking for OpenGL X11 EGL Backend                               : no ('egl gl' not found) 
Checking for OpenGL DRM EGL Backend                               : gbm, drm not found 
Checking for OpenGL Wayland Backend                               : wayland not found 
Checking for OpenGL Win32 Backend                                 : win32 not found 
Checking for OpenGL/DirectX Interop Backend                       : gl-win32 not found 
Checking for OpenGL Win32 ANGLE Backend                           : not found any of os-win32, os-cygwin 
Checking for OpenGL Win32 ANGLE Library                           : egl-angle not found 
Checking for VDPAU acceleration                                   : yes 
Checking for VDPAU with OpenGL/X11                                : yes 
Checking for VAAPI acceleration                                   : yes 
Checking for VAAPI (X11 support)                                  : yes 
Checking for VAAPI (Wayland support)                              : gl-wayland not found 
Checking for VAAPI (DRM/EGL support)                              : egl-drm not found 
Checking for VAAPI GLX                                            : yes 
Checking for VAAPI EGL on X11                                     : egl-x11 not found 
Checking for VAAPI EGL                                            : not found any of vaapi-wayland, vaapi-x-egl 
Checking for CACA                                                 : disabled 
Checking for JPEG support                                         : yes 
Checking for Direct3D support                                     : win32 not found 
Checking for Android support                                      : no 
Checking for Raspberry Pi support                                 : no ('bcm_host' not found) 
Checking for Desktop standard OpenGL support                      : yes 
Checking for Android OpenGL ES support                            : android not found 
Checking for iOS OpenGL ES support                                : no 
Checking for Any OpenGL (ES) support                              : yes 
Checking for OpenGL without platform-specific code (e.g. for libmpv) : not found any of libmpv-shared, libmpv-static 
Checking for MALI via Linux fbdev                                    : no 
Checking for OpenGL video outputs                                    : yes 
Checking for EGL helper functions                                    : not found any of egl-x11, egl-angle, gl-wayland, mali-fbdev, rpi, egl-drm 
Checking for FFmpeg/Libav present                                    : yes 
Checking for libav* is FFmpeg                                        : yes 
Checking for libav* is Libav                                         : no 
Checking for Libav/FFmpeg library versions                           : yes 
Checking for libavdevice                                             : yes 
Checking for libavutil GPU memcpy for hardware decoding              : no 
Checking for libavcodec VAAPI hwaccel                                : yes 
Checking for libavcodec VAAPI hwaccel (new)                          : no 
Checking for libavcodec VAAPI hwaccel (old)                          : yes 
Checking for libavcodec videotoolbox hwaccel                         : no 
Checking for Videotoolbox with OpenGL                                : videotoolbox-hwaccel, gl-cocoa not found 
Checking for libavcodec VDPAU hwaccel                                : yes 
Checking for libavcodec DXVA2 and D3D11VA hwaccel                    : win32 not found 
Checking for CUDA hwaccel                                            : no 
Checking for GCC SSE4 intrinsics for GPU memcpy                      : yes 
Checking for TV interface                                            : yes 
Checking for videoio.h                                               : yes 
Checking for videodev2.h                                             : sys_videoio_h found 
Checking for Video4Linux2 TV interface                               : yes 
Checking for libv4l2 support                                         : disabled 
Checking for audio input support                                     : yes 
Checking for DVB input module                                        : no 
Checking for w32 executable                                          : not found any of os-win32, os-cygwin 
Checking for Apple Remote support                                    : cocoa not found 
Writing configuration header:                                        : config.h 
'configure' finished successfully (6.783s)