=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> 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.29.1.tar.gz => Checksum RMD160 OK for mpv-0.29.1.tar.gz => Checksum SHA512 OK for mpv-0.29.1.tar.gz ===> Installing dependencies for mpv-0.29.1nb6 ========================================================================== The supported build options for mpv are: ass bluray caca lua pulseaudio rpi sdl2 v4l2 vaapi vdpau The currently selected options are: ass bluray 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.29.1nb6. Their current value is shown below: * JPEG_DEFAULT = jpeg * LUA_VERSION_DEFAULT = 52 * PYTHON_VERSION_DEFAULT = 37 * READLINE_DEFAULT = editline Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * LUA_PACKAGE = lua52 * PYPACKAGE = python37 * 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 py37-docutils>=0.12: found py37-docutils-0.14 => Tool dependency waf>=2.0.9: found waf-2.0.15nb1 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.56.2nb1 => Tool dependency perl>=5.0: found perl-5.28.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.17: found x11-links-1.17 => Build dependency python37>=3.7.0: found python37-3.7.3 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency libbluray>=0.8.1: found libbluray-1.1.1 => Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1 => Full dependency pulseaudio>=12.0: found pulseaudio-12.2nb3 => Full dependency libass>=0.14.0nb2: found libass-0.14.0nb2 => Full dependency libva>=2.3.0: found libva-2.3.0 => Full dependency libvdpau>=0.3: found libvdpau-1.2 => Full dependency lcms2>=2.2: found lcms2-2.9 => Full dependency libdvdnav>=5.0: found libdvdnav-6.0.0 => Full dependency libdvdread>=4.1.3nb1: found libdvdread-6.0.1 => Full dependency ffmpeg4>=4.1nb2: found ffmpeg4-4.1.3 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.23nb1 => Full dependency jpeg>=9: found jpeg-9cnb1 ===> Overriding tools for mpv-0.29.1nb6 ===> Extracting for mpv-0.29.1nb6 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 /tmp/multimedia/mpv/work/mpv-0.29.1 ===> Patching for mpv-0.29.1nb6 => Applying pkgsrc patches for mpv-0.29.1nb6 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/mpv/patches/patch-audio_out_ao__oss.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/mpv/patches/patch-audio_out_ao__oss.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-audio_out_ao__oss.c,v 1.10 2018/10/25 08:31:32 leot Exp $ | |- ioctl(..., SNDCTL_DSP_CHANNELS, &nchannels) for not supported nchannels does not | return an error and instead set nchannels to the default value. Instead of | failing with no audio, fallbacks to stereo. | |Shared upstream via: | | | |--- audio/out/ao_oss.c.orig 2018-10-02 19:03:41.000000000 +0000 |+++ audio/out/ao_oss.c -------------------------- Patching file audio/out/ao_oss.c using Plan A... Hunk #1 succeeded at 336. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/mpv/patches/patch-player_main.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.4 2018/07/25 14:19:16 leot Exp $ | |Avoid to check mismatched built vs running libraries version. |The use in pkgsrc can be considered a legitimate one. | |--- player/main.c.orig 2018-07-22 16:46:25.000000000 +0000 |+++ player/main.c -------------------------- Patching file player/main.c using Plan A... Hunk #1 succeeded at 381. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/mpv/patches/patch-video_out_drm__common.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.2 2019/02/05 12:07:57 leot Exp $ | |Enable support for DRM on NetBSD. | |--- video/out/drm_common.c.orig 2018-10-02 19:03:41.000000000 +0000 |+++ video/out/drm_common.c -------------------------- Patching file video/out/drm_common.c using Plan A... Hunk #1 succeeded at 21. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/mpv/patches/patch-wscript => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.2 2019/02/05 12:07:57 leot Exp $ | |Enable support for DRM on NetBSD. | |--- wscript.orig 2018-10-02 19:03:41.000000000 +0000 |+++ wscript -------------------------- Patching file wscript using Plan A... Hunk #1 succeeded at 276. Hunk #2 succeeded at 555. done ===> Creating toolchain wrappers for mpv-0.29.1nb6 /bin/ln -s /tmp/multimedia/mpv/work/.buildlink/lib/pkgconfig/lua-5.2.pc /tmp/multimedia/mpv/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for mpv-0.29.1nb6 => Fixing path to audio device. => Fix Python command names. => Generating pkg-config file for builtin expat package. => Generating pkg-config files for builtin xz package. => Checking for portability problems in extracted files cd /tmp/multimedia/mpv/work/mpv-0.29.1 && /usr/bin/env CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/X11R7/include/freetype2\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/lua-5.2\ -I/usr/pkg/include/glib/glib-2.0\ -I/usr/pkg/include/glib/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include/ffmpeg4 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/X11R7/include/freetype2\ -I/usr/include\ -I/usr/X11R7/include\ -I/usr/pkg/include/lua-5.2\ -I/usr/pkg/include/glib/glib-2.0\ -I/usr/pkg/include/glib/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/X11R7/include/libdrm\ -I/usr/pkg/include/python3.7\ -I/usr/pkg/include/ffmpeg4 DESTDIR=/tmp/multimedia/mpv/work/.destdir LINKFLAGS=\ \ \ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib/pulseaudio\ -Wl,-R/usr/pkg/lib/pulseaudio\ -L/usr/pkg/lib/ffmpeg4\ -Wl,-R/usr/pkg/lib/ffmpeg4 PATH=/tmp/multimedia/mpv/work/.cwrapper/bin:/tmp/multimedia/mpv/work/.buildlink/bin:/tmp/multimedia/mpv/work/.gcc/bin:/tmp/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 --bindir=/usr/pkg/bin --enable-dvdnav --enable-dvdread --disable-egl-x11 --enable-libbluray --disable-caca --enable-lua --enable-pulse --disable-sdl2 --enable-libass --disable-libv4l2 --enable-vaapi --enable-vdpau configure Setting top to : /tmp/multimedia/mpv/work/mpv-0.29.1 Setting out to : /tmp/multimedia/mpv/work/mpv-0.29.1/build Checking for waf version in 1.8.4-2.1.0 : ok Checking for program 'cc' : gcc Checking for program 'pkg-config' : /tmp/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.7' : /usr/pkg/bin/rst2man-3.7.py Checking for program 'rst2pdf' : not found Checking for program 'windres' : not found Checking for program 'perl' : /tmp/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 compiler flags -Wvla : yes Checking for LGPL (version 2.1 or later) build : disabled Checking for GPL (version 2 or later) build : yes Checking for internal audio filter chain : 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 : yes 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 Android environment : no 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 GNU C extensions : yes Checking for stdatomic.h : yes Checking for stdatomic.h support or slow emulation : yes Checking for linking with -lrt : yes Checking for iconv : yes Checking for w32/dos paths : os-win32 not found Checking for spawnp()/kill() POSIX support : yes Checking for spawnp()/kill() Android replacement : posix-spawn-native found Checking for any spawnp()/kill() support : yes Checking for Windows pipe support : posix found Checking for glob() POSIX support : yes Checking for glob() win32 replacement : posix found Checking for any glob() support : yes Checking for fchmod() : yes Checking for vt.h : no Checking for wsdisplay_usl_io.h : yes Checking for gbm.h : yes 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 BSD's fstatfs() : no Checking for Linux's fstatfs() : os-linux not found Checking for Samba support (makes mpv GPLv3) : disabled Checking for Lua : yes (version found: 52) Checking for Javascript (MuJS backend) : no ('mujs >= 1.0.0' not found) 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 Bluray support : yes Checking for dvdread support : yes Checking for dvdnav support : yes Checking for DVD/IFO 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 LCMS2 support : yes 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) : vapoursynth not found Checking for libarchive wrapper for reading zip files and more : no ('libarchive >= 3.0.0' not found) Checking for SDL2 : disabled Checking for OSS : 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 : os-win32 not found Checking for Cocoa : no Checking for DRM : yes Checking for DRM Prime ffmpeg support : yes Checking for GBM : yes Checking for wayland-scanner : no Checking for wayland-protocols : no ('wayland-protocols >= 1.14' not found) Checking for Wayland : wayland-protocols not found Checking for X11 : yes Checking for Xv video output : yes Checking for OpenGL Cocoa Backend : cocoa not found Checking for OpenGL X11 Backend : yes Checking for OpenGL X11 EGL Backend : disabled Checking for OpenGL DRM EGL Backend : no ('egl' 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 : 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 : 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 libcrossc SPIR-V translator : no ('crossc' not found) Checking for Direct3D 11 video output : win32-desktop not found Checking for Raspberry Pi support : no Checking for iOS OpenGL ES hardware decoding interop support : no Checking for OpenGL without platform-specific code (e.g. for libmpv) : libmpv-shared not found Checking for MALI via Linux fbdev : no Checking for OpenGL context support : yes Checking for Vulkan context support : no ('vulkan' not found) Checking for EGL helper functions : egl-x11 not found 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 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.1.24.1' not found) Checking for CUDA hwaccel : ffnvcodec not found Checking for TV interface : disabled Checking for videoio.h : tv not found Checking for videodev2.h : tv not found Checking for Video4Linux2 TV interface : tv not found Checking for libv4l2 support : disabled Checking for audio input support : tv-v4l2 not found Checking for DVB input module : disabled Checking for w32 executable : os-win32 not found Checking for Apple Remote support : cocoa not found Checking for macOS Touch Bar support : cocoa not found Checking for macOS opengl-cb backend : cocoa not found Writing configuration header: : config.h 'configure' finished successfully (17.161s)