Opened 3 years ago

Closed 3 years ago

#63706 closed defect (duplicate)

mpv build error on Big Sur (macOS 11.6) / Apple Silicon M1

Reported by: mvenkadesan (MV) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: bigsur arm64 Cc: fracai, mopihopi
Port: mpv

Description

I did a fresh install of MacPorts, XCode, and all the steps that I usually execute to get my new computer up and running. The only port that gives me an error during build is mpv. I attach the log. I am not an expert at reading the log, but this seems to be the main issue:

:info:build <unknown>:0: error: fatal error encountered while reading from module 'Foundation'; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project

Is there a way to install MPV? None of the other ports (ffmpeg, etc) had issues. Any help is appreciated!

sudo port -v install mpv
--->  Computing dependencies for mpv.
--->  Fetching archive for mpv
--->  mpv-0.33.1_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch mpv-0.33.1_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2 from https://packages.macports.org/mpv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch mpv-0.33.1_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/mpv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch mpv-0.33.1_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/mpv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
--->  Fetching distfiles for mpv
--->  Verifying checksums for mpv
--->  Checksumming mpv-0.33.1.tar.gz
--->  Checksumming waf-2.0.22
--->  Extracting mpv
--->  Extracting mpv-0.33.1.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/mpv/mpv-0.33.1.tar.gz' | /usr/bin/tar -xf -
xinstall: chdir(/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/multimedia/mpv/files)
xinstall: config-maintainer -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS//config-maintainer
xinstall: chdir(/opt/local/var/macports/distfiles/mpv)
xinstall: waf-2.0.22 -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/waf
--->  Patching wscript: s|'rst2man'|'rst2man-3.9'|
--->  Configuring mpv
--->  Patching config-maintainer: s/@@NETWORK@@//
--->  Patching config-maintainer: s/@@HWDEC@@//
--->  Patching config-maintainer: s/@@HWDEC_CUDA@@//
--->  Patching config-maintainer: s/@@BACKEND@@/cocoa/
Warning: reinplace s/@@BACKEND@@/cocoa/ didn't change anything in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1/TOOLS/config-maintainer
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1" && /opt/local/bin/python3.9 ./waf configure --prefix=/opt/local --enable-manpage-build --enable-coreaudio --enable-cocoa --enable-cplugins --enable-zlib --enable-swift --disable-html-build --disable-cuda-hwaccel --disable-opensles --disable-egl-drm --disable-egl-angle-lib --disable-egl-angle-win32 --disable-audiounit --disable-ios-gl --disable-direct3d --disable-android --disable-rpi --disable-dvbin --disable-caca --enable-cdda --disable-clang-database --disable-debug-build --enable-dvdnav --disable-egl-x11 --enable-gl --enable-gl-cocoa --disable-gl-x11 --disable-jack --disable-javascript --disable-jpeg --enable-libarchive --disable-openal --disable-pdf-build --disable-pulse --disable-rubberband --disable-test --disable-tv --disable-uchardet --disable-vapoursynth --disable-x11 --disable-xv --enable-videotoolbox-gl --enable-lua --lua=52fbsd
Setting top to                           : /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366
Setting out to                           : /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build
Checking for waf version in 1.8.4-2.1.0  : ok
Checking for program 'cc'                : /usr/bin/clang
Checking for program 'pkg-config'        : /opt/local/bin/pkg-config
Checking for program 'ar'                : /opt/local/bin/ar
Checking for program 'rst2html'          : not found
Checking for program 'rst2man-3.9'       : /opt/local/bin/rst2man-3.9.py
Checking for program 'rst2pdf'           : not found
Checking for program 'windres'           : not found
Checking for program 'perl'              : /opt/local/bin/perl
Checking for 'clang' (C compiler)        : /usr/bin/clang
Detected target OS:                      : os-darwin
Checking for macOS SDK                   : /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk (version found: 12.0)
Checking for swift (Swift compiler)      : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift
Checking for dynamic Swift Library       : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx
Checking for static Swift Library        : not found
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                : no
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                                               : 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                  : disabled
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 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                                          : disabled
Checking for tvOS environment                                             : disabled
Checking for Android EGL support                                          : android not found
Checking for development environment                                      : yes
Checking for macOS Swift build tools                                      : yes (version found: 5.5.1)
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                                            : no
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 gbm.h                                                        : no
Checking for GLIBC API for setting thread name                            : no
Checking for OSX API for setting thread name                              : yes
Checking for BSD API for setting thread name                              : osx-thread-name found
Checking for BSD's fstatfs()                                              : yes
Checking for Linux's fstatfs()                                            : os-linux not found
Checking for Linux's input-event-codes.h                                  : no
Checking for Lua                                                          : yes (version found: 52fbsd)
Checking for Javascript (MuJS backend)                                    : disabled
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)                                       : yes
Checking for uchardet support                                             : disabled
Checking for librubberband support                                        : disabled
Checking for libzimg support (high quality software scaler)               : yes
Checking for LCMS2 support                                                : yes
Checking for VapourSynth filter bridge                                    : disabled
Checking for libarchive wrapper for reading zip files and more            : yes
Checking for DVB input module                                             : disabled
Checking for SDL2                                                         : disabled
Checking for SDL2 gamepad input                                           : sdl2 not found
Checking for FFmpeg library                                               : yes
Checking for libavdevice                                                  : yes
Checking for Disable all known FFmpeg ABI violations                      : disabled
Checking for SDL2 audio output                                            : sdl2 not found
Checking for PulseAudio audio output                                      : disabled
Checking for JACK audio output                                            : disabled
Checking for OpenAL audio output                                          : disabled
Checking for OpenSL ES audio output                                       : disabled
Checking for ALSA audio output                                            : no ('alsa >= 1.0.18' not found)
Checking for CoreAudio audio output                                       : yes
Checking for AudioUnit output for iOS                                     : disabled
Checking for WASAPI audio output                                          : os-win32 not found
Checking for SDL2 video output                                            : sdl2 not found
Checking for Cocoa                                                        : yes
Checking for DRM                                                          : vt.h not found
Checking for GBM                                                          : gbm.h not found
Checking for wayland-scanner                                              : no
Checking for wayland-protocols                                            : no ('wayland-protocols >= 1.15' not found)
Checking for Wayland                                                      : wayland-protocols not found
Checking for Linux's memfd_create()                                       : wayland not found
Checking for X11                                                          : disabled
Checking for Xv video output                                              : disabled
Checking for OpenGL Cocoa Backend                                         : yes
Checking for OpenGL X11/GLX (deprecated/legacy)                           : disabled
Checking for Raspberry Pi support                                         : disabled
Checking for EGL 1.4                                                      : no ('egl' not found)
Checking for OpenGL X11 EGL Backend                                       : disabled
Checking for OpenGL DRM EGL Backend                                       : disabled
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                                   : disabled
Checking for OpenGL Win32 ANGLE Backend                                   : disabled
Checking for VDPAU acceleration                                           : x11 not found
Checking for VDPAU with OpenGL/X11                                        : vdpau not found
Checking for VAAPI acceleration                                           : x11 not found
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                                                 : disabled
Checking for Direct3D support                                             : disabled
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              : disabled
Checking for OpenGL without platform-specific code (e.g. for libmpv)      : libmpv-shared not found
Checking for OpenGL context support                                       : yes
Checking for libplacebo support                                           : no ('libplacebo >= 1.18.0' not found)
Checking for Vulkan context support                                       : libplacebo not found
Checking for VAAPI Vulkan                                                 : vaapi not found
Checking for EGL helper functions                                         : egl not found
Checking for Sixel                                                        : no ('libsixel >= 1.5' not found)
Checking for libavcodec videotoolbox hwaccel                              : yes
Checking for Videotoolbox with OpenGL                                     : yes
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                                            : disabled
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                                      : yes
Checking for macOS 10.11 SDK Features                                     : yes
Checking for macOS 10.12.2 SDK Features                                   : yes
Checking for macOS 10.14 SDK Features                                     : yes
Checking for macOS Media Player support                                   : yes
Checking for macOS libmpv backend                                         : yes
Adding conditional Swift flags:                                           : yes
Writing configuration header:                                             : config.h
'configure' finished successfully (3.003s)
--->  Building mpv
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1" && /opt/local/bin/python3.9 ./waf build -v --verbose
Waf: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build'
[1/1] Compiling version.sh
10:09:17 runner ' sh ../version.sh --cwd="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366" --versionh="generated/version.h" '
[  2/230] Processing osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule: osdep/macos/log_helper.swift osdep/macos/libmpv_helper.swift osdep/macos/mpv_helper.swift osdep/macos/swift_extensions.swift osdep/macos/swift_compat.swift osdep/macos/remote_command_center.swift video/out/mac/common.swift video/out/mac/view.swift video/out/mac/window.swift video/out/mac/title_bar.swift video/out/cocoa_cb_common.swift video/out/mac/gl_layer.swift -> build/osdep/macOS_swift.o build/osdep/macOS_swift.h build/osdep/macOS_swift.swiftmodule
10:09:17 runner ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift', '-frontend', '-c', '-sdk', '/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk', '-enable-objc-interop', '-emit-objc-header', '-parse-as-library', '-O', '-D', 'HAVE_GPL', '-D', 'HAVE_CPLAYER', '-D', 'HAVE_BUILD_DATE', '-D', 'HAVE_OPTIMIZE', '-D', 'HAVE_LIBDL', '-D', 'HAVE_CPLUGINS', '-D', 'HAVE_ASM', '-D', 'HAVE_LIBM', '-D', 'HAVE_POSIX', '-D', 'HAVE_POSIX_OR_MINGW', '-D', 'HAVE_SWIFT', '-D', 'HAVE_PTHREADS', '-D', 'HAVE_STDATOMIC', '-D', 'HAVE_ICONV', '-D', 'HAVE_GLOB_POSIX', '-D', 'HAVE_GLOB', '-D', 'HAVE_OSX_THREAD_NAME', '-D', 'HAVE_BSD_FSTATFS', '-D', 'HAVE_52FBSD', '-D', 'HAVE_LUA', '-D', 'HAVE_LIBASS', '-D', 'HAVE_ZLIB', '-D', 'HAVE_LIBBLURAY', '-D', 'HAVE_DVDNAV', '-D', 'HAVE_CDDA', '-D', 'HAVE_ZIMG', '-D', 'HAVE_LCMS2', '-D', 'HAVE_LIBARCHIVE', '-D', 'HAVE_FFMPEG', '-D', 'HAVE_LIBAVDEVICE', '-D', 'HAVE_COREAUDIO', '-D', 'HAVE_COCOA', '-D', 'HAVE_GL_COCOA', '-D', 'HAVE_GL', '-D', 'HAVE_VIDEOTOOLBOX_HWACCEL', '-D', 'HAVE_VIDEOTOOLBOX_GL', '-D', 'HAVE_MACOS_TOUCHBAR', '-D', 'HAVE_MACOS_10_11_FEATURES', '-D', 'HAVE_MACOS_10_12_2_FEATURES', '-D', 'HAVE_MACOS_10_14_FEATURES', '-D', 'HAVE_MACOS_MEDIA_PLAYER', '-D', 'HAVE_MACOS_COCOA_CB', '-module-name', 'macOS_swift', '-emit-module-path', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build/osdep/macOS_swift.swiftmodule', '-import-objc-header', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macOS_swift_bridge.h', '-emit-objc-header-path', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build/osdep/macOS_swift.h', '-o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build/osdep/macOS_swift.o', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/log_helper.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/swift_extensions.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/swift_compat.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/remote_command_center.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/view.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/window.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/cocoa_cb_common.swift', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift', '-I.', '-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366']
[  3/230] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
10:09:17 runner '   '
[  4/230] Compiling etc/mpv-icon-8bit-16x16.png
10:09:17 runner '   '
[  5/230] Compiling etc/mpv-icon-8bit-32x32.png
10:09:17 runner '   '
[  6/230] Compiling etc/mpv-icon-8bit-64x64.png
10:09:17 runner '   '
[  7/230] Compiling etc/mpv-icon-8bit-128x128.png
10:09:17 runner '   '
[  8/230] Compiling etc/input.conf
10:09:17 runner '   '
[  9/230] Compiling etc/builtin.conf
10:09:17 runner '   '
[ 10/230] Compiling sub/osd_font.otf
10:09:17 runner '   '
[ 11/230] Compiling player/lua/defaults.lua
10:09:17 runner '   '
[ 12/230] Compiling player/lua/assdraw.lua
10:09:17 runner '   '
[ 13/230] Compiling player/lua/options.lua
10:09:17 runner '   '
[ 14/230] Compiling player/lua/osc.lua
10:09:17 runner '   '
[ 15/230] Compiling player/lua/ytdl_hook.lua
10:09:17 runner '   '
[ 16/230] Compiling player/lua/stats.lua
10:09:17 runner '   '
[ 17/230] Compiling player/lua/console.lua
10:09:17 runner '   '
[ 18/230] Compiling player/lua/auto_profiles.lua
10:09:17 runner '   '
[ 19/230] Compiling player/javascript/defaults.js
10:09:17 runner '   '
[ 20/230] Creating build/generated/ebml_types.h
10:09:17 runner '   '
[ 21/230] Creating build/generated/ebml_defs.c
10:09:17 runner '   '
[ 22/230] Compiling libmpv/mpv.def
[ 23/230] Compiling DOCS/man/mpv.rst
10:09:17 runner ' /opt/local/bin/rst2man-3.9.py --strip-elements-with-class=contents ../DOCS/man/mpv.rst DOCS/man/mpv.1 '
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:57:79: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
            mpv_render_param(type: MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, data: &pAddress),
                                                                              ^~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:57:79: note: implicit argument conversion from 'mpv_opengl_init_params' to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
            mpv_render_param(type: MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, data: &pAddress),
                                                                              ^~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:57:79: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
            mpv_render_param(type: MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, data: &pAddress),
                                                                              ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:58:77: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
            mpv_render_param(type: MPV_RENDER_PARAM_ADVANCED_CONTROL, data: &advanced),
                                                                            ^~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:58:77: note: implicit argument conversion from 'CInt' (aka 'Int32') to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
            mpv_render_param(type: MPV_RENDER_PARAM_ADVANCED_CONTROL, data: &advanced),
                                                                            ^~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:58:77: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
            mpv_render_param(type: MPV_RENDER_PARAM_ADVANCED_CONTROL, data: &advanced),
                                                                            ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:135:75: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_OPENGL_FBO, data: &data),
                                                                          ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:135:75: note: implicit argument conversion from 'mpv_opengl_fbo' to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_OPENGL_FBO, data: &data),
                                                                          ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:135:75: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                mpv_render_param(type: MPV_RENDER_PARAM_OPENGL_FBO, data: &data),
                                                                          ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:136:71: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_FLIP_Y, data: &flip),
                                                                      ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:136:71: note: implicit argument conversion from 'CInt' (aka 'Int32') to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_FLIP_Y, data: &flip),
                                                                      ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:136:71: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                mpv_render_param(type: MPV_RENDER_PARAM_FLIP_Y, data: &flip),
                                                                      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:137:70: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_DEPTH, data: &ditherDepth),
                                                                     ^~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:137:70: note: implicit argument conversion from 'GLint' (aka 'Int32') to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_DEPTH, data: &ditherDepth),
                                                                     ^~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:137:70: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                mpv_render_param(type: MPV_RENDER_PARAM_DEPTH, data: &ditherDepth),
                                                                     ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:138:79: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_SKIP_RENDERING, data: &skip),
                                                                              ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:138:79: note: implicit argument conversion from 'CInt' (aka 'Int32') to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
                mpv_render_param(type: MPV_RENDER_PARAM_SKIP_RENDERING, data: &skip),
                                                                              ^~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:138:79: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                mpv_render_param(type: MPV_RENDER_PARAM_SKIP_RENDERING, data: &skip),
                                                                              ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:147:20: warning: 'CGLFlushDrawable' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
        if !skip { CGLFlushDrawable(ctx) }
                   ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:164:85: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
            let params = mpv_render_param(type: MPV_RENDER_PARAM_ICC_PROFILE, data: &icc)
                                                                                    ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:164:85: note: implicit argument conversion from 'mpv_byte_array' to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
            let params = mpv_render_param(type: MPV_RENDER_PARAM_ICC_PROFILE, data: &icc)
                                                                                    ^~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:164:85: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
            let params = mpv_render_param(type: MPV_RENDER_PARAM_ICC_PROFILE, data: &icc)
                                                                                    ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:172:83: warning: inout expression creates a temporary pointer, but argument 'data' should be a pointer that outlives the call to 'init(type:data:)'
        let params = mpv_render_param(type: MPV_RENDER_PARAM_AMBIENT_LIGHT, data: &light)
                                                                                  ^~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:172:83: note: implicit argument conversion from 'Int' to 'UnsafeMutableRawPointer?' produces a pointer valid only for the duration of the call to 'init(type:data:)'
        let params = mpv_render_param(type: MPV_RENDER_PARAM_AMBIENT_LIGHT, data: &light)
                                                                                  ^~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift:172:83: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
        let params = mpv_render_param(type: MPV_RENDER_PARAM_AMBIENT_LIGHT, data: &light)
                                                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:89:48: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.fullscreen))
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:89:72: note: implicit argument conversion from 'Bool' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.fullscreen))
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:89:72: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.fullscreen))
                                                                       ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:94:48: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.window_minimized))
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:94:72: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.window_minimized))
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:94:72: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.window_minimized))
                                                                       ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:99:48: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.window_maximized))
                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:99:72: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.window_maximized))
                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift:99:72: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
        m_config_cache_write_opt(optsCachePtr, UnsafeMutableRawPointer(&optsPtr.pointee.window_maximized))
                                                                       ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:517:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.border) {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:517:51: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.border) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:517:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.border) {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:522:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.fullscreen) {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:522:51: note: implicit argument conversion from 'Bool' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.fullscreen) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:522:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.fullscreen) {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:527:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.ontop) ||
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:527:51: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.ontop) ||
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:527:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.ontop) ||
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:528:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                   opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.ontop_level) {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:528:51: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                   opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.ontop_level) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:528:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                   opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.ontop_level) {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:533:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.keepaspect_window) {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:533:51: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.keepaspect_window) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:533:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.keepaspect_window) {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:538:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.window_minimized) {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:538:51: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.window_minimized) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:538:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.window_minimized) {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:543:27: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.window_maximized) {
                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:543:51: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.window_maximized) {
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:543:51: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
                if opt == UnsafeMutableRawPointer(&mpv.optsPtr.pointee.window_maximized) {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:664:18: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_appearance):
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:664:42: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_appearance):
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:664:42: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_appearance):
                                         ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:666:18: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_material):
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:666:42: note: implicit argument conversion from 'Int32' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_material):
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:666:42: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_material):
                                         ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:668:18: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_color):
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:668:42: note: implicit argument conversion from 'm_color' to 'UnsafeMutableRawPointer' produces a pointer valid only for the duration of the call to 'init(_:)'
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_color):
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift:668:42: note: use 'withUnsafeMutableBytes' in order to explicitly convert argument to buffer pointer valid for a defined scope
            case UnsafeMutableRawPointer(&mpv.macOptsPtr.pointee.macos_title_bar_color):
                                         ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/view.swift:35:9: warning: 'wantsBestResolutionOpenGLSurface' was deprecated in macOS 10.14: Use NSOpenGLView instead.
        wantsBestResolutionOpenGLSurface = true
        ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:39:29: warning: 'light' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
            if material == .light || material == .dark {
                            ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:39:51: warning: 'dark' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
            if material == .light || material == .dark {
                                                  ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:42:36: warning: 'mediumLight' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
                      material == .mediumLight || material == .ultraDark
                                   ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:42:64: warning: 'ultraDark' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
                      material == .mediumLight || material == .ultraDark
                                                               ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:219:41: warning: 'dark' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
        case "14", "dark":      return .dark
                                        ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:220:41: warning: 'light' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
        case "15", "light":     return .light
                                        ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:230:49: warning: 'mediumLight' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
            case "16", "mediumLight":   return .mediumLight
                                                ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift:231:49: warning: 'ultraDark' was deprecated in macOS 10.14: Use a semantic material instead.  To force the appearance of a view hierarchy, set the `appearance` property to an appropriate NSAppearance value.
            case "17", "ultraDark":     return .ultraDark
                                                ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:70:16: warning: 'CAOpenGLLayer' was deprecated in macOS 10.14: OpenGL is deprecated
class GLLayer: CAOpenGLLayer {
               ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:117:9: warning: 'CGLSetParameter' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
        CGLSetParameter(cglContext, kCGLCPSwapInterval, &i)
        ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:190:13: warning: 'NSDisableScreenUpdates()' was deprecated in macOS 10.11: As of 10.11 it is not generally necessary to take explicit action to achieve visual atomicity. +[NSAnimationContext runAnimationGroup:] and other similar methods can be used when a stronger than normal need for visual atomicity is required. The NSAnimationContext methods do not suffer from the same performance problems as NSDisableScreenUpdates.
            NSDisableScreenUpdates()
            ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:197:13: warning: 'NSEnableScreenUpdates()' was deprecated in macOS 10.11: As of 10.11 it is not generally necessary to take explicit action to achieve visual atomicity. +[NSAnimationContext runAnimationGroup:] and other similar methods can be used when a stronger than normal need for visual atomicity is required. The NSAnimationContext methods do not suffer from the same performance problems as NSEnableScreenUpdates.
            NSEnableScreenUpdates()
            ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:283:23: warning: 'CGLChoosePixelFormat' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
                err = CGLChoosePixelFormat(format, &pix, &npix)
                      ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:299:36: warning: 'CGLErrorString' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
        let errS = String(cString: CGLErrorString(err))
                                   ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:312:21: warning: 'CGLCreateContext' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
        let error = CGLCreateContext(pixelFormat, nil, &context)
                    ^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift:315:40: warning: 'CGLErrorString' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)
            let errS = String(cString: CGLErrorString(error))
                                       ^
<unknown>:0: error: fatal error encountered while reading from module 'Foundation'; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -enable-objc-interop -emit-objc-header -parse-as-library -O -D HAVE_GPL -D HAVE_CPLAYER -D HAVE_BUILD_DATE -D HAVE_OPTIMIZE -D HAVE_LIBDL -D HAVE_CPLUGINS -D HAVE_ASM -D HAVE_LIBM -D HAVE_POSIX -D HAVE_POSIX_OR_MINGW -D HAVE_SWIFT -D HAVE_PTHREADS -D HAVE_STDATOMIC -D HAVE_ICONV -D HAVE_GLOB_POSIX -D HAVE_GLOB -D HAVE_OSX_THREAD_NAME -D HAVE_BSD_FSTATFS -D HAVE_52FBSD -D HAVE_LUA -D HAVE_LIBASS -D HAVE_ZLIB -D HAVE_LIBBLURAY -D HAVE_DVDNAV -D HAVE_CDDA -D HAVE_ZIMG -D HAVE_LCMS2 -D HAVE_LIBARCHIVE -D HAVE_FFMPEG -D HAVE_LIBAVDEVICE -D HAVE_COREAUDIO -D HAVE_COCOA -D HAVE_GL_COCOA -D HAVE_GL -D HAVE_VIDEOTOOLBOX_HWACCEL -D HAVE_VIDEOTOOLBOX_GL -D HAVE_MACOS_TOUCHBAR -D HAVE_MACOS_10_11_FEATURES -D HAVE_MACOS_10_12_2_FEATURES -D HAVE_MACOS_10_14_FEATURES -D HAVE_MACOS_MEDIA_PLAYER -D HAVE_MACOS_COCOA_CB -module-name macOS_swift -emit-module-path /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build/osdep/macOS_swift.swiftmodule -import-objc-header /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macOS_swift_bridge.h -emit-objc-header-path /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build/osdep/macOS_swift.h -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build/osdep/macOS_swift.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/log_helper.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/libmpv_helper.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/mpv_helper.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/swift_extensions.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/swift_compat.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/osdep/macos/remote_command_center.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/common.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/view.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/window.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/title_bar.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/cocoa_cb_common.swift /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/video/out/mac/gl_layer.swift -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366
1.	Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)
2.
3.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for macOS_swift.macOS_swift)
4.	While running pass #12803 SILModuleTransform "MandatorySILLinker".
5.	While deserializing SIL function "free"
6.	*** DESERIALIZATION FAILURE ***
module 'Foundation' with full misc version '5.5.1(5.5.1)/Apple Swift version 5.5.1 (swiftlang-1300.0.31.4 clang-1300.0.29.6)'
top-level value not found
Cross-reference to module 'Darwin'
... free
... with type (UnsafeMutableRawPointer) -> ()
Notes:
* 'free' in module 'SwiftShims' was filtered out.
* 'free' in module 'macOS_swift' was filtered out.
* 'free' in module 'IOKit' was filtered out.
* 'free' in module 'CoreFoundation' was filtered out.
* 'free' in module 'Darwin' was filtered out.
* 'free' in module 'SwiftOverlayShims' was filtered out.
* 'free' in module 'Dispatch' was filtered out.
* 'free' in module 'os_workgroup' was filtered out.
* 'free' in module 'os_object' was filtered out.
* 'free' in module 'ObjectiveC' was filtered out.
* 'free' in module 'MachO' was filtered out.
* 'free' in module 'libkern' was filtered out.
* 'free' in module 'Cocoa' was filtered out.
* 'free' in module 'CoreData' was filtered out.
* 'free' in module 'Foundation' was filtered out.
* 'free' in module 'CoreGraphics' was filtered out.
* 'free' in module 'ApplicationServices' was filtered out.
* 'free' in module 'ImageIO' was filtered out.
* 'free' in module 'CoreText' was filtered out.
* 'free' in module 'ColorSync' was filtered out.
* 'free' in module 'CoreServices' was filtered out.
* 'free' in module 'Security' was filtered out.
* 'free' in module 'XPC' was filtered out.
* 'free' in module 'launch' was filtered out.
* 'free' in module 'CFNetwork' was filtered out.
* 'free' in module 'DiskArbitration' was filtered out.
* 'free' in module 'CloudKit' was filtered out.
* 'free' in module 'CoreLocation' was filtered out.
* 'free' in module 'AppKit' was filtered out.
* 'free' in module 'QuartzCore' was filtered out.
* 'free' in module 'CoreVideo' was filtered out.
* 'free' in module 'Metal' was filtered out.
* 'free' in module 'IOSurface' was filtered out.
* 'free' in module 'OpenGL' was filtered out.
* 'free' in module 'CoreImage' was filtered out.
* 'free' in module 'MediaPlayer' was filtered out.
* 'free' in module 'AVFoundation' was filtered out.
* 'free' in module 'AVFAudio' was filtered out.
* 'free' in module 'AudioToolbox' was filtered out.
* 'free' in module 'CoreAudio' was filtered out.
* 'free' in module 'CoreAudioTypes' was filtered out.
* 'free' in module 'CoreMIDI' was filtered out.
* 'free' in module 'CoreMedia' was filtered out.
* 'free' in module 'simd' was filtered out.
* 'free' in module 'MediaToolbox' was filtered out.
* 'free' in module 'UniformTypeIdentifiers' was filtered out.


Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift                    0x0000000108d78534 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift                    0x0000000108d7763c llvm::sys::RunSignalHandlers() + 128
2  swift                    0x0000000108d78b74 SignalHandler(int) + 292
3  libsystem_platform.dylib 0x0000000188f46c44 _sigtramp + 56
4  libsystem_pthread.dylib  0x0000000188efb43c pthread_kill + 292
5  libsystem_c.dylib        0x0000000188e43454 abort + 124
6  swift                    0x0000000105024638 swift::ModuleFileSharedCore::outputDiagnosticInfo(llvm::raw_ostream&) const + 0
7  swift                    0x0000000104fc9d4c swift::ModuleFile::fatal(llvm::Error) const + 428
8  swift                    0x0000000104ffe8ec swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 8256
9  swift                    0x000000010500fbc0 swift::SILDeserializer::lookupSILFunction(swift::SILFunction*, bool) + 588
10 swift                    0x0000000104c5adb4 swift::SILLinkerVisitor::maybeAddFunctionToWorklist(swift::SILFunction*) + 240
11 swift                    0x0000000104c5afc8 swift::SILLinkerVisitor::processFunction(swift::SILFunction*) + 220
12 swift                    0x0000000105460660 (anonymous namespace)::SILLinker::run() + 212
13 swift                    0x0000000105361fe0 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 2260
14 swift                    0x0000000105378e98 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 56
15 swift                    0x00000001053689e4 llvm::Expected<swift::ExecuteSILPipelineRequest::OutputType> swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest>(swift::ExecuteSILPipelineRequest const&) + 476
16 swift                    0x000000010536a580 swift::runSILDiagnosticPasses(swift::SILModule&) + 176
17 swift                    0x0000000104c2e27c swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 72
18 swift                    0x0000000104b0e170 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 1008
19 swift                    0x0000000104b01b8c swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 7052
20 swift                    0x0000000104a5c2d4 main + 932
21 libdyld.dylib            0x0000000188f19430 start + 4

