Opened 10 months ago

Last modified 2 weeks ago

#61647 reopened defect

mpv build fails on Mojave

Reported by: ShadSterling (Shad Sterling) Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: i0ntempest, mopihopi, maf654321 (Manuel F.), quentinmit (Quentin Smith)
Port: mpv

Description

mpv @0.33.0 on macOS 10.14.6 (18G6042) with Xcode 11.3.1 (11C504)

:info:build <unknown>:0: error: unable to load standard library for target 'x86_64-apple-macosx10.14'

Attachments (2)

main.log (47.1 KB) - added by ShadSterling (Shad Sterling) 10 months ago.
mpv-0.33.0_0-main.log (48.2 KB) - added by mopihopi 9 months ago.
December 7 build failure

Download all attachments as: .zip

Change History (16)

Changed 10 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added

comment:1 Changed 10 months ago by i0ntempest

Looks like another bizarre swift problem. Can you please try building with Xcode 10.3? Make sure Xcode is installed at /Applications/Xcode.app just in case.

comment:2 Changed 10 months ago by mf2k (Frank Schima)

Cc: Ionic removed
Owner: set to Ionic
Status: newassigned

comment:3 Changed 10 months ago by mopihopi

Cc: mopihopi added

comment:4 Changed 10 months ago by mimeiners (Mirco Meiners)

Same problems during upgrade on macOS 10.14.6 with Xcode 11.2.1. Upgrade with Xcode 10.3 worked for me.

comment:5 Changed 10 months ago by ShadSterling (Shad Sterling)

I tried, but apparently deleting Xcode 11.3 didn't free up enough space to download and install Xcode 10.3. I'll try again if it's still a problem when I have more space.

comment:6 Changed 9 months ago by i0ntempest

Resolution: fixed
Status: assignedclosed

Should have been fixed in the last commit. Please reopen if it’s not.

Changed 9 months ago by mopihopi

Attachment: mpv-0.33.0_0-main.log added

December 7 build failure

comment:7 Changed 9 months ago by mopihopi

Resolution: fixed
Status: closedreopened

I have the same configuration and am still seeing this issue.

macOS 10.14.6 18G6042 Xcode 11.3.1 11C504

comment:8 Changed 7 months ago by maf654321 (Manuel F.)

Cc: maf654321 added

comment:9 Changed 7 months ago by quentinmit (Quentin Smith)

Cc: quentinmit added

comment:10 Changed 4 months ago by ra1nb0w

Same issue here with XCode 11.3.1

comment:11 Changed 4 months ago by ra1nb0w

cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
sudo ln -s MacOSX.sdk MacOSX10.14.sdk

fix the problem but it is a hack.

comment:12 Changed 4 months ago by i0ntempest

I might be wrong but I believe there’s no other way other than using old Xcode or using the hack above since you’re missing SDK of your system, building using a higher version SDK on old systems might introduce more problems.

comment:13 Changed 4 months ago by friguron (friguron)

I have been stuck on mpv 0.3.2 for months... My Mojave 10.14.6 and Xcode 11.1 (living under /Applications/Xcode_11_1.app directory) are uncapable of building mpv 0.3.3 I've used the symbolic link trick but no luck. Any other hint which doesn't involve installing Xcode 10.3 ?

comment:14 Changed 2 weeks ago by nocturne-mit

Same issue here with XCode 11.3.1 with Mojave 10.14.6.

ra1nb0w's symlink trick worked for me, but as mentioned, is a hack.

Note: See TracTickets for help on using tickets.