=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpv", "all", "PYTHON_VERSION_REQD=314", "LUA_VERSION_REQD=52", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mpv-0.42.0nb1 ninja: Entering directory `output' [1/269] Generating ebml_defs.inc with a custom command [2/269] Generating ebml_types.h with a custom command [3/269] Generating etc/mpv-icon-8bit-16x16.png with a custom command [4/269] Generating etc/mpv-icon-8bit-32x32.png with a custom command [5/269] Generating etc/mpv-icon-8bit-64x64.png with a custom command [6/269] Generating etc/mpv-icon-8bit-128x128.png with a custom command [7/269] Generating etc/input.conf with a custom command [8/269] Generating etc/builtin.conf with a custom command [9/269] Generating etc/menu.conf with a custom command [10/269] Generating player/javascript/defaults.js with a custom command [11/269] Generating player/lua/defaults.lua with a custom command [12/269] Generating player/lua/assdraw.lua with a custom command [13/269] Generating player/lua/options.lua with a custom command [14/269] Generating player/lua/osc.lua with a custom command [15/269] Generating player/lua/ytdl_hook.lua with a custom command [16/269] Generating player/lua/stats.lua with a custom command [17/269] Generating common/version.h with a custom command (wrapped by meson because command contains newlines) [18/269] Generating player/lua/console.lua with a custom command [19/269] Generating player/lua/auto_profiles.lua with a custom command [20/269] Generating player/lua/input.lua with a custom command [21/269] Generating player/lua/fzy.lua with a custom command [22/269] Generating player/lua/positioning.lua with a custom command [23/269] Generating player/lua/select.lua with a custom command [24/269] Generating player/lua/commands.lua with a custom command [25/269] Generating player/lua/context_menu.lua with a custom command [26/269] Generating sub/osd_font.otf with a custom command [27/269] Compiling C object mpv.p/osdep_main-fn-mac.c.o [28/269] Generating TOOLS/osxbundle/osxbundle with a custom command [29/269] Generating manpages with a custom command [30/269] Generating osdep/mac/swift_targets with a custom command FAILED: [code=1] osdep/mac/swift.swiftmodule osdep/mac/swift.h osdep/mac/swift.o /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -c -emit-library -static -sdk /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -emit-objc-header -parse-as-library -swift-version 5 -O -D HAVE_FFMPEG -D HAVE_GPL -D HAVE_LIBASS -D HAVE_LIBPLACEBO -D HAVE_DARWIN -D HAVE_POSIX -D HAVE_BUILD_DATE -D HAVE_LIBDL -D HAVE_CPLUGINS -D HAVE_COCOA -D HAVE_GLOB_POSIX -D HAVE_GLOB -D HAVE_MAC_THREAD_NAME -D HAVE_BSD_FSTATFS -D HAVE_VECTOR -D HAVE_DVDA -D HAVE_DVDNAV -D HAVE_ICONV -D HAVE_JAVASCRIPT -D HAVE_LCMS2 -D HAVE_LIBARCHIVE -D HAVE_LIBAVDEVICE -D HAVE_LIBBLURAY -D HAVE_LUA -D HAVE_SDL2_GAMEPAD -D HAVE_X11_CLIPBOARD -D HAVE_ZLIB -D HAVE_AVFOUNDATION -D HAVE_COREAUDIO -D HAVE_JACK -D HAVE_SDL2_AUDIO -D HAVE_JPEG -D HAVE_SDL2_VIDEO -D HAVE_SIXEL -D HAVE_POSIX_SHM -D HAVE_GL -D HAVE_GL_COCOA -D HAVE_VIDEOTOOLBOX_GL -D HAVE_SWIFT -D HAVE_MACOS_10_15_4_FEATURES -D HAVE_MACOS_11_FEATURES -D HAVE_MACOS_11_3_FEATURES -D HAVE_MACOS_12_FEATURES -D HAVE_MACOS_COCOA_CB -D HAVE_MACOS_MEDIA_PLAYER -D HAVE_MACOS_TOUCHBAR -module-name swift -emit-module-path osdep/mac/swift.swiftmodule -import-objc-header /var/tmp/work/multimedia/mpv/work/mpv-0.42.0/osdep/mac/app_bridge_objc.h -emit-objc-header-path osdep/mac/swift.h -o osdep/mac/swift.o ../osdep/mac/application.swift ../osdep/mac/app_hub.swift ../osdep/mac/clipboard.swift ../osdep/mac/dialog.swift ../osdep/mac/event_helper.swift ../osdep/mac/input_helper.swift ../osdep/mac/log_helper.swift ../osdep/mac/menu_bar.swift ../osdep/mac/option_helper.swift ../osdep/mac/precise_timer.swift ../osdep/mac/presentation.swift ../osdep/mac/swift_compat.swift ../osdep/mac/swift_extensions.swift ../osdep/mac/type_helper.swift ../video/out/mac/common.swift ../video/out/mac/title_bar.swift ../video/out/mac/view.swift ../video/out/mac/window.swift ../osdep/mac/libmpv_helper.swift ../video/out/cocoa_cb_common.swift ../video/out/mac/gl_layer.swift ../osdep/mac/remote_command_center.swift ../osdep/mac/touch_bar.swift -I. -I/var/tmp/work/multimedia/mpv/work/mpv-0.42.0 -I/var/tmp/work/multimedia/mpv/work/mpv-0.42.0/include -I/opt/pkg/include -I/opt/pkg/include/ffmpeg8 ../video/out/mac/gl_layer.swift:70:16: warning: 'CAOpenGLLayer' was deprecated in macOS 10.14: OpenGL is deprecated 68 | ] 69 | 70 | class GLLayer: CAOpenGLLayer { | `- warning: 'CAOpenGLLayer' was deprecated in macOS 10.14: OpenGL is deprecated 71 | unowned var cocoaCB: CocoaCB 72 | var libmpv: LibmpvHelper { return cocoaCB.libmpv } ../video/out/mac/gl_layer.swift:115:9: warning: 'CGLSetParameter' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 113 | 114 | var i: GLint = 1 115 | CGLSetParameter(cglContext, kCGLCPSwapInterval, &i) | `- warning: 'CGLSetParameter' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 116 | CGLSetCurrentContext(cglContext) 117 | ../video/out/mac/gl_layer.swift:176:9: warning: 'glGetIntegerv' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 174 | func updateSurfaceSize() { 175 | var dims: [GLint] = [0, 0, 0, 0] 176 | glGetIntegerv(GLenum(GL_VIEWPORT), &dims) | `- warning: 'glGetIntegerv' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 177 | surfaceSize = NSSize(width: CGFloat(dims[2]), height: CGFloat(dims[3])) 178 | ../video/out/mac/gl_layer.swift:188: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. 186 | func atomicDrawingStart() { 187 | if draw == .normal { 188 | NSDisableScreenUpdates() | `- 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. 189 | draw = .atomic 190 | } ../video/out/mac/gl_layer.swift:195: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. 193 | func atomicDrawingEnd() { 194 | if draw.rawValue >= Draw.atomic.rawValue { 195 | NSEnableScreenUpdates() | `- 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. 196 | draw = .normal 197 | } ../video/out/mac/gl_layer.swift:291:23: warning: 'CGLChoosePixelFormat' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 289 | for index in stride(from: glFormat.count-1, through: 0, by: -1) { 290 | let format = glFormat.flatMap { $0 } + [_CGLPixelFormatAttribute(rawValue: 0)] 291 | err = CGLChoosePixelFormat(format, &pix, &npix) | `- warning: 'CGLChoosePixelFormat' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 292 | 293 | if err == kCGLBadAttribute || err == kCGLBadPixelFormat || pix == nil { ../video/out/mac/gl_layer.swift:307:36: warning: 'CGLErrorString' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 305 | } 306 | 307 | let errS = String(cString: CGLErrorString(err)) | `- warning: 'CGLErrorString' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 308 | ccb.log.warning("Couldn't create a " + 309 | "\(software ? "software" : "hardware accelerated") " + ../video/out/mac/gl_layer.swift:320:21: warning: 'CGLCreateContext' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 318 | class func createContext(_ ccb: CocoaCB, _ pixelFormat: CGLPixelFormatObj) -> CGLContextObj { 319 | var context: CGLContextObj? 320 | let error = CGLCreateContext(pixelFormat, nil, &context) | `- warning: 'CGLCreateContext' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 321 | 322 | guard let cglContext = context, error == kCGLNoError else { ../video/out/mac/gl_layer.swift:323:40: warning: 'CGLErrorString' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 321 | 322 | guard let cglContext = context, error == kCGLNoError else { 323 | let errS = String(cString: CGLErrorString(error)) | `- warning: 'CGLErrorString' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 324 | ccb.log.error("Couldn't create a CGLContext: " + errS) 325 | exit(1) ../osdep/mac/libmpv_helper.swift:109:13: warning: 'glGetIntegerv' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 107 | let skip: CInt = skip ? 1 : 0 108 | let ditherDepth = depth 109 | glGetIntegerv(GLenum(GL_DRAW_FRAMEBUFFER_BINDING), &i) | `- warning: 'glGetIntegerv' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 110 | // CAOpenGLLayer has ownership of FBO zero yet can return it to us, 111 | // so only utilize a newly received FBO ID if it is nonzero. ../osdep/mac/libmpv_helper.swift:130:13: warning: 'glClearColor' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 128 | } 129 | } else { 130 | glClearColor(0, 0, 0, 1) | `- warning: 'glClearColor' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 131 | glClear(GLbitfield(GL_COLOR_BUFFER_BIT)) 132 | } ../osdep/mac/libmpv_helper.swift:131:13: warning: 'glClear' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 129 | } else { 130 | glClearColor(0, 0, 0, 1) 131 | glClear(GLbitfield(GL_COLOR_BUFFER_BIT)) | `- warning: 'glClear' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 132 | } 133 | ../osdep/mac/libmpv_helper.swift:134:20: warning: 'CGLFlushDrawable' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 132 | } 133 | 134 | if !skip { CGLFlushDrawable(ctx) } | `- warning: 'CGLFlushDrawable' was deprecated in macOS 10.14: OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) 135 | 136 | uninitLock.unlock() ../video/out/mac/view.swift:32:39: error: cannot find type 'MetalLayer' in scope 30 | 31 | override var isOpaque: Bool { 32 | if let metalLayer = layer as? MetalLayer { | `- error: cannot find type 'MetalLayer' in scope 33 | return !metalLayer.isOpaque 34 | } ../video/out/mac/view.swift:43:9: warning: 'wantsBestResolutionOpenGLSurface' was deprecated in macOS 10.14: Use NSOpenGLView instead. 41 | super.init(frame: frame) 42 | autoresizingMask = [.width, .height] 43 | wantsBestResolutionOpenGLSurface = true | `- warning: 'wantsBestResolutionOpenGLSurface' was deprecated in macOS 10.14: Use NSOpenGLView instead. 44 | wantsExtendedDynamicRangeOpenGLSurface = true 45 | registerForDraggedTypes([ .fileURL, .URL, .string ]) ../video/out/mac/view.swift:44:9: warning: 'wantsExtendedDynamicRangeOpenGLSurface' was deprecated in macOS 10.14: Use NSOpenGLView instead. 42 | autoresizingMask = [.width, .height] 43 | wantsBestResolutionOpenGLSurface = true 44 | wantsExtendedDynamicRangeOpenGLSurface = true | `- warning: 'wantsExtendedDynamicRangeOpenGLSurface' was deprecated in macOS 10.14: Use NSOpenGLView instead. 45 | registerForDraggedTypes([ .fileURL, .URL, .string ]) 46 | } ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpv *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpv