[MacPorts] #62112: mpv fails to build on MacBook Pro 2014 15" High Sierra
MacPorts
noreply at macports.org
Fri Jan 29 18:51:07 UTC 2021
#62112: mpv fails to build on MacBook Pro 2014 15" High Sierra
-------------------------+--------------------
Reporter: KomiaPoika | Owner: Ionic
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: fixed | Keywords:
Port: mpv |
-------------------------+--------------------
Comment (by JDLH):
For the sake of others searching tickets for the same error message, the
interesting part of the main.log appears to be:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
/mpv-player-mpv-d5ae9f7/osdep/macos/swift_compat.swift:29:38: error:
cannot convert value of type 'CALayerContentsFormat' to specified type
'String'
:info:build static let RGBA16Float: String =
kCAContentsFormatRGBA16Float
:info:build
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
.rawValue
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
/mpv-player-mpv-d5ae9f7/osdep/macos/swift_compat.swift:30:36: error:
cannot convert value of type 'CALayerContentsFormat' to specified type
'String'
:info:build static let RGBA8Uint: String = kCAContentsFormatRGBA8Uint
:info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
.rawValue
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mpv/mpv/work
/mpv-player-mpv-d5ae9f7/osdep/macos/swift_compat.swift:31:36: error:
cannot convert value of type 'CALayerContentsFormat' to specified type
'String'
:info:build static let gray8Uint: String = kCAContentsFormatGray8Uint
:info:build ^~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build
.rawValue
}}}
followed by
{{{
:info:build Build failed
:info:build -> task in
'osdep/macOS_swift.o,osdep/macOS_swift.h,osdep/macOS_swift.swiftmodule'
failed with exit status 1:
:info:build {task 4426204096:
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}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62112#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list