[MacPorts] #53566: mpv @0.22.0: You manually enabled the feature 'cocoa', but the autodetection check failed.
MacPorts
noreply at macports.org
Wed Feb 15 22:14:46 UTC 2017
#53566: mpv @0.22.0: You manually enabled the feature 'cocoa', but the
autodetection check failed.
----------------------+-------------------------
Reporter: mrkapqa | Owner: Ionic
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.0
Resolution: | Keywords: snowleopard
Port: mpv |
----------------------+-------------------------
Comment (by Ionic):
No, it looks like the Object Subscripting fails. I've added support for
this manually and made sure that `clang-3.4` supports it. I see you're
building on i386. Looks like Object Subscripting doesn't work on i386 at
all.
From
http://releases.llvm.org/3.4/tools/clang/docs/ObjectiveCLiterals.html:
> An Objective-C subscript expression occurs when the base operand of the
C subscript operator has an Objective-C object pointer type. Since this
potentially collides with pointer arithmetic on the value, these
expressions are only supported under the modern Objective-C runtime, which
categorically forbids such arithmetic.
This "modern Objective-C runtime" is only available on x86_64 - as a
compiler feature.
I'm afraid there isn't much I can do about that. I could probably patch
mpv's source code to not use Object Subscripting at all, but that's
probably a lot of work.
--
Ticket URL: <https://trac.macports.org/ticket/53566#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list