Waf: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/build'
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/./waf", line 168, in <module>
    Scripting.waf_entry_point(cwd, VERSION, wafdir)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py", line 119, in waf_entry_point
    run_commands()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py", line 182, in run_commands
    ctx=run_command(cmd_name)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py", line 173, in run_command
    ctx.execute()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Scripting.py", line 375, in execute
    return execute_method(self)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 93, in execute
    self.execute_build()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 100, in execute_build
    self.compile()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Tools/errcheck.py", line 140, in check_compile
    ret=self.orig_compile()
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 176, in compile
    raise Errors.BuildError(self.producer.error)
  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-player-mpv-4c9d366/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Errors.py", line 26, in __init__
    WafError.__init__(self,self.format_error())

Build failed
 -> task in 'osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule' failed with exit status -6:
	{task 4349822560: osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule log_helper.swift,libmpv_helper.swift,mpv_helper.swift,swift_extensions.swift,swift_compat.swift,remote_command_center.swift,common.swift,view.swift,window.swift,title_bar.swift,cocoa_cb_common.swift,gl_layer.swift -> macOS_swift.o,macOS_swift.h,macOS_swift.swiftmodule}
''
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work/mpv-0.33.1" && /opt/local/bin/python3.9 ./waf build -v --verbose
Exit code: 1
Error: Failed to build mpv: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port mpv failed

Attachments (1)

main.log (312.8 KB) - added by mvenkadesan (MV) 3 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by mvenkadesan (MV)

Attachment: main.log added

main.log

comment:1 Changed 3 years ago by fracai

Cc: fracai added

comment:2 Changed 3 years ago by mopihopi

Cc: mopihopi added

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #63694.

Note: See TracTickets for help on using tickets.