Opened 4 years ago
Closed 3 years ago
#61647 closed defect (fixed)
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)
Change History (18)
Changed 4 years ago by ShadSterling (Shad Sterling)
comment:1 Changed 4 years ago by i0ntempest
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Cc: | Ionic removed |
---|---|
Owner: | set to Ionic |
Status: | new → assigned |
comment:3 Changed 4 years ago by mopihopi
Cc: | mopihopi added |
---|
comment:4 Changed 4 years 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 4 years 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 4 years ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Should have been fixed in the last commit. Please reopen if it’s not.
comment:7 Changed 4 years ago by mopihopi
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I have the same configuration and am still seeing this issue.
macOS 10.14.6 18G6042 Xcode 11.3.1 11C504
comment:8 Changed 4 years ago by maf654321 (Manuel F.)
Cc: | maf654321 added |
---|
comment:9 Changed 4 years ago by quentinmit (Quentin Smith)
Cc: | quentinmit added |
---|
comment:11 Changed 4 years 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 years 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 years 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 3 years 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.
comment:15 Changed 3 years ago by quentinmit (Quentin Smith)
I experience this bug as well despite having the symlink mentioned above already in place. I was able to fix it by partially reverting [0f60885f6cac1b9e2b10415dc5ebb749172fc37e/macports-ports] and passing configure.env=MACOS_SDK_VERSION=10.14
to port install
.
comment:16 Changed 3 years ago by Ryan Schmidt <git@…>
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
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.