Opened 5 years ago

Closed 4 years ago

#58242 closed defect (fixed)

mpv @0.29.1_4: build fails with macOS 10.14.4 Xcode 10.2

Reported by: dbevans (David B. Evans) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: majoc-at-astro (majoc-at-astro), odi-so (Hyun Kang), Russell-Jones-OxPhys (Russell Jones), yan12125 (Chih-Hsuan Yen)
Port: mpv

Description (last modified by dbevans (David B. Evans))

Apparently mpv is using Swift 3 which is no longer supported in Xcode 10.2. Build log attached.

:info:build <unknown>:0: error: invalid value '3' in '-swift-version 3'
:info:build <unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5'

Built using

macOS 10.14.4 18E226
Xcode 10.2 10E125 

Attachments (1)

main.log (356.6 KB) - added by dbevans (David B. Evans) 5 years ago.
Build log showing failure

Download all attachments as: .zip

Change History (12)

Changed 5 years ago by dbevans (David B. Evans)

Attachment: main.log added

Build log showing failure

comment:1 Changed 5 years ago by dbevans (David B. Evans)

Owner: set to Ionic

comment:2 Changed 5 years ago by dbevans (David B. Evans)

Description: modified (diff)

comment:3 Changed 5 years ago by majoc-at-astro (majoc-at-astro)

Cc: majoc-at-astro added

comment:4 Changed 5 years ago by odi-so (Hyun Kang)

Cc: odi-so added

comment:5 Changed 5 years ago by dbevans (David B. Evans)

Upstream PR https://github.com/mpv-player/mpv/pull/6612 addresses this issue but maybe only for macOS 10.14.4. Could be the basis for a conditional patch to be applied when building with Xcode 10.2 or better.

This hasn't been merged upstream as yet and I haven't tested it myself but it may, at least, be a starting point.

comment:6 Changed 5 years ago by Russell-Jones-OxPhys (Russell Jones)

Cc: Russell-Jones-OxPhys added

comment:7 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

comment:8 Changed 5 years ago by mliker

Cc: mliker added

comment:9 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

mpv 0.30 is out and should have fixed build issues on Xcode 10.2 or newer.

https://github.com/mpv-player/mpv/releases/tag/v0.30.0

comment:10 Changed 5 years ago by mliker

Cc: mliker removed

comment:11 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

new version builds on 10.14

Note: See TracTickets for help on using tickets.